[FFmpeg-devel] [PATCH 2/2] aacdec: padding skip improvements

Lynne dev at lynne.ee
Thu Oct 19 05:38:51 EEST 2023


Change from the previous version: by default, the current behaviour
of the decoder is preserved. Samples to skip are zero by default.
We can improve this later.

For some reason, this was never set, which meant all **raw** AAC in ADTS
streams, except faac, had extra samples at the start.

Despite this being a standard MDCT-based codec with a frame size of 1024,
hence a delay of 1024 samples at the start, all major encoders, excluding
faac and ffmpeg, use different amounts of padding.

Patch attached.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-aacdec-padding-skip-improvements.patch
Type: text/x-diff
Size: 2963 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20231019/3d07abd9/attachment.patch>


More information about the ffmpeg-devel mailing list