[MPlayer-users] Bitrate confusion

Meino Christian Cramer Meino.Cramer at gmx.de
Fri Jul 16 15:25:47 CEST 2004


Hi,

 possible a typical newbie question....

 I want to encode a greyscaled video.
 Audio extraction said I "should" use -- for example -- 1616 as vbitrate for a target
 size of 700MB.

 I used 1591 and got a 722572402 fat file.

 I fear, I missed an important option to feed into mencoder...here are
 the options I used:

   export OPTS="-vf denoise3d=0:0:0:hqdn3d=0:0:0:crop=700:576:12:0 \
                 -mc 0 -noskip -skiplimit 0"
   export LAVOPTS=psnr:mbd=2:gray:vcodec=mpeg4:vpass=#PASS#:vbitrate=1591:autoaspect:trell:vmax_b_frames=1:predia=2:dia=2:preme=2:vme=5:naq:v4mv
   export PASS1LAVOPTS=`echo $LAVOPTS | sed 's|#PASS#|1|'`
   export PASS2LAVOPTS=`echo $LAVOPTS | sed 's|#PASS#|2|'`
   (( cat <videofile> | \
   mencoder $OPTS -oac copy \
   -ovc lavc \
   -lavcopts ${PASS1LAVOPTS} - ) >> PASS1.log 2>&1)
   kill $PASS1TAILID

 (the equivalent for PASS2...)

 What am I making wrong here ?

 Thank you very much for any help in advance!  :)
 Meino




More information about the MPlayer-users mailing list