[FFmpeg-user] Unexpected aac audio duration

Bryce McLeod bryce.mcleod at codory.com
Thu Feb 20 19:08:01 EET 2020


You are most likely seeing an effect of the aac priming delay, extra
samples are added before the actual content, its normal and decoders should
account for it (the priming silence having negative presentation
timestamps). Unfortunately they don't always agree on how many samples the
delay should be (iirc some expect/use 1024 samples but then other things
like apple tools expect 2112) which can sometimes cause issues.

Sorry I know this doesn't fix what you are seeing but hopefully the
background info is useful.

-- 
Bryce McLeod

Codory Software Limited
email: bryce.mcleod at codory.com
skype: bmcleodcd
web: http://www.codory.com


Codory Software Limited is registered in England and Wales, no. 08711579.
Registered office: First Floor, Telecom House 125-135 Preston Road,
Brighton, BN1 6AF.


More information about the ffmpeg-user mailing list