[FFmpeg-devel] [PATCH v3] avfilter/vf_fps: fix duration
loudmax at yahoo.de
Fri Mar 24 12:39:29 EET 2017
attached patch will fix ticket #2674.
Tested with examples from ticket 2674 and other files at various frame rates.
v2: Use av_frame_get_pkt_duration to calculate count of duplication of last frame.
Use average of the earlier pts steps when av_frame_get_pkt_duration is not set.
v3: Write at least one output frame when start_time is zero or not set.
Also changed broken filter-fps-r fate ref. I missed that in v2. Sorry!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5796 bytes
Desc: not available
More information about the ffmpeg-devel