[FFmpeg-trac] #10903(undetermined:new): Concatenating images using the framerate option results in unexpected durations

FFmpeg trac at avcodec.org
Thu Mar 14 12:36:47 EET 2024


#10903: Concatenating images using the framerate option results in unexpected
durations
-------------------------------------+-------------------------------------
             Reporter:  sycxyc       |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  concat       |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Gyan):

 Strictly speaking, there is a bug, but it has been useful to exploit it in
 the past to rescale video speed, so there wasn't much incentive to correct
 it.

 *the bug is that the concat demuxer calculates a delta value for the
 exported pts scaled to the current input's stream time base, however the
 exported pts is denominated in terms of the first input's stream time
 base, so the delta when added to the exported pts results in an unexpected
 value (when the input streams don't share the same TB).
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10903#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list