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

Unable to set Frame rate #15

Open
digitalprojections opened this issue Aug 8, 2019 · 4 comments
Open

Unable to set Frame rate #15

digitalprojections opened this issue Aug 8, 2019 · 4 comments

Comments

@digitalprojections
Copy link

For the last two days, I have searched all over the library, but was unable to find a way to set the frame rate. I believe this library is the best fit for my 4 camera project, but I need to have a way to control the frame rate of the cameras. How can I do that?

@digitalprojections
Copy link
Author

I also could not find and reference to framerate being set or got in Camera.cs either. There is a mention of it being set in a certain place (Camera.cs line 971), but actually there is no any action of the sort.
I have just started using C# and C++. I need your help. Please, let me know what I can do to set framerate.

@free5lot
Copy link
Owner

free5lot commented Aug 9, 2019

Unfortunately, the library does not cover every option and feature that DirectShow provides. I advise to look up how to set or change frame rate in DirectShow, check for your device and and modify the library.
If you succeed you may even provide PR to the project (do not forget about the license).

@digitalprojections
Copy link
Author

Thank you for your response. I see. I am in fact planning to add the features and contribute. I will do my best.
But what about the license? Do you mean the license for my part? What is your suggestion? I have no idea.

@free5lot
Copy link
Owner

free5lot commented Aug 9, 2019

Nice to hear, thanks!
About the license - it's LGPL:

The license allows developers and companies to use and integrate a software component released under the LGPL into their own (even proprietary) software without being required by the terms of a strong copyleft license to release the source code of their own components. However, any developer who modifies an LGPL-covered component is required to make their modified version available under the same LGPL license.

So, either Pull Request is kind of required (I would recommend it, it's easier) or the modified version should be published somewhere.
More information: https://en.wikipedia.org/wiki/LGPL

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

No branches or pull requests

2 participants