Opened 2 months ago

Last modified 3 days ago

#6833 open defect

setpts filter incorrect handle current_pts value

Reported by: Ratio Owned by:
Priority: important Component: avfilter
Version: git-master Keywords: fps setpts regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
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 (2)

comment:1 Changed 2 months 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.

comment:2 Changed 3 days ago by cehoyos

  • Keywords fps setpts regression added
  • Priority changed from normal to important
  • Reproduced by developer set
Note: See TracTickets for help on using tickets.