Ask Your Question
0

can we set FPS for a video file ?

asked 2020-01-06 00:51:40 -0600

i am trying to set fps using cap.set(cv2.CAP_PROP_FPS,10) to video file i downloaded it returning false!!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2020-01-06 07:36:33 -0600

mvuori gravatar image

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.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-01-06 00:51:40 -0600

Seen: 186 times

Last updated: Jan 06 '20