[mythtv-commits] Ticket #11941: No audio playback on DVDs with 16-bit stereo PCM audio tracks

MythTV noreply at mythtv.org
Mon Nov 11 23:35:49 UTC 2013


#11941: No audio playback on DVDs with 16-bit stereo PCM audio tracks
-----------------------------------+----------------------------
 Reporter:  peper03                |          Owner:  jyavenard
     Type:  Bug Report - General   |         Status:  new
 Priority:  minor                  |      Milestone:  unknown
Component:  MythTV - Audio Output  |        Version:  0.27-fixes
 Severity:  medium                 |     Resolution:
 Keywords:                         |  Ticket locked:  0
-----------------------------------+----------------------------

Comment (by peper03):

 Appears to be the same problem as in #11519 (or very similar).  In this
 case, there is only one audio track so AvFormatDecoder::ScanStreams
 doesn't get called again, and the decoder doesn't get re-initialised.

 The problem appears to be that PCM encoded audio is assumed by ffmpeg to
 be 20 or 24 bits per sample, so is marked as 'AV_CODEC_ID_PCM_DVD'.  Then
 the 'streams changed' callback is called and MythTV opens the PCM_DVD
 codec.  When control returns to ffmpeg, it determines that the sample
 depth is only 16 bits, changes the codec to 'AV_CODEC_ID_PCM_S16BE' but
 doesn't call the callback.  Because of this, MythTV isn't informed of the
 change and the 16-bit data is fed to a decoder expecting 20 or 24 bits per
 sample.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11941#comment:1>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list