No sound using Composite2 and line-in with AverTV Studio 307(saa7134)
- From: MartV <martvi (at) gmail.com>
- Date: Mon, 24 Apr 2006 13:39:01 +0300
Hello.
I'm trying stream video with mp4live application from AverTV Studio
307 composite input and audio directly from same card line-in. I
loaded modules with alsa sound support.
When I recording, then video is ok but there is no sound.
Also tried mplayer but no success
mplayer tv:// -tv
driver=v4l2:device=/dev/video1:chanlist=europe-west:alsa:adevice=hw.1,0:amode=1:audiorate=32000:forceaudio:volume=100:immediatemode=0:norm=PAL:input=2
When input is TV tuner then sound is present
My system is Debian:
#uname -a
#Linux striim-test4 2.6.16.1 #1 PREEMPT Thu Apr 20 14:20:13 EEST 2006
i686 GNU/Linux
saa7134 modules loaded with options:
# more /etc/modprobe.d/saa7134
options saa7134 gbuffers=28 video_nr=1,2,3,4 vbi_nr=1,2,3,4
radio_nr=1,2,3,4 alsa=1 i2c_scan=1 i2c_debug=0 gpio_tracking=1
audio_debug=1
install saa7134 /sbin/modprobe --ignore-install saa7134;
/sbin/modprobe saa7134-alsa
options saa7134-alsa index=1,2,3,4 debug=1 enable=1,1,1,1
=======================================
dmesg output:
Linux video capture interface: v1.00
saa7130/34: v4l2 driver version 0.2.14 loaded
PCI: Enabling device 0000:03:0a.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:03:0a.0[A] -> GSI 22 (level, low) -> IRQ 22
saa7134[0]: found at 0000:03:0a.0, rev: 1, irq: 22, latency: 32, mmio:
0xdfefec00
saa7134[0]: subsystem: 1461:9715, board: Avermedia AVerTV Studio 307
[card=45,autodetected]
saa7134[0]: board init: gpio is 7a8
saa7134[0]: gpio: mode=0x0000000 in=0x00007a8 out=0x0000000 [pre-init]
input: saa7134 IR (Avermedia AVerTV St as /class/input/input3
saa7134[0]: i2c eeprom 00: 61 14 15 97 ff ff ff ff ff ff ff ff ff ff ff ff
saa7134[0]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7134[0]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7134[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7134[0]: i2c eeprom 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7134[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7134[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7134[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7134[0]: i2c scan: found device (at) 0x86 [tda9887]
saa7134[0]: i2c scan: found device (at) 0xa0 [eeprom]
saa7134[0]: i2c scan: found device (at) 0xc2 [???]
saa7134[0]/audio: ctl_mute=1 automute=0 input=Television => mute=1 input=mute
saa7134[0]: gpio: mode=0x0000007 in=0x00007a8 out=0x0000004 [mute]
saa7134[0]/audio: mute/input: nothing to do [mute=1,input=mute]
saa7134[0]/audio: tvaudio thread scan start [1]
saa7134[0]/audio: mute/input: nothing to do [mute=1,input=mute]
tuner 1-0061: chip found (at) 0xc2 (saa7134[0])
tuner 1-0061: type set to 51 (Philips PAL/SECAM_D (FM 1256 I-H3))
tda9887 1-0043: chip found (at) 0x86 (saa7134[0])
saa7134[0]: registered device video1 [v4l2]
saa7134[0]: registered device vbi1
saa7134[0]: registered device radio1
saa7134[0]/audio: mute/input: nothing to do [mute=1,input=mute]
PCI: Enabling device 0000:03:0b.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:03:0b.0[A] -> GSI 19 (level, low) -> IRQ 18
saa7134[1]: found at 0000:03:0b.0, rev: 1, irq: 18, latency: 32, mmio:
0xdfefe800
saa7134[1]: subsystem: 1461:9715, board: Avermedia AVerTV Studio 307
[card=45,autodetected]
saa7134[1]: board init: gpio is 7c0
saa7134[1]: gpio: mode=0x0000000 in=0x00007c0 out=0x0000000 [pre-init]
input: saa7134 IR (Avermedia AVerTV St as /class/input/input4
tuner 2-0061: chip found (at) 0xc2 (saa7134[1])
tuner 2-0061: type set to 51 (Philips PAL/SECAM_D (FM 1256 I-H3))
tda9887 2-0043: chip found (at) 0x86 (saa7134[1])
saa7134[1]: i2c eeprom 00: 61 14 15 97 ff ff ff ff ff ff ff ff ff ff ff ff
saa7134[1]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7134[1]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7134[1]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7134[1]: i2c eeprom 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7134[1]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7134[1]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7134[1]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7134[1]: i2c scan: found device (at) 0x86 [tda9887]
saa7134[1]: i2c scan: found device (at) 0xa0 [eeprom]
saa7134[1]: i2c scan: found device (at) 0xc2 [???]
saa7134[1]/audio: ctl_mute=1 automute=0 input=Television => mute=1 input=mute
saa7134[1]: gpio: mode=0x0000007 in=0x00007c0 out=0x0000004 [mute]
saa7134[1]/audio: mute/input: nothing to do [mute=1,input=mute]
saa7134[1]: registered device video2 [v4l2]
saa7134[1]: registered device vbi2
saa7134[1]: registered device radio2
saa7134[1]/audio: mute/input: nothing to do [mute=1,input=mute]
saa7134[1]/audio: tvaudio thread scan start [1]
saa7134[1]/audio: mute/input: nothing to do [mute=1,input=mute]
saa7134 ALSA driver for DMA sound loaded
saa7134[0]/alsa: saa7134[0] at 0xdfefec00 irq 22 registered as card 1
saa7134[1]/alsa: saa7134[1] at 0xdfefe800 irq 18 registered as card 2
------------------------------------------
and debug dmesg output when recording with mplayer from that device:
saa7134[0]/audio: mute/input: nothing to do [mute=1,input=mute]
saa7134[0]/audio: getstereo: fm/stereo: idp=0x0
saa7134[0]/audio: getstereo: fm/stereo: idp=0x0
saa7134[0]/audio: mute/input: nothing to do [mute=1,input=mute]
saa7134[0]/audio: tvaudio thread scan start [459]
saa7134[0]/audio: mute/input: nothing to do [mute=1,input=mute]
saa7134[0]/alsa: rec_start: afmt=2 ch=2 => fmt=0xdd swap=-
saa7134[0]/alsa: rec_start: afmt=2 ch=2 => fmt=0xdd swap=-
saa7134[0]/audio: mute/input: nothing to do [mute=1,input=mute]
saa7134[1]/audio: setstereo [fm] => stereo
saa7134[0]/audio: skipping 4.500 MHz [ M]
saa7134[0]/audio: scanning 5.500 MHz [ BG] => dc is 0 [479/479]
saa7134[0]/audio: scanning 6.000 MHz [ I] => dc is 0 [479/479]
saa7134[0]/audio: scanning 6.500 MHz [ DKL] => dc is 0 [479/479]
saa7134[0]/audio: <4>saa7134[0]/audio: audio carrier scan failed,
using 5.500 MHz [default]
saa7134[0]/audio: ctl_mute=0 automute=0 input=Composite2 => mute=0
input=Composite2
saa7134[0]: gpio: mode=0x0000007 in=0x00007a8 out=0x0000004 [Composite2]
saa7134[0]/audio: tvaudio_setmode: trying PAL-B/G FM-stereo
[5.500/5.742 MHz] acpf=122880+0
saa7134[0]/audio: getstereo: fm/stereo: idp=0x0
saa7134[0]/audio: tvaudio_setmode: trying PAL-B/G NICAM [5.500/5.850
MHz] acpf=122880+0
saa7134[0]/audio: getstereo: nicam=0x2
saa7134[0]/audio: tvaudio_setmode: using PAL-B/G FM-stereo
[5.500/5.742 MHz] acpf=122880+0
saa7134[0]/audio: setstereo [fm] => mono
saa7134[0]/audio: setstereo [fm] => stereo
saa7134[0]/audio: ctl_mute=1 automute=0 input=Composite2 => mute=1 input=mute
saa7134[0]: gpio: mode=0x0000007 in=0x00007a8 out=0x0000004 [mute]
==================
Any ideas what could be wrong?
Thanks
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list