sinner icon indicating copy to clipboard operation
sinner copied to clipboard

Rounded FPS

Open pozitronik opened this issue 1 year ago • 1 comments

It seems that when source FPS is fractionary (e.g. like 29.97004) and target FPS is the same, any h264/h265 encoded videos have the same problem with broken rewind in the end part of the target video. The solution is to round up FPS values by default.

pozitronik avatar Oct 07 '23 19:10 pozitronik

That problem may be not linked with fractionary FPS, but with methods of the frame extracting itself. Frames are extracted using CV2, but resulting video is always made with ffmpeg, and so there can be the source of the problem.

pozitronik avatar Oct 13 '23 18:10 pozitronik