[FFmpeg-devel] [PATCH] Allow autodetecting PS and SBR for AAC without extradata.
Reimar.Doeffinger at gmx.de
Tue Aug 16 20:07:48 CEST 2011
On Tue, Aug 16, 2011 at 08:45:50AM +0000, Carl Eugen Hoyos wrote:
> Michael Niedermayer <michaelni <at> gmx.at> writes:
> > On Wed, Aug 10, 2011 at 09:02:08PM +0200, Reimar Döffinger wrote:
> > > This was possible before and was broken when this code was added.
> > > + ac->m4ac.sbr = -1;
> > > + ac->m4ac.ps = -1;
> > iam CCing that to alex, as i think he wrote this and might have some
> > comments
> Alex believes he has written above patch:
Did someone actually test it?
With only that any broken (well, as long as it is not too broken)
first frame will cause the configuration to be locked and after
that you will run straight into the
"Implicit SBR was found with a first occurrence after the first frame."
Without the other part of my patch this will only work with some
theoretical perfect streams, but not with any real-world raw streams.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5120 bytes
Desc: not available
More information about the ffmpeg-devel