Justin Ruggles <[email protected]> added the comment:

file size   samples
original        92160008  23039991
ffmpeg libfaac  92147756  23036928
ffmpeg aacenc   92160044  23040000
faac            92164140  23041024

What the FFmpeg native AAC encoder does seems to be pretty sensible, and it's
closest in length to the original.  It appears to have a 1024-sample delay, so
the first encode() call outputs nothing, and the extra call due to
CODEC_CAP_DELAY encodes the remaining 1024 samples in the buffer.  I'm not sure
if libfaac works in a similar way.

----------
status: new -> open
substatus: new -> reproduced
title: Audio at end of clip is cutoff -> Audio at end of clip is cutoff with 
libfaac encoder
topic: +avcodec

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue670>
________________________________________________

Reply via email to