[FFmpeg-user] Encoding to mpeg2video results in buffer underflows

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Dec 30 20:23:47 CET 2012


Jonathan Isom <jeisom <at> gmail.com> writes:

> ffmpeg -i mpeg2video_underrun.mp4 -b:v 8000000 -qmin 1 -qmax 5 
> -c:v mpeg2video -c:a ac3 -f mpeg mpeg2video_underrun.mpg

This command line shows the following warning:
VBV buffer size not set, muxing may fail

Adding "-bufsize 500000000 -maxrate 50000000" makes 
the underflow warning go away.
To remove the "clipping" warnings, add -mbd 2

Carl Eugen



More information about the ffmpeg-user mailing list