Opened 6 days ago

Last modified 6 days ago

#6833 open defect

setpts filter incorrect handle current_pts value

Reported by: Ratio Owned by:
Priority: normal Component: avfilter
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
fps filter use current_pts to duplicate frames at end, but current_pts > last pts after setpts filter and fps insert too many frames at end.
Example must be 5 sec, but 10 actually
How to reproduce:

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

Change History (1)

comment:1 Changed 6 days ago by Cigaes

  • Status changed from new to open
  • Version changed from unspecified to git-master

Indeed, that would have that consequence. I will try to find a solution.

Note: See TracTickets for help on using tickets.