[MPlayer-dev-eng] [PATCH] make mplayer recognize DTS-HD in m2ts files

Kirill Belokurov kirill.belokurov at gmail.com
Mon Mar 17 14:40:54 CET 2008


Hi!

The attached patch adds the stream_type 0x86 which identifies AUDIO_DTS in 
m2ts files found in the Blu-Ray movies, for example. To add some connection, 
here is a changelog entry of previous commit related to the similar issue:
------------------------------------------------------------------------
r25962 | nicodvb | 2008-02-09 01:45:26 +0200 (Sat, 09 Feb 2008) | 1 line

in some still unknown system format 0x82 identifies AUDIO_DTS
------------------------------------------------------------------------

where the change was:

===================================================================
Index: libmpdemux/demux_ts.c
===================================================================
--- libmpdemux/demux_ts.c       (revision 25961)
+++ libmpdemux/demux_ts.c       (revision 25962)
@@ -2413,6 +2413,7 @@
                                pmt->es[idx].type = AUDIO_A52;
                                break;
                        case 0x8A:
+                       case 0x82:
                                pmt->es[idx].type = AUDIO_DTS;
                                break;
                        case 0xEA:
===================================================================

I have also provided more information in this email to the ffmpeg-devel list:
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-March/043699.html

Regards,
Kirill
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer_ts.diff
Type: text/x-diff
Size: 323 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080317/47dfded0/attachment.diff>


More information about the MPlayer-dev-eng mailing list