[FFmpeg-devel] Support TrueHD for MPEG Transport Stream format

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Oct 21 18:00:07 CEST 2013


刘 岐 <lingjiujianke <at> gmail.com> writes:

> --- a/libavformat/mpeg.h
> +++ b/libavformat/mpeg.h

>  #define STREAM_TYPE_VIDEO_CAVS      0x42
> 
>  #define STREAM_TYPE_AUDIO_AC3       0x81
> +#define STREAM_TYPE_AUDIO_TRUEHD    0x83

How is this related?

> --- a/libavformat/mpegts.c
> +++ b/libavformat/mpegts.c

>  /* ATSC ? */
>  static const StreamType MISC_types[] = {
>      { 0x81, AVMEDIA_TYPE_AUDIO,   AV_CODEC_ID_AC3 },
> +    { 0x83, AVMEDIA_TYPE_AUDIO,   AV_CODEC_ID_TRUEHD },

Do you have a sample that needs this part of the 
patch to be decoded?

Carl Eugen



More information about the ffmpeg-devel mailing list