[MEncoder-users] Can you slow down mencoder?

Oded Shimon ods15 at ods15.dyndns.org
Fri Aug 19 08:11:01 CEST 2005


On Thu, Aug 18, 2005 at 03:43:40PM +0100, Jonathan Lundberg wrote:
> Hi guys,
> 
> Only looking at this situation again now after a few months hiatus..
> 
> Running the following script:
> 
> =================================
> #!/bin/sh
> 
> cd /root/grabs
> 
> DATE=`date`
> /bin/echo $DATE >> test.log
> 
> /bin/echo "Starting Capture" >> test.log
> 
> /usr/local/bin/mencoder  -noodml -tv  driver=v4l:width=352:height=288  
> tv://  -o input  -ovc raw -oac pcm  &
> 
> /usr/bin/tee output1 < input | /usr/local/bin/mencoder -  -of avi 
> -noodml -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1000 -oac lavc -o 
> good.avi &
> 
> /usr/local/bin/mencoder output1 -of avi -noodml -ovc lavc -lavcopts 
> vcodec=mpeg4:vbitrate=250 -oac lavc -o bad.avi  &
> 
> sleep 5
> # Run Mplayer to monitor output
> mplayer bad.avi -nosound &
> mplayer good.avi -nosound &

I'm not sure, but try removing the '-noodml' from the 2 "encoders".. leave 
it for the "capturer" though.

- ods15




More information about the MEncoder-users mailing list