can we set FPS for a video file ?
i am trying to set fps using cap.set(cv2.CAP_PROP_FPS,10) to video file i downloaded it returning false!!
add a comment
i am trying to set fps using cap.set(cv2.CAP_PROP_FPS,10) to video file i downloaded it returning false!!
And? Doesn't it make sense? A video file is what it is and OpenCV is not a video editor. That setting is meant for cameras, should the underlying system support it. If you need to read frames of a video file at a given rate, you need to do the timing in your program.
Asked: 2020-01-06 00:51:40 -0600
Seen: 186 times
Last updated: Jan 06 '20