[FFmpeg-trac] #9667(avcodec:closed): HE-AAC decode samples off by one sample-time

FFmpeg trac at avcodec.org
Sat Aug 6 01:34:03 EEST 2022


#9667: HE-AAC decode samples off by one sample-time
-------------------------------------+-----------------------------------
             Reporter:  Nick         |                    Owner:  (none)
                 Type:  defect       |                   Status:  closed
             Priority:  minor        |                Component:  avcodec
              Version:  unspecified  |               Resolution:  fixed
             Keywords:  he-aac       |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-----------------------------------
Comment (by Balling):

 >the output WAV file contains 5057 samples of lead-in where 5058 samples
 are expected

 This is wrong BTW, it has 5058 samples because you count from 0. So, 0, 1,
 2, ... 5057.

 >Use ffmpeg to decode the ".aac" sample files to WAV and compare the time-
 alignment of the resulting WAV file with the original WAV file.

 You could have just used -ignore_editlist 1 that produces bitperfect file
 with raw ADTS .aac file.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9667#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list