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

Video capture controls API #6

Open
ramsafin opened this issue Nov 2, 2018 · 0 comments
Open

Video capture controls API #6

ramsafin opened this issue Nov 2, 2018 · 0 comments

Comments

@ramsafin
Copy link
Owner

ramsafin commented Nov 2, 2018

V4L2 controls API is needed to be able to change such properties as gain, exposure, etc.
See controls v4l2 docs for more info.

How it may work:

...
lirs::V4L2Capture capture("/dev/video0", ...);  // standard controls are utilized

capture.Set(ControlEnumWhatever, value);  // change control

Some controls require the streaming to be restarted (including new v4l2 buffers allocation).

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

1 participant