[MPlayer-users] Libavcodec bitrate error

Peter Schuller peter.schuller at infidyne.com
Sat Jun 1 18:01:01 CEST 2002


> mencoder -ovc avc -lavcopts
> vcodec=mpeg4:vbitrate=1300:vhq:vqmin=3:vqmax=12:\
> vmax_b_frames=0:keyint=250:vqdiff=3
> -sws 2 -sid 0 -vop scale=640:512 -pp 0x20000 
> -oac mp3lame -lameopts abr:br=160:q=2 -o frameno.avi 
> -dvd 1
> 
> But the final video bitrate is only around 650! I've also tried with 1600
> which resultet in a bitrate of 900. What am I doing wrong?

AFAIK you'll only get accurate bitrates if you encode in 2-pass mode.
Add vpass=1 to the lavc options; and then re-encode with the exact same
parameters except vpass=2.

-- 
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0xE9758B7D or 'Peter Schuller <peter.schuller at infidyne.com>'
Key retrival: Send an E-Mail to getpgpkey at scode.org
E-Mail: peter.schuller at infidyne.com Web: http://www.scode.org





More information about the MPlayer-users mailing list