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

Force camera to change format #36

Open
GalHorowitz opened this issue Jul 30, 2017 · 0 comments
Open

Force camera to change format #36

GalHorowitz opened this issue Jul 30, 2017 · 0 comments

Comments

@GalHorowitz
Copy link

The usb webcam I use supports both yuyv and mjpg, the problem is, it's default is yuyv, and I need mjpg. So when use v4l2 camera it shows up as yuyv. The thing is, I found a solution. If I run fswebcam using -p mjpg, it manages to take a picture, and somehow now the camera changed state to mjpg (v4l2 now recognizes it correctly). So SOMEHOW there is a way to change the state. Could the library support it?

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

1 participant