[FFmpeg-user] 2 pass CBR or VBR not really fixing the bitrate?

Andy Furniss adf.lists at gmail.com
Mon Jul 31 23:19:05 EEST 2017

Manuel Tiglio wrote:

> ffmpeg -i input.mp4 -c:v libx264 -x264-params "nal-hrd=cbr" -b:v 1M -minrate 1M -maxrate 1M -bufsize 2M output.ts
> But I will give it a shot.

Also see x264 --fullhelp WRT nal-hrd=cbr, it may not be what you need, 
no mp4 and possible "filling".

  x264 --fullhelp | grep nal-hrd -A 3
       --nal-hrd <string>      Signal HRD information (requires vbv-bufsize)
                                   - none, vbr, cbr (cbr not allowed in 
       --filler                Force hard-CBR and generate filler 
(implied by
                               --nal-hrd cbr)

More information about the ffmpeg-user mailing list