[MPlayer-dev-eng] [PATCH] v4l capture RC1(?)
Gábor Lénárt
lgb at lgb.hu
Fri Aug 9 21:34:10 CEST 2002
On Fri, Aug 09, 2002 at 07:03:02PM +0200, Arpi wrote:
> > - a/v timebase synchronization (sample count vs. gettimeofday)
> > - "immediate" mode support for mplayer
> > - fixed colorspace stuff - RGB?? and YUY2 modes now work as expected
> > - native ALSA audio capture (optional - just #define ALSA_CAPTURE)
>
> sounds cool :)
>
> could others - with v4l card, i don't have any - test it with various
> configuration/hardware and report results?
>
> you should post it to -users list too, for a big test-base.
> if it's reported as ok, or at least better than current one, i'm not against
> commiting it to cvs.
Nice work! It's better then pervious one, no doubt :)
HOWEVER. Probably since I have almost no mencoder experience I have no
idea how to enable audio encoding. I tried:
mencoder -tv on:driver=v4l:width=384:height=288:outfmt=rgb24:norm=PAL \
-oac mp3lame -ovc lavc -lavcopts vcodec=mpeg4 -o /tmp/tv.avi
The result AVI file does not contain any audio, since mplayer said when
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 ;-)
If I specify noaudio as a -tv suboption no more these messages though no
audio either of course :) [playing speed is correct though]
Another interesting information: mencoder mutes volume setting of TV card,
at least it's on 0% when launching fbtv after a mencoder try.
It's a Pinnacle PCTV Studio card with standard Linux 2.4.18 v4l drivers.
- Gábor (larta'H)
More information about the MPlayer-dev-eng
mailing list