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 v4l2 format: Invalid argument #182

Open
HandsomeDevilv112 opened this issue Oct 10, 2019 · 0 comments
Open

unable to set v4l2 format: Invalid argument #182

HandsomeDevilv112 opened this issue Oct 10, 2019 · 0 comments

Comments

@HandsomeDevilv112
Copy link

HandsomeDevilv112 commented Oct 10, 2019

I am completely stumped by this error. I'm able to connect the webcam to a browser, and I'm able to connect to OBS, but trying to run the webcam demo gives me the shown errors, then a qlua window opens, and it's sticky note yellow.
I'm thinking it's related to droidcam, but that also confuses me, as I'm able to connect to everything else.

/fast-neural-style$ qlua webcam_demo.lua -models models/instance_norm/candy.t7 -gpu 1 -webcam_idx 0
loading model from models/instance_norm/candy.t7
got here
vgg
Initializing device: /dev/video0
FPS wanted 60
Using 1 buffers
unable to set v4l2 format: Invalid argument
Camera not open at this index: Invalid argument
Camera not open at this index: No such file or directory

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