[mythtv-users] PVR 350 not capturing audio

Wayne Richards wrichards at taxupdate.com
Fri Apr 16 22:47:42 UTC 2010


On Fri, Apr 16, 2010 at 03:12:04PM +0100, Ian Armstrong wrote:
> On Friday 16 April 2010, Wayne Richards wrote:
> > On Thu, Apr 15, 2010 at 04:58:05PM -0600, Brian Wood wrote:
> > > On Thursday 15 April 2010 04:39:59 pm Wayne Richards wrote:
> > > > I just built a gentoo system and installed mythtv-0.22.  It has a PVR
> > > > 350 as video0 and a PVR 150 as video1.  I'm not using the TV-out on the
> > > > 350--instead it has a GeForce 7300 with s-video output.
> > > >
> > > > Testing the PVR 350:
> > > > > cat /dev/video0 > /tmp/test.mpg
> > > >
> > > > produces the output file, but playing it with mplayer gives:
> > > >
> > > > MPlayer SVN-r29796-4.3.4 (C) 2000-2009 MPlayer Team
> > > >
> > > > Playing test.mpg.
> > > > MPEG-PS file format detected.
> > > > MPEG: No audio stream found -> no sound.
> > > > VIDEO:  MPEG2  720x480  (aspect 2)  29.970 fps  6000.0 kbps (750.0
> > > > kbyte/s)
> > > > I don't have any options set for the ivtv module.  How do I
> > > > troubleshoot this?
> > >
> > > Are you tuning an RF channel or using baseband inputs? I'd try the other
> > > source, whatever it is.
> > 
> > No source at all--just static.  Same for each card.
> > 
> > > I've never seen this, even with no audio input. It may be a defective
> > > card. The stream should be there, even  if it contains no audio.
> > 
> > I was hoping there's something I overlooked.  Thanks for the help.
> 
> The only time I've seen no audio stream is when the firmware has partially 
> failed (crashed), but it's not very common. The only real fix for that is to 
> reload the firmware, so you'll have to rmmod & then modprobe ivtv. If it still 
> doesn't work then the problem is elsewhere.
> 
> What's the output of 'v4l2-ctl --log-status' ?


Status Log:

   [  809.219682] ivtv0: =================  START STATUS CARD #0  =================
   [  809.219689] ivtv0: Version: 1.4.1 Card: Hauppauge WinTV PVR-350
   [  809.291758] tveeprom 0-0050: Hauppauge model 48132, rev K268, serial# 8262666
   [  809.291764] tveeprom 0-0050: tuner model is LG TAPE H001F MK3 (idx 68, type 47)
   [  809.291769] tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08)
   [  809.291774] tveeprom 0-0050: audio processor is MSP4448 (idx 27)
   [  809.291778] tveeprom 0-0050: decoder processor is SAA7115 (idx 19)
   [  809.291783] tveeprom 0-0050: has radio, has IR receiver, has no IR transmitter
   [  809.291788] saa7115 0-0021: Audio frequency: 48000 Hz
   [  809.294210] saa7115 0-0021: Input:           Composite 4
   [  809.294214] saa7115 0-0021: Video signal:    bad
   [  809.294218] saa7115 0-0021: Frequency:       50 Hz
   [  809.294219] saa7115 0-0021: Detected format: BW/No color
   [  809.294223] saa7115 0-0021: Width, Height:   720, 480
   [  809.294228] saa7127 0-0044: Standard: 60 Hz
   [  809.294232] saa7127 0-0044: Input:    normal
   [  809.294236] saa7127 0-0044: Output:   S-Video + Composite
   [  809.294240] saa7127 0-0044: WSS:      disabled
   [  809.294241] saa7127 0-0044: VPS:      disabled
   [  809.294245] saa7127 0-0044: CC:       disabled
   [  809.296301] msp3400 0-0040: msp3400 rev1 = 0x0117 rev2 = 0x3042
   [  809.296305] msp3400 0-0040: Audio:    volume 58880
   [  809.296310] msp3400 0-0040: Standard: 10.7  FM-Stereo Radio (mono)
   [  809.296314] msp3400 0-0040: Audmode:  0x0001
   [  809.296318] msp3400 0-0040: Routing:  0x00000000 (input) 0x00000044 (output)
   [  809.296323] msp3400 0-0040: ACB:      0x0c00
   [  809.296331] tda9887 0-0043: Data bytes: b=0x14 c=0x30 e=0x44
   [  809.296350] tuner 0-0061: Tuner mode:      analog TV
   [  809.296354] tuner 0-0061: Frequency:       67.25 MHz
   [  809.296358] tuner 0-0061: Standard:        0x00001000
   [  809.296363] ivtv0: Video Input:  Tuner 1
   [  809.296367] ivtv0: Audio Input:  Tuner 1
   [  809.296372] ivtv0: Video Output: S-Video + Composite
   [  809.296376] ivtv0: Audio Output: A/V Audio Out (Stereo/Bilingual: Stereo/Left)
   [  809.296380] ivtv0: Output Mode:  None
   [  810.300012] ivtv0:  warn: No free mailbox found (CX2341X_OSD_GET_STATE)
   [  810.300019] ivtv0:  warn: Clearing mailbox 0: cmd 0x00000000 flags 0x0000000b
   [  810.300036] ivtv0:  warn: Clearing mailbox 1: cmd 0x00000000 flags 0x00000060
   [  811.300013] ivtv0:  warn: No free mailbox found (CX2341X_OSD_GET_STATE)
   [  811.300025] ivtv0:  warn: Clearing mailbox 0: cmd 0x00000000 flags 0x0000000b
   [  811.300042] ivtv0:  warn: Clearing mailbox 1: cmd 0x00000000 flags 0x00000060
   [  811.300055] ivtv0: Overlay:      Off, Alpha: None, Pixel Format: ARGB Indexed
   [  811.300059] ivtv0: Tuner:  TV
   [  811.300063] ivtv0: Stream: MPEG-2 Program Stream
   [  811.300068] ivtv0: VBI Format: No VBI
   [  811.300072] ivtv0: Video:  720x480, 30 fps
   [  811.300077] ivtv0: Video:  MPEG-2, 4x3, Variable Bitrate, 6000000, Peak 8000000
   [  811.300082] ivtv0: Video:  GOP Size 15, 2 B-Frames, GOP Closure
   [  811.300087] ivtv0: Audio:  48 kHz, MPEG-1/2 Layer II, 224 kbps, Stereo, No Emphasis, No CRC
   [  811.300092] ivtv0: Spatial Filter:  Manual, Luma 1D Horizontal, Chroma 1D Horizontal, 0
   [  811.300096] ivtv0: Temporal Filter: Manual, 8
   [  811.300101] ivtv0: Median Filter:   Off, Luma [0, 255], Chroma [0, 255]
   [  811.300105] ivtv0: Status flags:    0x00200080
   [  811.300110] ivtv0: Stream encoder MPG: status 0x0000, 0% of 4096 KiB (128 buffers) in use
   [  811.300115] ivtv0: Stream encoder YUV: status 0x0000, 0% of 2048 KiB (64 buffers) in use
   [  811.300119] ivtv0: Stream encoder VBI: status 0x0000, 0% of 1040 KiB (61 buffers) in use
   [  811.300124] ivtv0: Stream encoder PCM: status 0x0000, 0% of 324 KiB (72 buffers) in use
   [  811.300129] ivtv0: Stream decoder MPG: status 0x0000, 0% of 1024 KiB (16 buffers) in use
   [  811.300133] ivtv0: Stream decoder VBI: status 0x0000, 0% of 65 KiB (29 buffers) in use
   [  811.300138] ivtv0: Stream decoder YUV: status 0x0000, 0% of 1024 KiB (16 buffers) in use
   [  811.300142] ivtv0: Read MPG/VBI: 3170240/0 bytes
   [  811.300146] ivtv0: ==================  END STATUS CARD #0  ==================


> Also, try loading the ivtv module with 'modprobe ivtv debug=1'. Make a short 
> capture from '/dev/video0' & if the audio stream is still missing check the 
> output from dmesg. You may see a line like 'ivtv0 warn: Could not get result 
> (CX2341X_ENC_MISC)'.

I got varying results with this.  Sometimes the "no audio" result was repeated, on other tries
'cat /dev/video0' produced no output at all.  On at least one test run, the warnings did appear:

   :
[  571.257744] ivtv: End initialization
[  571.791038] ivtv 0000:01:06.0: firmware: requesting v4l-cx2341x-enc.fw
[  571.810437] ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
[  571.810572] ivtv 0000:01:06.0: firmware: requesting v4l-cx2341x-dec.fw
[  571.826102] ivtv0: Loaded v4l-cx2341x-dec.fw firmware (262144 bytes)
[  571.877040] ivtv 0000:01:08.0: firmware: requesting v4l-cx2341x-enc.fw
[  571.896300] ivtv1: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
[  572.025394] ivtv0: Encoder revision: 0x02060039
[  572.025526] ivtv0: Decoder revision: 0x02020023
[  572.069124] ivtv 0000:01:06.0: firmware: requesting v4l-cx2341x-init.mpg
[  572.098932] ivtv1: Encoder revision: 0x02060039
[  572.113154] ivtv0: Loaded v4l-cx2341x-init.mpg firmware (155648 bytes)
[  583.159254] ivtv0:  warn: Unknown input: 00000000 00000000 00000000
[  669.374200] ivtv0:  warn: Could not get result (CX2341X_ENC_MISC)
[  675.480073] ivtv0:  warn: Could not get result (CX2341X_ENC_STOP_CAPTURE)
[  676.481347] ivtv0:  warn: Could not get result (CX2341X_ENC_SET_EVENT_NOTIFICATION)
   :

Wayne


More information about the mythtv-users mailing list