[FFmpeg-user] ffmpeg code Problem

Moritz Barsnick barsnick at gmx.net
Sun Aug 11 20:22:36 CEST 2013


On Sat, Aug 10, 2013 at 14:30:03 +0530, Harneet Virk wrote:
> ffmpeg -i Mashallah_cropped.mp4 -vcodec mpeg2video -pix_fmt yuv420p -r 24
> -b:v 15000k -s 640x274 -ar 48000 -ac 2 -b:a 320k Ek_Tha_Tiger2.mpeg

>  Problem is video bit rate in ffmpeg code we r putting 15000k but in final
> output result we r getting only 6565k

Lucky you, you're saving a lot of bandwidth! ;-)

The input video does not provide enough information to justify 15000k
output. You need to set "-minrate" to the same. I believe (correct me
if I'm wrong) the output will be "padded" to the requested rate without
any gain in quality.

The ffmpeg docs say this:
       ·   To force CBR video output:
                   ffmpeg -i myfile.avi -b 4000k -minrate 4000k -maxrate 4000k -bufsize 1835k out.m2v

Moritz


More information about the ffmpeg-user mailing list