[MPlayer-users] Re: libavcodec problems

Rémi Guyomarch rguyom at pobox.com
Mon Jun 17 03:20:02 CEST 2002


On Mon, Jun 17, 2002 at 02:28:08AM +0200, gabor farkas wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> > mencoder -nosound -o /dev/null -ovc lavc -lavcopts
> > vcodec=mpeg4:vbitrate=2400:vhq::vqmin=1:vqmax=31:vpass=1 -vop pp -npp lb
> > neverwinter.avi
> > mencoder -oac copy -o out.avi -ovc lavc -lavcopts
> > vcodec=mpeg4:vbitrate=2400:vhq::vqmin=1:vqmax=31:vpass=2 -vop pp -npp lb
> > neverwinter.avi
> 
> thanks, it's much better now...
> 
> Video stream: 2173.394 kbit/s  (271674 bps)  size: 69337457 bytes
> 255.223 secs  7649 frames
> 
> Audio stream:  128.000 kbit/s  (16000 bps)  size: 4091904 bytes  255.744
> secs
> 
> i still don't really understand why was -nosound used and not -oac copy,
> could you explain it?

The first pass just collect some statistics about your video
source. Sound doesn't matter much there. In fact you can see that the
whole output is send to /dev/null. The codec write these statistics in
a file named "lavc_stats.txt" and use them in the second pass.

> and btw. this is the max you can get? because it's far from the 1Mb
> tolerance.... i mean this is some kind of implementation limit?

Your input source isn't complex enough.

-- 
Rémi




More information about the MPlayer-users mailing list