[FFmpeg-trac] #10159(undetermined:reopened): filter trim/concat with single frames not working correctly

FFmpeg trac at avcodec.org
Sat Feb 4 00:29:31 EET 2023


#10159: filter trim/concat with single frames not working correctly
-------------------------------------+-------------------------------------
             Reporter:  hoby87       |                    Owner:  (none)
                 Type:  defect       |                   Status:  reopened
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  filter trim  |               Blocked By:
  concat                             |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by hoby87):

 well, my "final" workaround works by setting setpts to PTS-STARTPTS+1000
 for each single frame from trim but not for the first. Multiframes get
 just setpts=PTS-STARTPTS. With this I get an output without dropping or
 duplicating any frame.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10159#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list