Hi,

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!

Please comment....

Attachment: 0001-avfilter-vf_fps-fix-duration.patch
Description: Binary data

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to