[MPlayer-users] Capture tv using mencoder but no sound.

Jindrich Makovicka makovick at kmlinux.fjfi.cvut.cz
Tue Dec 3 11:37:02 CET 2002


Per Mellander wrote:

>[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
>Hello!
>
>I have been using mplayer for a pretty long time but I've never used mencoder 
>for TV grabbing because of the lack of sound grabbing. As I understand it 
>should be possible to capture sound now ( According to the DOC chapter 2.5 ). 
>I can watch TV ( with sound ) using the regular commandline. I have the 
>lineout/in cable connected from my Hauppauge WinTV Theater card to a Hercules 
>Fortissimo II sound card, i use the regular kernel module for the soundcard.
>
>I use MPlayer CVS from 2002-11-30 on a RH 7.3.
>
>I didn't get any audio stream grabbing via the analog connection so I started 
>to try with btaudio. I have inserted the module with the debug=1 option.
>
>[root at arfineq root]# tail -f /var/log/messages
>Dec  2 20:46:42 arfineq kernel: btaudio: driver version 0.6 loaded 
>[digital+analog]
>Dec  2 20:46:42 arfineq kernel: btaudio: Bt878 (rev 17) at 00:09.1, irq: 5, 
>latency: 32, memory: 0xdb201000
>Dec  2 20:46:42 arfineq kernel: btaudio: registered device dsp1 [digital]
>Dec  2 20:46:42 arfineq kernel: btaudio: registered device dsp2 [analog]
>Dec  2 20:46:42 arfineq kernel: btaudio: registered device mixer1
>
>and whenever I use mencoder with the following options:
>
>mencoder -tv 
>on:driver=v4l:device=/dev/video0:width=384:height=288:channel=46:adevice=/dev/
>dsp1 -o /tmp/output.avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=900 -oac 
>mp3lame -lameopts cbr:br=32 -endpos 00:00:01 -v
>Video capture card reports the audio setup as follows:
>  0: TV: muted=yes vol=0 bass=32768 treble=32768 balance=32768 mode=unknown 
>chan=0
>  
>
...

>Enabling tv audio. Requested setup is:
>id=0 vol=60000 bass=32768 treble=32768 balance=32768 mode=unknown chan=0
>  
>
Please try specifying "forceaudio" and "forcechan=1" or "forcechan=2". 
Seems that your card reports bogus values for audio mode. You can try it 
with both external analog connection and btaudio.

Regards,

-- 
Jindrich Makovicka





More information about the MPlayer-users mailing list