[FFmpeg-devel] [PATCH]Change stream id for DTS in mpeg program streams

Michael Niedermayer michaelni at gmx.at
Sun Aug 25 19:05:36 CEST 2013


On Sun, Aug 25, 2013 at 01:10:05PM +0200, Carl Eugen Hoyos wrote:
> Hi!
> 
> Attached patch was suggested (and tested) in ticket #1398 (it is not 
> related to the ticket), I don't have access to the relevant specification 
> but several other open source projects use 0x88 for dts in mpegps.
> The relevant original commit is 23c99253.
> 
> Please comment, Carl Eugen

>  mpeg.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 37a9bb70d97fc0a2b38b8e9d8cec2443674b5952  patchmpegdts.diff
> diff --git a/libavformat/mpeg.h b/libavformat/mpeg.h
> index a1e8980..cf10d6a 100644
> --- a/libavformat/mpeg.h
> +++ b/libavformat/mpeg.h
> @@ -41,7 +41,7 @@
>  #define AUDIO_ID 0xc0
>  #define VIDEO_ID 0xe0
>  #define AC3_ID   0x80
> -#define DTS_ID   0x8a
> +#define DTS_ID   0x88
>  #define LPCM_ID  0xa0
>  #define SUB_ID   0x20

if 0x88 is what other tools use then its ok


>  

> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130825/2af6fe18/attachment.asc>


More information about the ffmpeg-devel mailing list