[MPlayer-users] Strange problem with mencoder...

Rainer Hantsch office at hantsch.co.at
Thu Mar 10 23:01:13 CET 2005


Hello!

I use mencoder to record TV series. Now I tried after a long time again to
record from my VRC (tape recorder).

Interesting:
When recording from Cable TV (over the tuner), it is easily possible to record
at a constant rate of 25fps even in 720x586. It needs 10 seconds, but then the
frame rate reached 25fps and stays constant.

When I simply change the settings to access the Composite-1 input, to record
from tape, I get barely more than 20fps -- too less, lost frames appear
visible.

I already tried to reduce vbitrate, I also tried smaller size of the image,
this has no effect.

What is wrong here?



Below I placed a copy of both functions I use in my shell script.

# Here I use 640x480 !!!
function RECORD_VRC () {
echo "RECORDING VIDEO-TAPE"
echo
mencoder -tv on:input=$vinput:driver=v4l:device=/dev/video0:fps=25:\
width=$palw:height=$palh:forceaudio=1:audiorate=48000:amode=0:\
forcechan=1:adevice=/dev/dsp \
-oac mp3lame -lameopts cbr:br=128 \
-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1150:keyint=25 \
-vop crop=$width:$height,pp=md,denoise3d=8:2:2 -sws 2 \
-endpos $dauer \
-o "$workfile"
}


# Here I use 720x586 and it works fine.
function RECORD_TV () {
# Das ist meine neue Original-Aufnahmeroutine.

echo "RECORDING TV"
echo
mencoder -tv on:input=$vinput:driver=v4l:device=/dev/video0:fps=25:\
width=$palw:height=$palh:forceaudio=1:audiorate=48000:amode=0:\
forcechan=1:adevice=/dev/dsp \
-oac mp3lame -lameopts cbr:br=128 \
-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1950:keyint=25 \
-vop crop=$width:$height,pp=md,denoise3d=8:6:6 \
-sws 2 \
-endpos $dauer \
-o "$workfile"
}




mfg

  Ing. Rainer Hantsch




More information about the MPlayer-users mailing list