I am trying to transcode a video to H.264/MP4. I am using the crf = 20 option but according to the requirements I also want to limit the maximum bitrate to 3 MBit/s.
I was trying to cheat though it by using x264opts like this
-x264opts crf=20:vbv-bufsize=14000:vbv-maxrate=3000:keyint=40
is that the right way to do this? Can this be done or I am stuck with using a contant bitrate and no CRF?