[MPlayer-users] CBR Problem with x264opts

Ankit Jain ankit_jain at ureach.com
Thu Jun 5 10:03:39 CEST 2008


Hi,
I am trying to use mencoder to get a constant bitrate h264
stream of 1.6mbps.
I'm using following command.

mencoder.exe -noaspect -oac lavc -srate 44100 -af
lavcresample=44100 -lavcopts acodec=mp2:abitrate=192 -af
volume=15:0 -ovc x264 -x264encopts
log=3:partitions=all:bitrate=1600:vbv_maxrate=1800:vbv_bufsize=1800:scenecut=60:keyint=30:bframes=2:subq=7:nofast_pskip:frameref=5
-o output.avi input.vob

When i run this output.avi using vlc player, i can see the
stream bitrate shoots up to 4 mbps as well as goes down to 800
kbps.
So it seems mencoder is giving me 1.6 mbps average bitrate.

How can i get a constant bitrate of 1.6 mbps(CBR) calculated
over few seconds.

regards,
Ankit

________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag



More information about the MPlayer-users mailing list