LinHES Forums http://forum.linhes.org/ |
|
cat /dev/video0 > tmp.mpg - NO Audio http://forum.linhes.org/viewtopic.php?f=5&t=10616 |
Page 1 of 1 |
Author: | Spümcø [ Sun Jun 25, 2006 6:13 pm ] |
Post subject: | cat /dev/video0 > tmp.mpg - NO Audio |
I did an auto-install of R5C7 and when I run $ cat > /dev/video0 > tmp.mpg I get a video file with no audio. I tested this on the MythTV box itself (with sound working fine) and tried playing on my Mac with the same issue: no sound. Here is the output relevent output of $ dmesg ivtv: ==================== START INIT IVTV ==================== ivtv: version 0.4.4 (tagged release) loading ivtv: Linux version: 2.6.15-chw-2 SMP preempt 586 gcc-3.3 ivtv: In case of problems please include the debug info between ivtv: the START INIT IVTV and END INIT IVTV lines, along with ivtv: any module options, when mailing the ivtv-users mailinglist. ivtv0: Autodetected WinTV PVR 350 card (cx23415 based) ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18 ACPI: PCI Interrupt 0000:01:06.0[A] -> Link [APC3] -> GSI 18 (level, high) -> IRQ 19 ivtv0: Unreasonably low latency timer, setting to 64 (was 32) ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50] tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #0) ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61] saa7115 2-0021: saa7115 found @ 0x42 (ivtv i2c driver #0) ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21] saa7127 2-0044: saa7127 found @ 0x88 (ivtv i2c driver #0) ivtv0: i2c attach to card #0 ok [client=saa7127, addr=44] msp3400 2-0040: chip=MSP4448G-A2 +nicam +simple +simpler +radio mode=simpler msp3400 2-0040: msp34xxg daemon started ivtv0: i2c attach to card #0 ok [client=MSP4448G-A2, addr=40] tveeprom 2-0050: Hauppauge model 48132, rev J323, serial# 7064946 tveeprom 2-0050: tuner model is Philips FM1236 (idx 23, type 2) tveeprom 2-0050: TV standards NTSC(M) (eeprom 0x08) tveeprom 2-0050: audio processor is MSP4448 (idx 27) tveeprom 2-0050: decoder processor is SAA7115 (idx 19) tveeprom 2-0050: has radio, has IR remote ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes) ivtv0: loaded v4l-cx2341x-dec.fw firmware (262144 bytes) ivtv0: Encoder revision: 0x02050032 ivtv0: Decoder revision: 0x02020023 ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total) ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total) ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total) ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total) ivtv0: Create encoder radio stream ivtv0: Allocate DMA decoder MPEG stream: 16 x 65536 buffers (1024KB total) ivtv0: Allocate DMA decoder VBI stream: 512 x 2048 buffers (1024KB total) ivtv0: Create decoder VOUT stream ivtv0: Allocate DMA decoder YUV stream: 24 x 43200 buffers (1024KB total) ivtv0: loaded v4l-cx2341x-init.mpg firmware (155648 bytes) tuner 2-0061: type set to 2 (Philips NTSC (FI1236,FM1236 and compatibles)) ivtv0: Initialized WinTV PVR 350, card #0 ivtv: ==================== END INIT IVTV ==================== ivtv0-osd: Framebuffer module loaded (attached to ivtv card id 0) ivtv0-osd: screen coords: [0 0] -> [720 480] ivtv0-osd: original global alpha = 208 ivtv0-osd: current OSD state = 39 ivtv0-osd: new global alpha = 208 (1 255 0) ivtv0-osd: framebuffer at 0xd5510000, mapped to 0xf9f90000, size 1665k ivtv0-osd: mode is 720x480x32, linelength=2880 ivtv0-osd warning: ivtvfb_set_par And the output of $ modinfo msp3400 filename: /lib/modules/2.6.15-chw-2/kernel/drivers/media/video/msp3400.ko description: device driver for msp34xx TV sound processor author: Gerd Knorr license: GPL vermagic: 2.6.15-chw-2 SMP preempt 586 gcc-3.3 depends: i2c-core parm: ignore:List of adapter,address pairs not to scan (array of short) parm: probe:List of adapter,address pairs to scan additionally (array of short) parm: force:List of adapter,address pairs to boldly assume to be present (array of short) parm: dolby:Activates Dolby processsing (int) parm: amsound:Hardwire AM sound at 6.5Hz (France), FM can autoscan (int) parm: standard:Specify audio standard: 32 = NTSC, 64 = radio, Default: Autodetect (int) parm: stereo_threshold:Sets signal threshold to activate stereo (int) parm: debug:Enable debug messages (int) parm: once:No continuous stereo monitoring (int) parm: opmode:Forces a MSP3400 opmode. 0=Manual, 1=Simple, 2=Simpler (int) Output from $ ivtvctl -A ioctl: VIDIOC_ENUMAUDIO Input : 0 Name : Tuner Audio In Input : 1 Name : Audio Line In Please let know if any other information would be helpful. Thank you, Spumco |
Author: | tjc [ Sun Jun 25, 2006 8:10 pm ] |
Post subject: | |
You may want to try the ivtv 0.4.6 prerelease driver. One of the bug fixes cures a hardware initialization problem which would select a semi random audio source. I vaguely remember that having a radio tuner on the card (like the pvr-350) made it more likley... A quick search should turn up a thread where I posted the directions for doing this. |
Author: | Spümcø [ Sun Jun 25, 2006 8:40 pm ] |
Post subject: | |
tjc, Thank you for the reply. I will search for your instructions and try it out. - Spumco |
Author: | Spümcø [ Sun Jun 25, 2006 11:33 pm ] |
Post subject: | |
tjc, I'm sorry to say that didn't help ![]() Here is the ivtv stuff from dmesg to show I'm using v0.4.6: ivtv: ==================== START INIT IVTV ==================== ivtv: version 0.4.6 (tagged release) loading ivtv: Linux version: 2.6.15-chw-2 SMP preempt 586 gcc-3.3 ivtv: In case of problems please include the debug info between ivtv: the START INIT IVTV and END INIT IVTV lines, along with ivtv: any module options, when mailing the ivtv-users mailinglist. ivtv0: Autodetected WinTV PVR 350 card (cx23415 based) ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18 ACPI: PCI Interrupt 0000:01:06.0[A] -> Link [APC3] -> GSI 18 (level, high) -> IRQ 19 ivtv0: Unreasonably low latency timer, setting to 64 (was 32) tveeprom: ivtv version tveeprom: Hauppauge: model = 48132, rev = J323, serial# = 7064946 tveeprom: tuner = Philips FM1236 (idx = 23, type = 2) tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000) tveeprom: audio processor = MSP4448 (type = 1b) tveeprom: decoder processor = SAA7115 (type = 13) ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50] tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0 ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61] saa7115 2-0021: saa7115 found @ 0x42 (ivtv i2c driver #0) ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21] saa7127 2-0044: saa7127 found @ 0x88 (ivtv i2c driver #0) ivtv0: i2c attach to card #0 ok [client=saa7127, addr=44] msp3400 2-0040: chip=MSP4448G-A2 +nicam +simple +simpler +radio mode=simpler msp3400 2-0040: msp34xxg daemon started ivtv0: i2c attach to card #0 ok [client=MSP4448G-A2, addr=40] ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes) ivtv0: loaded v4l-cx2341x-dec.fw firmware (262144 bytes) ivtv0: Encoder revision: 0x02050032 ivtv0: Decoder revision: 0x02020023 ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total) ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total) ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total) ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total) ivtv0: Create encoder radio stream ivtv0: Allocate DMA decoder MPEG stream: 16 x 65536 buffers (1024KB total) ivtv0: Allocate DMA decoder VBI stream: 512 x 2048 buffers (1024KB total) ivtv0: Create decoder VOUT stream ivtv0: Allocate DMA decoder YUV stream: 24 x 43200 buffers (1024KB total) ivtv0: loaded v4l-cx2341x-init.mpg firmware (155648 bytes) tuner: type set to 2 (Philips NTSC (FI1236,FM1236 and compatibles)) by ivtv i2c driver #0 ivtv0: Initialized WinTV PVR 350, card #0 ivtv: ==================== END INIT IVTV ==================== I welcome any other suggestions. Thanks, Spümcø |
Author: | nigelpearson [ Mon Jun 26, 2006 8:27 pm ] |
Post subject: | |
Spumco, I am not sure if it is the case with the IVTV card, but DVB cards sometimes do this: /dev/dvb/adapter0/audio0 for audio only /dev/dvb/adapter0/dvr0 for the raw MPEG stream /dev/dvb/adapter0/video0 for video only Check to see if there is a different device node for the audio only, or for the multiplexed audio + video ? |
Author: | tjc [ Mon Jun 26, 2006 10:43 pm ] |
Post subject: | |
n - My PVR cards have always ben multiplexed together so I don't think that's it... S - It may be time to go prowl through the ivtv mailing lists and look for PVR-350 related stuff. http://www.gossamer-threads.com/lists/ivtv/devel/ and http://www.gossamer-threads.com/lists/ivtv/users/ Beware that the search function at gossamer threads orders stuff oddly so don't forget to hit the link that sorts them in date order which will let you can concentrate on the most recent stuff. |
Author: | Spümcø [ Tue Jun 27, 2006 12:32 pm ] |
Post subject: | |
nigelpearson, thanks for the suggestion! I sure wish I could use a DVB card here in the states! tjc, thanks for the links and tips for dealing with gossamer threads. If I find a solution, I'll be sure to post it here. Thanks again to both of you for your help! Spümcø |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |