[MEncoder-users] mencoder ignoring bitrate?

Guillaume POIRIER poirierg at gmail.com
Mon Apr 10 23:19:14 CEST 2006


On 4/10/06, jason wieland <astoneded at gmail.com> wrote:
> Hello Group,
>
> I'm using cvs HEAD (current 4/10/2006) of mplayer/mencoder and ffmpeg.  I
> must be doing something incorrectly.  I'm trying to encode a raw avi file
> into a flv at about 500kbits/s
>
> I'm using this command:
> mencoder -quiet -ovc lavc -lavcopts vbitrate=500 -oac mp3lame -lameopts
> abr:br=80 -srate 22050 -of lavf -lavfopts
> i_certify_that_my_video_stream_does_not_use_b_frames -o ./small_wmv.flv
> ./temp/small_raw.avi
>
> However mencoder does not seem to respect the vbitrate=500.
> mencoder output reports:
> Video stream:  293.274 kbit/s  (36659 B/s)  size: 957650 bytes  26.123 secs
> 26332 frames
>
>
> Changing the vbitrate to something else, vbitrate=800 it does not change the
> output video bitrate at all.
> Video stream:  293.537 kbit/s  (36692 B/s)  size: 959060 bytes  26.138 secs
> 26332 frames

Looks like your source just compresses too well. Lavc doesn't add some
padding to meet the bitrate if it doesn't reach the target bitrate,
which seems cool with me.

Guillaume
--
I am disillusioned enough to know that no man's opinion on any subject
is worth a damn unless backed up with enough genuine information to
make him really know what he's talking about.

-- H. P. Lovecraft (about the flamewars on FFmpeg and MPlayer-dev mailing lists)
http://www.brainyquote.com/quotes/quotes/h/hplovecr278144.html




More information about the MEncoder-users mailing list