[FFmpeg-devel] [PATCH] mov/aac: skip initial aac padding
michaelni at gmx.at
Tue Jul 17 17:20:35 CEST 2012
On Sun, Jul 15, 2012 at 04:49:06PM +0200, Nicolas George wrote:
> L'octidi 28 messidor, an CCXX, Michael Niedermayer a écrit :
> > this would fail when one seeks to the 2nd data packet and that still
> > needs skiping.
> That is true. I was hoping it could not happen.
> > the amount of samples to skip can be encoder dependant, 2112 is just
> > the fallback value if there is nothing specified (i have no file that
> > specifies anything it seems so i implemented just that case)
> Until we can get our hands on samples and examine them, any solution that
> works will do, IMHO. I am worried that doing things in the demuxer requires
> adding special cases to all demuxers that can contain AAC, while doing it in
> the decoder will always be in effect. That is what I kept in mind while
> working on libopus.
the way i understood it was that there is not enough information
in the aac bitstream to know what and where to skip. If thats untrue
and it can all be done purely in the decoder then this indeed would
be very preferable
> But I do not object to the patch, considering this is a temporary solution
> until we get samples.
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel