[Libav-user] AAC decoding delay

Info || Non-Lethal Applications info at non-lethal-applications.com
Wed Jul 2 15:56:23 CEST 2014


Dear list,

I am currently working on my own video player.
After some initial issues, it’s working pretty well.

I just tried it with a bunch of files and I found out that the audio is always precisely one frame after the video whenever the video contains AAC audio.
I tried a bunch of test files with various video codecs (mostly Pro Res and H.264), resolutions etc … whenever AAC audio is present, the audio is delayed.
The test files have all been in the QuickTime container.

The odd thing is that it’s almost always precisely one frame (+/- 1-2 ms which I’d consider measuring tolerance) which almost looks like it makes sense.

Is this a known issue with AAC audio? Am I missing something?

Best regards!

Flo


More information about the Libav-user mailing list