[mythtv] No DVD audio--missing codec?

Scott Traurig straurig at comcast.net
Tue Oct 21 00:16:45 UTC 2008


DVD playback results in no audio. Internal player, 0.22 build 16578, Ubuntu
8.04. 

It ran fine in Ubuntu 7.10. 

The internal player plays the video just fine, accesses DVD menus just fine,
all controls work OK, just no audio. 

Live TV and recorded TV work OK both video and audio.

DVDs play fine in Totem or Mplayer.
 
I'm thinking a codec went missing in the upgrade to 8.04, but how to tell
which one and how best to reload it? (libdvdcss2 went missing but I caught
that one).
 
Below are some relevant snippets of the mythfrontend log (set to "verbose
all").
 
Thanks for taking a look,
 
Scott
 
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
Here's part of the log after selecting a DVD and title for playback:
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
libdvdnav: Using dvdnav version 0.1.10-xine from http://xine.sf.net
libdvdread: Using libdvdcss version 1.2.9 for DVD access
libdvdnav: DVD Title: VOLUME IDENTIFIER
libdvdnav: DVD Serial Number: 36875C59
libdvdnav: DVD Title (Alternative): 
libdvdnav: Unable to find map file '/home/mythtv/.dvdnav/VOLUME
IDENTIFIER.map'
*** Zero check failed in ifo_read.c:324
    for vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000
libdvdnav: DVD disk reports itself with Region mask 0x00c00000. Regions: 1 2
3 4 5 6
 
libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient
 
libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000950
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00003110
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
2008-10-19 10:46:53.720 Opened DVD device at //dev/scd0
libdvdnav: Language 'en' not found, using 'ÿÿ' instead
libdvdnav: Menu Languages available: ÿÿ 
libdvdnav: Language 'en' not found, using 'ÿÿ' instead
libdvdnav: Menu Languages available: ÿÿ 
2008-10-19 10:46:53.720 There are 1 titles on the disk
2008-10-19 10:46:53.721 Title 0 has 0 parts.
2008-10-19 10:46:56.011 TV: Attempting to change from None to
WatchingPreRecorded
libdvdnav: Using dvdnav version 0.1.10-xine from http://xine.sf.net
libdvdread: Using libdvdcss version 1.2.9 for DVD access
libdvdnav: DVD Title: VOLUME IDENTIFIER
libdvdnav: DVD Serial Number: 36875C59
libdvdnav: DVD Title (Alternative): 
libdvdnav: Unable to find map file '/home/mythtv/.dvdnav/VOLUME
IDENTIFIER.map'
*** Zero check failed in ifo_read.c:324
    for vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000
libdvdnav: DVD disk reports itself with Region mask 0x00c00000. Regions: 1 2
3 4 5 6
 
libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient
 
libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000950
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00003110
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
2008-10-19 10:46:56.055 Opened DVD device at //dev/scd0
libdvdnav: Language 'en' not found, using 'ÿÿ' instead
libdvdnav: Menu Languages available: ÿÿ 
libdvdnav: Language 'en' not found, using 'ÿÿ' instead
libdvdnav: Menu Languages available: ÿÿ 
2008-10-19 10:46:56.055 There are 1 titles on the disk
2008-10-19 10:46:56.055 Title 0 has 0 parts.
2008-10-19 10:46:56.128 DPMS Deactivated 
 
*** libdvdread: CHECK_VALUE failed in nav_read.c:356 ***
*** for dsi->dsi_gi.zero1 == 0 ***
 

*** libdvdread: CHECK_VALUE failed in nav_read.c:356 ***
*** for dsi->dsi_gi.zero1 == 0 ***
 
2008-10-19 10:46:57.162 AFD: Opened codec 0x839c430, id(MPEG2VIDEO)
type(Video)
2008-10-19 10:46:57.162 NVP: Disabling Audio, params(-1,-1,-1)
2008-10-19 10:46:57.162 NVP: Disabling Audio, params(0,-1,-1)
2008-10-19 10:46:57.210 VideoOutputXv: Desired video renderer 'opengl' not
available.
   codec 'MPEG2' makes 'xv-blit,xshm,xlib,' available, using 'xv-blit'
instead.
2008-10-19 10:46:57.215 VideoOutputXv: XVideo Adaptor Name: 'NV17 Video
Texture'
2008-10-19 10:46:57.283 OSD Theme Dimensions W: 640 H: 480
2008-10-19 10:46:57.932 TV: Changing from None to WatchingPreRecorded
2008-10-19 10:46:58.034 DPMS Reactivated.
2008-10-19 10:46:58.076 OpenGLVideoSync()
2008-10-19 10:46:58.080 ~OpenGLVideoSync() -- begin
2008-10-19 10:46:58.080 ~OpenGLVideoSync() -- end
2008-10-19 10:46:58.101 Video timing method: USleep with busy wait
 
*** libdvdread: CHECK_VALUE failed in nav_read.c:356 ***
*** for dsi->dsi_gi.zero1 == 0 ***
 
2008-10-19 10:46:58.134 DPMS Deactivated 
 
*** libdvdread: CHECK_VALUE failed in nav_read.c:356 ***
*** for dsi->dsi_gi.zero1 == 0 ***
 
2008-10-19 10:46:58.234 DPMS Reactivated.
2008-10-19 10:46:58.237 DPMS Deactivated 
2008-10-19 10:46:58.300 AFD: Warning, video codec 0x839c430 id(MPEG2VIDEO)
type (Video) already open.
2008-10-19 10:46:58.311 AFD: Opened codec 0x9497a20, id(DVD_SUBTITLE)
type(Subtitle)
2008-10-19 10:46:58.337 DPMS Reactivated.
2008-10-19 10:48:04.824 DPMS Deactivated 
 
*** libdvdread: CHECK_VALUE failed in nav_read.c:356 ***
*** for dsi->dsi_gi.zero1 == 0 ***
 
2008-10-19 10:48:05.061 AFD: Warning, video codec 0x839c430 id(MPEG2VIDEO)
type (Video) already open.
2008-10-19 10:48:05.062 AFD: codec AC3 has 0 channels
2008-10-19 10:48:05.073 AFD: Opened codec 0x9497fb0, id(AC3) type(Audio)
2008-10-19 10:48:05.104 Opening audio device 'default'. ch 2(2) sr 48000
2008-10-19 10:48:05.108 Opening ALSA audio device 'default'.
2008-10-19 10:48:05.177 NVP: Enabling Audio
2008-10-19 10:48:05.179 NVP: Disabling Audio, params(-1,-1,-1)
2008-10-19 10:48:05.518 AFD: Warning, video codec 0x839c430 id(MPEG2VIDEO)
type (Video) already open.
2008-10-19 10:48:05.806 AFD: codec AC3 has 0 channels
2008-10-19 10:48:05.808 AFD: Opened codec 0xa59abc40, id(AC3) type(Audio)
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
Now another section of log later on
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
2008-10-19 10:49:50.068 AFD: Subtitle track #1 is A/V stream #1 and is in
the Undetermined language(7695972).
2008-10-19 10:49:50.068 AFD: Stream #2, has id 0x128 codec id AC3, type
Audio, bitrate 0 at 0x0x9434980
2008-10-19 10:49:50.068 AFD: codec AC3 has 0 channels
2008-10-19 10:49:50.068 AFD: Looking for decoder for AC3
2008-10-19 10:49:50.069 AFD: Opened codec 0x94ac7d0, id(AC3) type(Audio)
2008-10-19 10:49:50.069 AFD: Audio Track #1 is A/V stream #2 and has 0
channels in the Undetermined language(7695972).
2008-10-19 10:49:50.069 RingBuf(//dev/scd0): CalcReadAheadThresh(9496 KB)
    -> threshhold(64 KB) min read(32 KB) blk size(256 KB)
2008-10-19 10:49:50.069 AFD: DVD Subtitle Track Map Stream id #32 track #-1 
2008-10-19 10:49:50.069 AFD: Audio is disabled - trying to restart it
2008-10-19 10:49:50.069 AFD: Selected track 1: Undetermined AC3 2ch (A/V
Stream #2)
2008-10-19 10:49:50.069 AFD: Initializing audio parms from audio track #1
2008-10-19 10:49:50.069 AFD: Audio format changed 
   from id(NONE)    -1Hz -1ch   0bps    ; id(NONE)    -1Hz -1ch   0bps   
   to   id( AC3) 48000Hz  2ch  16bps    ; id( AC3) 48000Hz  2ch  16bps   
2008-10-19 10:49:50.070 MSqlQuery: SELECT data FROM settings WHERE value =
'MythControlsVolume' AND hostname = 'monolithmc' ;
2008-10-19 10:49:50.073 AO: Killing AudioOutputDSP
2008-10-19 10:49:50.073 Opening audio device 'default'. ch 2(2) sr 48000
2008-10-19 10:49:50.073 Opening ALSA audio device 'default'.
2008-10-19 10:49:50.119 in SetParameters(format=2, channels=2, rate=48000,
buffer_time=500000, period_time=125000)
2008-10-19 10:49:50.120 get_buffer_size returned 16384
2008-10-19 10:49:50.120 set_period_time_near returned 21333
2008-10-19 10:49:50.120 get_period_size returned 1024
2008-10-19 10:49:50.121 AO: Audio fragment size: 6144
2008-10-19 10:49:50.121 MSqlQuery: SELECT data FROM settings WHERE value =
'AggressiveSoundcardBuffer' AND hostname = 'monolithmc' ;
2008-10-19 10:49:50.122 AO: Audio Stretch Factor: 1
2008-10-19 10:49:50.122 Audio Codec Used: not set
2008-10-19 10:49:50.122 AO: kickoffOutputAudioLoop: pid = 8492
2008-10-19 10:49:50.122 AO: OutputAudioLoop: Play Event
2008-10-19 10:49:50.122 AO: Ending reconfigure
2008-10-19 10:49:50.122 NVP: Enabling Audio
2008-10-19 10:49:50.122 AO: no change exiting
2008-10-19 10:49:50.123 av_remove_stream 0x80
2008-10-19 10:49:50.123 av_remove_stream: no change to cur_st
2008-10-19 10:49:50.123 av_remove_stream: removing... s->nb_streams=3 i=2
2008-10-19 10:49:50.123 av_remove_stream: renumbering streams
2008-10-19 10:49:50.123 AFD: Stream #0, has id 0x480 codec id MPEG2VIDEO,
type Video, bitrate 9496000 at 0x0x83ae1b0
2008-10-19 10:49:50.123 AFD: Looking for decoder for MPEG2VIDEO
2008-10-19 10:49:50.123 AFD: Stream #1, has id 0x32 codec id DVD_SUBTITLE,
type Subtitle, bitrate 0 at 0x0x855a890
2008-10-19 10:49:50.123 AFD: subtitle codec (Subtitle)
2008-10-19 10:49:50.123 AFD: Looking for decoder for DVD_SUBTITLE
2008-10-19 10:49:50.123 AFD: Subtitle track #1 is A/V stream #1 and is in
the Undetermined language(7695972).
2008-10-19 10:49:50.123 RingBuf(//dev/scd0): CalcReadAheadThresh(9496 KB)
    -> threshhold(64 KB) min read(32 KB) blk size(256 KB)
2008-10-19 10:49:50.123 AFD: DVD Subtitle Track Map Stream id #32 track #-1 
2008-10-19 10:49:50.123 NVP: Disabling Audio, params(-1,-1,-1)
2008-10-19 10:49:50.123 AO: Killing AudioOutputDSP
2008-10-19 10:49:50.124 AO: OutputAudioLoop: Stop Event
2008-10-19 10:49:50.124 AO: kickoffOutputAudioLoop exiting
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
And finally another section of log where the DVD is playing (but no audio)
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
2008-10-19 10:49:50.431 AFD: video timecode 56027 56027 622 0
2008-10-19 10:49:50.433 AFD: video timecode 59030 59030 655 622
2008-10-19 10:49:50.434 AFD: Audio is disabled - trying to restart it
2008-10-19 10:49:50.434 AFD: Selected track 1: Undetermined AC3 2ch (A/V
Stream #2)
2008-10-19 10:49:50.434 AFD: Audio is disabled - trying to restart it
2008-10-19 10:49:50.434 AFD: Selected track 1: Undetermined AC3 2ch (A/V
Stream #2)
2008-10-19 10:49:50.434 AFD: HandleGopStart: Key frame distance changed from
15 to 1.
2008-10-19 10:49:50.435 VBI: Bad parity in EIA-608 data (f8)
2008-10-19 10:49:50.437 AFD: video timecode 71042 62033 689 655
2008-10-19 10:49:50.441 AFD: video timecode 65036 65036 722 689
2008-10-19 10:49:50.442 AFD: Audio is disabled - trying to restart it
2008-10-19 10:49:50.442 AFD: Selected track 1: Undetermined AC3 2ch (A/V
Stream #2)
2008-10-19 10:49:50.442 AFD: Audio is disabled - trying to restart it
2008-10-19 10:49:50.442 AFD: Selected track 1: Undetermined AC3 2ch (A/V
Stream #2)
2008-10-19 10:49:50.444 AFD: video timecode 68039 68039 755 722
2008-10-19 10:49:50.448 AFD: video timecode 80051 71042 789 755
2008-10-19 10:49:50.448 AFD: Audio is disabled - trying to restart it
2008-10-19 10:49:50.448 AFD: Selected track 1: Undetermined AC3 2ch (A/V
Stream #2)
2008-10-19 10:49:50.448 AFD: Audio is disabled - trying to restart it
2008-10-19 10:49:50.448 AFD: Selected track 1: Undetermined AC3 2ch (A/V
Stream #2)
 
This last part goes on forever...
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20081020/bd929da7/attachment.htm 


More information about the mythtv-dev mailing list