[FFmpeg-trac] #2325(undetermined:open): MP4 AAC Audio is delayed by 2ms when converted to PCM

FFmpeg trac at avcodec.org
Thu Aug 4 16:36:59 EEST 2022


#2325: MP4 AAC Audio is delayed by 2ms when converted to PCM
-------------------------------------+-------------------------------------
             Reporter:  BChap        |                    Owner:  (none)
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  aac mov      |               Blocked By:
  regression                         |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Balling):

 >mdhd.duration is also different after -c copy. Oogh.

 It is actually the same, while post-editlist durations (mvhd and tkhd)
 become wrong, 238915 vs 238800.

 Anyway after #9671 '''looks like''' decoding to wav is more correct, i.e.
 it does not cut off too much good sound in the begenning. By looks like I
 mean I compared to Don't Shut Me Down.'''flac''' that has 3m 58s 800ms (to
 get 800 ms info I used Medianfo in "advanced mode"), while after #9671 you
 get when decoding HE-AAC to WAV 3m 58s 819ms but original aac file in
 Mediainfo says -19 ms should be done (Duration_LastFrame: -19 ms) due to
 editlist duration. And that way both are the same. We really need to do
 https://bugs.chromium.org/p/chromium/issues/detail?id=668999
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/2325#comment:23>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list