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

Lynne dev at lynne.ee
Tue Oct 3 07:07:29 EEST 2023


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 2048 samples of padding.

Because this is also such a mess, make it an option to allow for
users to configure the amount of padding.

The FFmpeg encoder will be modified to also output 2048 samples of padding
at the start, to make it in line with other encoders.

Yes, this leaves FATE pretty sad. Will be fixed by another patch once
the discussions have completed as to what should be the default.

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


More information about the ffmpeg-devel mailing list