[FFmpeg-trac] #6833(avfilter:open): setpts filter incorrect handle current_pts value

FFmpeg trac at avcodec.org
Mon Oct 8 18:00:37 EEST 2018

#6833: setpts filter incorrect handle current_pts value
             Reporter:  Ratio        |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  avfilter
              Version:  git-master   |               Resolution:
             Keywords:  fps setpts   |               Blocked By:
  regression                         |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |

Comment (by telequid):

 Note: with latest FFmpeg (4.0.2), calling the fps filter before setpts
 works (output is 5 seconds long).

 ffmpeg -f lavfi -i testsrc=duration=10 -vf trim=5,fps=25,setpts=PTS-5/TB
 -pix_fmt yuv420p 1.mkv

 The command line provided in the OP still doesn't work.

Ticket URL: <https://trac.ffmpeg.org/ticket/6833#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list