[MPlayer-users] recording from TV without sound

wim delvaux wim.delvaux at adaptiveplanet.com
Sat Nov 4 17:56:16 CET 2006


HI,

my tv card works just fine (I use mplayer to view from it and it plays with 
sound and video)

      mplayer tv:// \
              -vo xv   \
              -zoom  \
              -quiet \
              -tv driver=v4l2:freq=${Freq}:normid=0:amode=1 \
              -vf pp=lb &

However when I try to record from it with mencoder I get no sound

mencoder tv:// \
           -ffourcc XVID \
           -quiet \
           -idx \
           -tv driver=v4l2:freq=${FREQ}:normid=0:amode=1 \
           -endpos ${DURATION} \
           -info "name=${PROGRAMNAME}" \
           -of ${OUTPUTTYPE} \
           -o "${OUTPUTTO}" \
           -ovc lavc \
           -oac lavc \
           -vf pp=lb \
           -lavcopts vcodec=mpeg4:keyint=50:acodec=ac3:vqscale=4:

I was told 'ha you specify no sound so it is normal that you have no sound' 
however the script worked before (on the same computer and the same video 
card - wintv from hauppage) and I do not know what is meant by the remark : 
How do I specify sound ? 

the script I use sets the mixing as follows just before the mencoder command

      amixer -q set Line off
      amixer -q set Line cap
      amixer -q set Line mute
      amixer -q set Line 60%
      amixer -q set Capture cap
      amixer -q set Capture 50%

THe TV card is connected line out to the line in of the audio card (on board 
of motherboard)

Help requested

Thx



More information about the MPlayer-users mailing list