[FFmpeg-trac] #9775(avformat:closed): incorrect duration when start not zero

FFmpeg trac at avcodec.org
Fri Sep 9 17:01:25 EEST 2022


#9775: incorrect duration when start not zero
--------------------------------------+------------------------------------
             Reporter:  delpeck       |                    Owner:  (none)
                 Type:  defect        |                   Status:  closed
             Priority:  normal        |                Component:  avformat
              Version:  git-master    |               Resolution:  fixed
             Keywords:  mov duration  |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
--------------------------------------+------------------------------------
Comment (by Balling):

 So, no, it does not fix remainder. Two bugs are opened about it: #9140,
 #7828. Someone needs to fix this thing, fixed by Chromium. And BTW,
 102400samples_qt-lc-aac.m4a is also not correctly handled: iTunSMPB says
 how much samples should be deleted in the start (those are deleted
 correctly) and how much in the end, ffmpeg does not delete those (Apple
 style remainder). Duration is 0x19000 samples from 4th actual subfield of
 iTunSMPB, so 102400 samples. Those remove ALL silence in the end. See
 https://imgur.com/a/GWbIxjA

 '''2.342993 duration is absolutely wrong, it is 2.321973 or 2.321972.'''
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9775#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list