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

wm4 nfxjfg at googlemail.com
Mon Sep 21 12:34:38 CEST 2015


On Mon, 21 Sep 2015 12:24:28 +0200
"Vittorio Gambaletta (VittGam)" <ffmpeg-dev at vittgam.net> wrote:

> 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,
> anyway.

I'm interested in both the original .ts and the supposedly working mkv
produced by ffmpeg. (For testing purposes only, I don't intend to fix
it.)


More information about the ffmpeg-devel mailing list