[MPlayer-users] Strange jerking when recording from tv with audio

Martin Bammer e9525103 at stud4.tuwien.ac.at
Tue Mar 28 00:45:17 CEST 2006


Hi!

I've got a really strange problem when I try to record a movie from my 
TV-Card.
I use a script with the following command line:
mencoder tv://$2 -tv
driver=v4l2:device=/dev/video0:norm=pal:fps=25:input=0:width=640:height=480:alsa:adevice=hw.0,0:
$CHANNELS:buffersize=64 \
    -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=2000:mbd=0:aspect=1.41:nr=400 
-ffourcc DIVX \
    -oac mp3lame -lameopts cbr:br=160:mode=0 \
    -vf pp=md \
    -o $1 $ENDPOS

When I record a movie with the above command line the video stream looses (one 
or more) frames about every half second. When I record a movie without sound 
the result has no frame drops. The CPU is fast enough, because recording only 
uses about 60% maximum with audio.
I can watch mencoder dropping frames, because the output when recording the 
movie always stops for a short time in intervals of about half a second.
Please help, I've no idea how to fix this. I've tried a lot (different options 
and codecs) and googled without any success.
TV-Card: Terratec Cynergy 400 (saa7134)
Kernel: 2.6.15.5 (Athlon XP)
Mainboard: NForce2
System: Debian Sid
mencoder (Debian Package): mencoder-k6   1.0-pre7cvs20060219-0.1

Cheers, Martin




More information about the MPlayer-users mailing list