[FFmpeg-trac] #6833(avfilter:new): setpts filter incorrect handle current_pts value
FFmpeg
trac at avcodec.org
Mon Nov 13 13:30:44 EET 2017
#6833: setpts filter incorrect handle current_pts value
----------------------------------+---------------------------------------
Reporter: Ratio | Type: defect
Status: new | Priority: normal
Component: avfilter | Version: unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+---------------------------------------
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
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6833>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list