

It even gets ignored (!) by ffmpeg if no bitrate or "-b:v 0" is set. But if I add "-tier high" nothing changes for the settings above with 4K60 content. HEVC in general does not have a high profile. Set profile = high and see if it makes a difference. Setting an arbitrary bitrate of 100Mbit/s (resulting bitrate for 4K60 of100.000Mbit/s)įfmpeg -i -c:v hevc_nvenc -rc vbr_hq -cq 1 -b:v 100M This is what Handbrake does (resulting bitrate for 4K60 = 30.000Mbit/s):įfmpeg -i -c:v hevc_nvenc -rc vbr_hq -cq 1 -b:v 0 Using saner cq values results in lower bitrates.įfmpeg's default (resulting bitrate for 4K60 = 2Mbit/s):įfmpeg -i -c:v hevc_nvenc -rc vbr_hq -cq 1 I used -cq 1 to get an idea where the bitrate limit is.
#HANDBRAKE NVENC FFMPEG OPTIONS CODE#
Changing maxrate did not work for me.īefore implementing a workaround someone should take a look at ffmpeg's source code or ask someone over there why the following command lines result in totally different bitrates in a constant quality bitrate mode which should not require setting a bitrate at all. 100Mbit/s will allow NVEnc's cq to use even higher bitrates as would be approriate for a cq of 1 or 10. Setting the bitrate to zero as Handbrake does seemed to work fine regarding unlocking the bitrate but scav666 is right: Setting the bitrate to e.g. In any case 2000kbit/s is the bitrate limit.

If the user or in this case Handbrake does not define another bitrate it seems as if cq is ignored altogether.
#HANDBRAKE NVENC FFMPEG OPTIONS 1080P#
As I wrote in #2392 ffmpeg's default encoding bitrate when using NVEnc is around 2000kbit/s independently of the source (tried with 1080p and 4k).
