[FFmpeg-devel] [PATCH]Autodetect some AAC streams in MPEG-TS

Reimar Döffinger Reimar.Doeffinger
Sat Nov 7 23:06:49 CET 2009


On Sat, Nov 07, 2009 at 01:57:25PM -0800, Baptiste Coudurier wrote:
> On 11/7/09 6:36 AM, Carl Eugen Hoyos wrote:
> > Hi!
> >
> > Attached patch allows mplayer -demuxer lavf -ac faad to play some AAC in
> > ts streams.
> >
> > Please comment, Carl Eugen
> >
> >
> > patchaacmpegts.diff
> >
> >
> > Index: libavformat/mpegts.c
> > ===================================================================
> > --- libavformat/mpegts.c	(revision 20469)
> > +++ libavformat/mpegts.c	(working copy)
> > @@ -501,6 +501,7 @@
> >       { 0x04, CODEC_TYPE_AUDIO,        CODEC_ID_MP3 },
> >       { 0x0f, CODEC_TYPE_AUDIO,        CODEC_ID_AAC },
> >       { 0x10, CODEC_TYPE_VIDEO,      CODEC_ID_MPEG4 },
> > +    { 0x11, CODEC_TYPE_AUDIO,        CODEC_ID_AAC },
> >       { 0x1b, CODEC_TYPE_VIDEO,       CODEC_ID_H264 },
> >       { 0xd1, CODEC_TYPE_VIDEO,      CODEC_ID_DIRAC },
> >       { 0xea, CODEC_TYPE_VIDEO,        CODEC_ID_VC1 },
> >
> 
> This is AAC in LATM, I think a comment would be nice, except that,
> I'm ok with the patch. Is faad able to play LATM now ?

The hacked one in MPlayer at least, no idea if it managed to get
upstream...



More information about the ffmpeg-devel mailing list