[MPlayer-dev-eng] [PATCH] v4l capture RC1(?)

Jindrich Makovicka makovick at KMLinux.fjfi.cvut.cz
Sun Aug 11 18:55:59 CEST 2002


On Sat, Aug 10, 2002 at 11:14:00AM +0200, Jindrich Makovicka wrote:
> On Fri, Aug 09, 2002 at 09:34:10PM +0200, Gábor Lénárt wrote:
> > mencoder -tv on:driver=v4l:width=384:height=288:outfmt=rgb24:norm=PAL \
> > -oac mp3lame -ovc lavc -lavcopts vcodec=mpeg4 -o /tmp/tv.avi
> 
> 1) Do NOT use rgb colorspace, it's a waste of cpu cycles. Everything finally
> converts to yv12.
> 2) It is necessary to specify an audio codec explicitly.
> > I played /tmp/tv.avi:
> > 
> > AVI_NI: No Audio stream found...  ->nosound
> > AVI: No Audio stream found...  ->nosound
> > 
> > And mencoder dumps a tons of messages till encoding:
> > 
> > Invalid frame duration value (  nan/  nan =>   nan). Defaulting to 0.040 sec.
> > (and sometimes very strange fast-motion effects ;-)
> 
> I'll have a look.. I guess that mencoder doesn't read any audio in this case
> but the audio capture thread runs, which makes the a/v sync go completely
> nuts...
> 

no.. sorry, I missed that you specified the audio options. I tried the line
you mentioned and everything works fine. could you send me a result of

mencoder -v ... > result.txt 2>&1 

to my private mail ? (just first few seconds)

-- 
Jindrich Makovicka



More information about the MPlayer-dev-eng mailing list