[FFmpeg-devel] MPEG-TS: stream ID for DTS-HRA under the HDMV regid

Ian Caulfield ian.caulfield
Mon Sep 21 14:46:39 CEST 2009


Might be worth adding in 0x86 for DTS-HD MA as well, although I don't
have a test disc myself...

2009/9/21 Christian P. Schmidt <schmidt at digadd.de>:
> Hi guys,
>
> A bluray wiht DTS-HRA has been encountered in the wild. The changes to
> the DTS detection in revision 19844 broke detection for DTS-HRA somehow.
>
> Attached patch adds the codec ID to the mpeg-ts demuxer.
>
> Regards,
> Christian
>
> Index: libavformat/mpegts.c
> ===================================================================
> --- libavformat/mpegts.c ? ? ? ?(revision 19949)
> +++ libavformat/mpegts.c ? ? ? ?(working copy)
> @@ -509,6 +509,7 @@
> ? ? { 0x80, CODEC_TYPE_AUDIO, CODEC_ID_PCM_BLURAY },
> ? ? { 0x81, CODEC_TYPE_AUDIO, CODEC_ID_AC3 },
> ? ? { 0x82, CODEC_TYPE_AUDIO, CODEC_ID_DTS },
> + ? ?{ 0x85, CODEC_TYPE_AUDIO, CODEC_ID_DTS }, /* DTS-HRA */
> ? ? { 0x90, CODEC_TYPE_SUBTITLE, CODEC_ID_HDMV_PGS_SUBTITLE },
> ? ? { 0 },
> ?};
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>



More information about the ffmpeg-devel mailing list