[mythtv-users] Occasionally HD program plays without sound: NVP(0): Disabling Audio

Marc MERLIN marc_mtv at merlins.org
Sat Jan 15 19:59:28 UTC 2011


This is puzzling:
I have 5 episodes of Top Gear USA recorded from the same channel (comcast
over firewire).
4 played fine, one plays without sound in mythtv-frontend but sound will
play if I use mplayer on the mpeg file.

mythtv version 0.23.1+fixes26863-0ubuntu0+mythbuntu3

Problem seems to be:
2011-01-15 11:55:22.668 AFD: Opened codec 0xa8a571a0, id(MPEG2VIDEO) type(Video)
2011-01-15 11:55:22.668 NVP(0): Disabling Audio, params(-1,-1,-1)
2011-01-15 11:55:22.668 AO: Killing AudioOutputDSP
2011-01-15 11:55:22.669 AO: OutputAudioLoop: Stop Event
2011-01-15 11:55:22.669 AO: kickoffOutputAudioLoop exiting

Mplayer plays the file (with sound) like so:
> mplayer /var/spool/mythtv/recording.myth/3758_20101226230100.mpg
> MPlayer SVN-r29237-4.4.0 (C) 2000-2009 MPlayer Team
> Playing /var/spool/mythtv/recording.myth/3758_20101226230100.mpg.
> TS file format detected.
> VIDEO MPEG2(pid=1984) AUDIO A52(pid=1985) NO SUBS (yet)!  PROGRAM N. 1
> VIDEO:  MPEG2  1280x720  (aspect 3)  59.940 fps  38810.4 kbps (4851.3 kbyte/s)
> ==========================================================================
> Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
> Opening video decoder: [libmpeg2] libmpeg2 MPEG 1/2 Video decoder
> Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
> ==========================================================================
> ==========================================================================
> Forced audio codec: mad
> Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
> hwac3: switched to AC3, 384000 bps, 48000 Hz
> AUDIO: 48000 Hz, 2 ch, ac3, 384.0 kbit/25.00% (ratio: 48000->192000)
> Selected audio codec: [hwac3] afm: hwac3 (AC3 through S/PDIF)
> ==========================================================================
> AO: [alsa] 48000Hz 2ch ac3 (1 bytes per sample)


The full log of a video not playing with sound (scroll to the bottom for the exact failure):

2011-01-15 11:55:21.095 AFD: Opened codec 0xa6b0c3a0, id(MPEG2VIDEO) type(Video)
2011-01-15 11:55:21.095 AFD: codec AC3 has 2 channels
2011-01-15 11:55:21.095 AFD: Opened codec 0xa6c19b80, id(AC3) type(Audio)
2011-01-15 11:55:21.095 AFD: Audio Track #1 is A/V stream #1 and has 2 channels in the English language(6647399).
2011-01-15 11:55:21.150 AFD: Selected track 1: English AC3 2ch (A/V Stream #1)
2011-01-15 11:55:21.150 AFD: Initializing audio parms from audio track #1
2011-01-15 11:55:21.150 AFD: Audio format changed 
                        from id(NONE)    -1Hz -1ch   0bps    to id( AC3) 48000Hz  2ch  16bps   
2011-01-15 11:55:21.279 AO: Killing AudioOutputDSP
2011-01-15 11:55:21.279 AO: Original audio codec was AC3
2011-01-15 11:55:21.279 AudioOutputALSA::GetSupportedRates opening default
2011-01-15 11:55:21.282 AO: Sample rate 44100 is supported
2011-01-15 11:55:21.283 AO: Using resampler. From: 48000 to 44100
2011-01-15 11:55:21.283 Opening audio device 'default'. ch 2(2) sr 44100 (reenc 0)
2011-01-15 11:55:21.283 Setting IEC958 status: audio
2011-01-15 11:55:21.283 Opening ALSA audio device 'default'.
2011-01-15 11:55:21.284 in SetParameters(format=2, channels=2, rate=44100, buffer_time=400000, period_time=25000)
2011-01-15 11:55:21.284 get_buffer_size returned 16384
2011-01-15 11:55:21.284 set_period_time_near returned 92879
2011-01-15 11:55:21.284 get_period_size returned 4096
2011-01-15 11:55:21.301 Opening mixer /dev/mixer
ALSA lib control.c:882:(snd_ctl_open_noupdate) Invalid CTL /dev/mixer
2011-01-15 11:55:21.301 AudioOutput Warning: Mixer attach error -2: No such file or directory
                        Check Mixer Name in Setup: '/dev/mixer'
2011-01-15 11:55:21.358 Setting PCM volume to 100
2011-01-15 11:55:21.358 Setting PCM volume to 100
2011-01-15 11:55:21.358 AO: Audio fragment size: 6144
2011-01-15 11:55:21.358 AO: Audio Stretch Factor: 1
2011-01-15 11:55:21.358 AO: Ending reconfigure
2011-01-15 11:55:21.358 AO: Killing AudioOutputDSP
2011-01-15 11:55:21.358 AO: kickoffOutputAudioLoop: pid = 13008
2011-01-15 11:55:21.358 AO: OutputAudioLoop: Stop Event
2011-01-15 11:55:21.358 AO: kickoffOutputAudioLoop exiting
2011-01-15 11:55:21.358 AO: Original audio codec was AC3
2011-01-15 11:55:21.358 AudioOutputALSA::GetSupportedRates opening default
2011-01-15 11:55:21.359 AO: Sample rate 44100 is supported
2011-01-15 11:55:21.359 AO: Using resampler. From: 48000 to 44100
2011-01-15 11:55:21.359 Opening audio device 'default'. ch 2(2) sr 44100 (reenc 0)
2011-01-15 11:55:21.359 Setting IEC958 status: audio
2011-01-15 11:55:21.360 Opening ALSA audio device 'default'.
2011-01-15 11:55:21.360 in SetParameters(format=2, channels=2, rate=44100, buffer_time=400000, period_time=25000)
2011-01-15 11:55:21.360 get_buffer_size returned 16384
2011-01-15 11:55:21.360 set_period_time_near returned 92879
2011-01-15 11:55:21.360 get_period_size returned 4096
2011-01-15 11:55:21.360 Opening mixer /dev/mixer
ALSA lib control.c:882:(snd_ctl_open_noupdate) Invalid CTL /dev/mixer
2011-01-15 11:55:21.361 AudioOutput Warning: Mixer attach error -2: No such file or directory
                        Check Mixer Name in Setup: '/dev/mixer'
2011-01-15 11:55:21.361 Setting PCM volume to 100
2011-01-15 11:55:21.361 Setting PCM volume to 100
2011-01-15 11:55:21.361 AO: Audio fragment size: 6144
2011-01-15 11:55:21.361 AO: Audio Stretch Factor: 1
2011-01-15 11:55:21.361 AO: Ending reconfigure
2011-01-15 11:55:21.361 AO: kickoffOutputAudioLoop: pid = 13008
2011-01-15 11:55:21.361 AO: OutputAudioLoop: Play Event
2011-01-15 11:55:21.830 AO: Killing AudioOutputDSP
2011-01-15 11:55:21.832 AO: OutputAudioLoop: Stop Event
2011-01-15 11:55:21.832 AO: kickoffOutputAudioLoop exiting
2011-01-15 11:55:21.832 AO: Original audio codec was AC3
2011-01-15 11:55:21.832 AudioOutputALSA::GetSupportedRates opening default
2011-01-15 11:55:21.833 AO: Sample rate 44100 is supported
2011-01-15 11:55:21.833 AO: Using resampler. From: 48000 to 44100
2011-01-15 11:55:21.833 Opening audio device 'default'. ch 2(2) sr 44100 (reenc 0)
2011-01-15 11:55:21.833 Setting IEC958 status: audio
2011-01-15 11:55:21.833 Opening ALSA audio device 'default'.
2011-01-15 11:55:21.834 in SetParameters(format=2, channels=2, rate=44100, buffer_time=400000, period_time=25000)
2011-01-15 11:55:21.834 get_buffer_size returned 16384
2011-01-15 11:55:21.834 set_period_time_near returned 92879
2011-01-15 11:55:21.834 get_period_size returned 4096
2011-01-15 11:55:21.834 Opening mixer /dev/mixer
ALSA lib control.c:882:(snd_ctl_open_noupdate) Invalid CTL /dev/mixer
2011-01-15 11:55:21.834 AudioOutput Warning: Mixer attach error -2: No such file or directory
                        Check Mixer Name in Setup: '/dev/mixer'
2011-01-15 11:55:21.834 Setting PCM volume to 100
2011-01-15 11:55:21.834 Setting PCM volume to 100
2011-01-15 11:55:21.834 AO: Audio fragment size: 6144
2011-01-15 11:55:21.834 AO: Audio Stretch Factor: 1
2011-01-15 11:55:21.834 AO: Ending reconfigure
2011-01-15 11:55:21.834 AO: kickoffOutputAudioLoop: pid = 13008
2011-01-15 11:55:21.834 AO: OutputAudioLoop: Play Event
2011-01-15 11:55:21.834 AO: Pause 1
2011-01-15 11:55:21.836 AO: OutputAudioLoop: audio paused
2011-01-15 11:55:22.228 VideoOutputXv: XVideo Adaptor Name: 'Intel(R) Textured Video'
2011-01-15 11:55:22.314 
 unsupported attribute 
2011-01-15 11:55:22.314 
 unsupported attribute 
2011-01-15 11:55:22.330 OSD Theme Dimensions W: 640 H: 480
2011-01-15 11:55:22.443 AO: Pause 1
2011-01-15 11:55:22.447 AO: OutputAudioLoop: audio paused
2011-01-15 11:55:22.449 New DB connection, total: 3
2011-01-15 11:55:22.493 TV: Changing from None to WatchingPreRecorded
2011-01-15 11:55:22.493 New DB connection, total: 4
2011-01-15 11:55:22.511 The realtime priority setting is not enabled.
2011-01-15 11:55:22.522 Connected to database 'mythconverg' at host: myth
2011-01-15 11:55:22.528 Connected to database 'mythconverg' at host: myth
2011-01-15 11:55:22.534 OpenGLVideoSync()
2011-01-15 11:55:22.585 ScreenSaverX11Private: DPMS Deactivated 1
2011-01-15 11:55:22.628 OpenGLVideoSync: GLX_SGI_video_sync extension not supported by driver.
2011-01-15 11:55:22.628 ~OpenGLVideoSync() -- closing opengl vsync
2011-01-15 11:55:22.646 Video timing method: USleep with busy wait
> 2011-01-15 11:55:22.668 AFD: Opened codec 0xa8a571a0, id(MPEG2VIDEO) type(Video)
> 2011-01-15 11:55:22.668 NVP(0): Disabling Audio, params(-1,-1,-1)
> 2011-01-15 11:55:22.668 AO: Killing AudioOutputDSP
> 2011-01-15 11:55:22.669 AO: OutputAudioLoop: Stop Event
> 2011-01-15 11:55:22.669 AO: kickoffOutputAudioLoop exiting
2011-01-15 11:55:22.669 Setting IEC958 status: audio
2011-01-15 11:55:22.700 AFD: Opened codec 0x9a3e6b0, id(MPEG2VIDEO) type(Video)
2011-01-15 11:55:22.700 AFD: codec AC3 has 0 channels
2011-01-15 11:55:22.700 AFD: Opened codec 0x9a3ee00, id(AC3) type(Audio)
2011-01-15 11:55:22.700 AFD: Audio Track #1 is A/V stream #1 and has 0 channels in the English language(6647399).
2011-01-15 11:55:22.702 AFD: Audio is disabled - trying to restart it
2011-01-15 11:55:22.702 AFD: AC3 changed from 0 to 2 channels (frame 0)
2011-01-15 11:55:22.702 AFD: Selected track 1: English AC3 2ch (A/V Stream #1)
2011-01-15 11:55:22.702 AFD: Audio is disabled - trying to restart it
2011-01-15 11:55:22.702 AFD: Selected track 1: English AC3 2ch (A/V Stream #1)
2011-01-15 11:55:22.702 AFD: Audio is disabled - trying to restart it



-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/  


More information about the mythtv-users mailing list