Hi, after checking the fate sample and further testing I noticed that the stated framerate is not always correct and can lead to wrong results. I didnĀ“t find one single method to make it work correct in any case, so I added a fallback. av_frame_get_pkt_duration works for most files. Otherwise the average of the earlier pts steps is used to calculate the number of the final frame.
Please comment....
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