I have an USB tv stick Sundtek MediaTV Pro III which has an analog input. with the following command, recording works perfectly.
mencoder tv:// -tv driver=v4l2:width=720:height=576:outfmt=uyvy:device=/dev/video0:input=1:fps=25:adevice=/dev/dsp0:audiorate=48000:amode=1:forceaudio:immediatemode=0 -ffourcc DX50 -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:turbo:vbitrate=1200:keyint=15 -oac mp3lame -noskip -o video1.avi
The only problem I have is, that I can hear the sound while recording.
This is kind of annoying because I want to be able to watch a move (a file, not with the usb stick), while I am recoding the analog tv stream.
How can I record without hearing the sound?
Try this:
/opt/bin/mediaclient -c external -d /dev/video0
this is telling the driver not to play back audio via the speaker