[FFmpeg-devel] [PATCH v3 1/3] aadec: improve eof detection

Karsten Otto ottoka at posteo.de
Mon Jul 2 09:25:53 EEST 2018


> Am 02.07.2018 um 02:33 schrieb Michael Niedermayer <michael at niedermayer.cc>:
> 
>> […]
> 
> What is this additional data ?
> 

Short answer: Since there is no official format specification, nobody really knows.

Longer answer: From what I have read, the aa format is a generic frame, containing several "tagged“ sections, where the first contains a metadata dictionary, and the largest section contains the encrypted audio. The current aadec.c code is working on this level. From personal experience with the official player I know the format usually contains a cover image; I guess this might be in one of the sections after the audio. If anybody ever finds out what these sections are good for and how to use them, that would be another patch series. I only know that it is not a good idea to try and play them, hence this fix to improve eof detection.

Cheers, Karsten



More information about the ffmpeg-devel mailing list