On Fri, 2011-10-14 at 20:14 +0200, Hector Canto wrote: > Hi everyone, > I have a PVR-350 installed on a Ubuntu 10.10 under a 1.4.1 ivtv-utils > Everything is working quite fine but i'm having problems getting PCM > audio from the device (in my case /dev/video25)
Does $ cat /dev/video25 > foo.pcm produce a 0 length file or a file with data in it? If the file is not 0 length, please provide a little bit of the output of $ xxd -g 2 foo.pcm to see if your are getting silence or sound data. $ aplay -f dat foo.pcm should play the sound. Regards, Andy > I've been able to get mpeg and raw video at the same time (devices > video1 and video33), but for my application would be useful to get the > audio alone, better if raw, to avoid unnecessary decoding and demux. > > I'm using a dvd player as source. I've posted the v4l2 log-status at > the end of this message in case it could be useful > > Appreciate any help. > Hector > > > [372588.932817] ivtv0: ================= START STATUS CARD #0 > ================= > [372588.932821] ivtv0: Version: 1.4.1 Card: Hauppauge WinTV PVR-350 > [372588.986361] tveeprom 0-0050: Hauppauge model 48134, rev I121, > serial# 6155307 > [372588.986365] tveeprom 0-0050: tuner model is Philips FM1216 (idx > 21, type 5) > [372588.986370] tveeprom 0-0050: TV standards PAL(B/G) (eeprom > 0x04) > [372588.986374] tveeprom 0-0050: audio processor is MSP4418 (idx > 25) > [372588.986377] tveeprom 0-0050: decoder processor is SAA7115 (idx > 19) > [372588.986380] tveeprom 0-0050: has radio, has IR receiver, has no > IR transmitter > [372588.986384] saa7115 0-0021: Audio frequency: 48000 Hz > [372588.988167] saa7115 0-0021: Input: S-Video 0 > [372588.988169] saa7115 0-0021: Video signal: bad > [372588.988171] saa7115 0-0021: Frequency: 50 Hz > [372588.988173] saa7115 0-0021: Detected format: BW/No color > [372588.988174] saa7115 0-0021: Width, Height: 720, 576 > [372588.988177] saa7127 0-0044: Standard: 50 Hz > [372588.988179] saa7127 0-0044: Input: normal > [372588.988180] saa7127 0-0044: Output: S-Video + Composite > [372588.988182] saa7127 0-0044: WSS: disabled > [372588.988184] saa7127 0-0044: VPS: disabled > [372588.988186] saa7127 0-0044: CC: disabled > [372588.989673] msp3400 0-0040: msp3400 rev1 = 0x0117 rev2 = 0x1242 > [372588.989676] msp3400 0-0040: Audio: volume 58880 > [372588.989678] msp3400 0-0040: Mode: External input > [372588.989680] msp3400 0-0040: Audmode: 0x0001 > [372588.989682] msp3400 0-0040: Routing: 0x00222220 (input) > 0x00000044 (output) > [372588.989685] msp3400 0-0040: ACB: 0x0c00 > [372588.989688] tuner 0-0061: Tuner mode: analog TV > [372588.989690] tuner 0-0061: Frequency: 400.00 MHz > [372588.989692] tuner 0-0061: Standard: 0x00000007 > [372588.989695] ivtv0: Video Input: S-Video 1 > [372588.989696] ivtv0: Audio Input: Line In 1 > [372588.989699] ivtv0: Video Output: S-Video + Composite > [372588.989701] ivtv0: Audio Output: A/V Audio Out > (Stereo/Bilingual: Stereo/Left) > [372588.989703] ivtv0: Output Mode: None > [372588.989838] ivtv0: Overlay: Off, Alpha: Global, Pixel > Format: ARGB 8:8:8:8 > [372588.989840] ivtv0: Tuner: TV > [372588.989843] ivtv0: Stream: MPEG-2 Program Stream > [372588.989846] ivtv0: VBI Format: No VBI > [372588.989848] ivtv0: Video: 720x576, 25 fps > [372588.989850] ivtv0: Video: MPEG-2, 4x3, Variable Bitrate, > 6000000, Peak 8000000 > [372588.989854] ivtv0: Video: GOP Size 12, 2 B-Frames, GOP Closure > [372588.989857] ivtv0: Audio: 48 kHz, MPEG-1/2 Layer II, 224 kbps, > Stereo, No Emphasis, No CRC > [372588.989861] ivtv0: Spatial Filter: Manual, Luma 1D Horizontal, > Chroma 1D Horizontal, 0 > [372588.989863] ivtv0: Temporal Filter: Manual, 8 > [372588.989865] ivtv0: Median Filter: Off, Luma [0, 255], Chroma > [0, 255] > [372588.989868] ivtv0: Status flags: 0x00200080 > [372588.989871] ivtv0: Stream encoder MPG: status 0x0000, 0% of > 4096 KiB (128 buffers) in use > [372588.989874] ivtv0: Stream encoder YUV: status 0x0000, 0% of > 2048 KiB (64 buffers) in use > [372588.989877] ivtv0: Stream encoder VBI: status 0x0000, 0% of > 1049 KiB (41 buffers) in use > [372588.989880] ivtv0: Stream encoder PCM: status 0x0000, 0% of 324 > KiB (72 buffers) in use > [372588.989883] ivtv0: Stream decoder MPG: status 0x0000, 0% of > 1024 KiB (16 buffers) in use > [372588.989886] ivtv0: Stream decoder VBI: status 0x0000, 0% of 65 > KiB (29 buffers) in use > [372588.989888] ivtv0: Stream decoder YUV: status 0x0000, 0% of > 1024 KiB (16 buffers) in use > [372588.989891] ivtv0: Read MPG/VBI: 7168000/0 bytes > [372588.989893] ivtv0: ================== END STATUS CARD #0 > ================== > > _______________________________________________ > ivtv-users mailing list > [email protected] > http://ivtvdriver.org/mailman/listinfo/ivtv-users _______________________________________________ ivtv-users mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-users
