Ask Your Question
0

VIDEOIO ERROR: V4L2: getting property #7 is not supported

asked 2018-09-14 07:45:35 -0600

pagi gravatar image

I want to count frame per second of my recorded video when i use this Capture.get(CV_CAP_PROP_FRAME_COUNT); it gives me following error VIDEOIO ERROR: V4L2: getting property #7 is not supported any help???? thanks in advance

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2018-09-14 08:38:11 -0600

kbarni gravatar image

The CV_CAP_PROP_FRAME_COUNT will give you the number of frames in a video file. That doesn't apply for a camera (as you don't know how many frames will it capture).

I think you want to use CV_CAP_PROP_FPS which gives you the number of frames per second.

More on the VideoCapture class.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-09-14 07:45:35 -0600

Seen: 6,070 times

Last updated: Sep 14 '18