[FFmpeg-devel] [PATCH] Allow DTS audio copy to TS streams

Timothy Gu timothygu99 at gmail.com
Sat Apr 26 18:16:26 CEST 2014


On Apr 25, 2014 11:41 AM, "Michael Niedermayer" <michaelni at gmx.at> wrote:
>
> On Fri, Apr 25, 2014 at 02:23:41PM +1000, goodthanks wrote:
>
>
> > commit e1d519ff6e3f840e7a27db27c2d584babcbb7ac2
> > Author: goodthanks <tamlyn at internode.on.net>
> > Date:   Fri Apr 25 14:23:41 2014 +1000
> >
> >     Allow DTS audio copy to TS streams
> >
> >     Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> >
> > diff --git a/libavformat/mpegts.h b/libavformat/mpegts.h
> > index d7a9f03..7dfe844 100644
> > --- a/libavformat/mpegts.h
> > +++ b/libavformat/mpegts.h
> > @@ -58,7 +58,8 @@
> >  #define STREAM_TYPE_VIDEO_DIRAC     0xd1
> >
> >  #define STREAM_TYPE_AUDIO_AC3       0x81
> > -#define STREAM_TYPE_AUDIO_DTS       0x8a
> > +#define STREAM_TYPE_AUDIO_DTS       0x82
> > +#define STREAM_TYPE_AUDIO_TRUEHD    0x83
>
> which specification lists these values ?

https://en.wikipedia.org/wiki/Program-specific_information

0x82 DTS <http://en.m.wikipedia.org/wiki/DTS_(sound_system)> 6 channel
audio for Blu <http://en.m.wikipedia.org/wiki/Blu-ray>-ray<http://en.m.wikipedia.org/wiki/Blu-ray>
in a packetized stream
0x83 Dolby <http://en.m.wikipedia.org/wiki/Dolby_TrueHD>TrueHD<http://en.m.wikipedia.org/wiki/Dolby_TrueHD>
lossless
audio for Blu <http://en.m.wikipedia.org/wiki/Blu-ray>-ray<http://en.m.wikipedia.org/wiki/Blu-ray>in
a packetized stream

>
> [...]
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> Its not that you shouldnt use gotos but rather that you should write
> readable code and code with gotos often but not always is less readable
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list