[FFmpeg-devel] [PATCH] mov/aac: skip initial aac padding

Nicolas George nicolas.george at normalesup.org
Sun Jul 15 16:49:06 CEST 2012

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.

But I do not object to the patch, considering this is a temporary solution
until we get samples.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120715/bb1a5725/attachment.asc>

More information about the ffmpeg-devel mailing list