Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

videoCapture.get(Videoio.CAP_PROP_FPS) returns 0 #32

Closed
mdagraca opened this issue May 23, 2018 · 2 comments
Closed

videoCapture.get(Videoio.CAP_PROP_FPS) returns 0 #32

mdagraca opened this issue May 23, 2018 · 2 comments

Comments

@mdagraca
Copy link

mdagraca commented May 23, 2018

I'm using your lib version 3.2.0-1, Java 1.8.0_51 and I test my app in OSX 10.11.6 and Windows 10
I use this line:
videoCapture.get(Videoio.CAP_PROP_FPS);

to get the webcamera fps. In OSX, it works fine but in Windows 10, it returns 0.
Why? is there other way to get it?
Thanks

@vonnieda
Copy link
Member

Some of the properties are not supported in some operating systems. This is a function / feature of OpenCV, and is not related to this library specifically. In other words, if OpenCV supported the feature, it would work in this library, but since they don't, it doesn't.

@mdagraca
Copy link
Author

OK, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants