[FFmpeg-devel] [PATCH] Revert "matroskaenc: refuse to write AAC without valid extradata"

Vittorio Gambaletta (VittGam) ffmpeg-dev at vittgam.net
Mon Sep 21 12:24:28 CEST 2015

On 21/09/2015 12:15:48 CEST, Hendrik Leppkes wrote:
> AAC without extradata is invalid, there is no discussion about that.
> As wm4 says, just because ffmpeg accepts it anyway doesn't really change that.

Ok. So, how can I check that the resulting file actually has missing AAC extradata,
despite ffmpeg not complaining about it when fed with the output file?

The sample rate is definitely there in the output file, so ffmpeg might be just
reconstructing it from the other data it has:

> Stream #0:1(eng): Audio: aac (LC), 48000 Hz, stereo, fltp (default)

If you need sample files I can provide them privately. It's broadcast mpeg-ts,

More information about the ffmpeg-devel mailing list