First of all a shout out to Will_Tschumy for the work on the H265 NVENC constant quality encoder profile.
I have been toying around with some profiles and wanted to recreate a H264 native ffmpeg encoder profile for the types of shows/events where I want faster trans-coding than the H265 one can offer or if I want to prepare files for devices not yet equipped with a H265 decoder.
It was super easy once I had slept a little and focused, this is a straight copy of the original H265 profile reworked with the syntax for H264 instead, quality set to 27 in my default setup, but can easily be changed to whatever others might prefer depending on what it is needed for. (Was reminded that the quality setting for H264 is different than for H265)
I have done nothing with the fallback to Handbrake for now, as you can see it would fall back to the basic X265 encoder originally set by Will_Tschumy for the original profile.
Next up I will be working on making similar profiles with constant bitrates for other purposes.
[MKV H264 NVENC Constant Quality] Description=nVidia H264 NVENC Constant quality, varible bitrate order=ffmpeg, handbrake AllowH264CopyRemuxing=true FixedResolution=true AutoDeinterlace=true ffmpeg-UsingHardwareEncoding=True ffmpeg-general=-threads 0 -hwaccel auto ffmpeg-video=-ss 9 -c:v h264_nvenc -cq 27 -rc vbr -map 0:v ffmpeg-audio=-acodec libfdk_aac -ab 128k -map 0:a ffmpeg-audioac3=-acodec libfdk_aac -ab 320k -map 0:a ffmpeg-ext=.mkv ffmpeg-audiodelay=skip handbrake-UsingHardwareEncoding=true handbrake-general=--decomb --denoise="weak" --loose-anamorphic --verbose=2 -T -O handbrake-video=--start-at duration:3 -e x265 -q 18 handbrake-audio=-E ffac3 -R auto -B 192 -D 0 -a 1,2,3,4,5 handbrake-audioac3=-E ffac3 -R auto -B 384 -D 0 -a 1,2,3,4,5 handbrake-ext=.mkv handbrake-audiodelay=skip PreConversionCommercialRemover=true