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

Using /dev/video0 #4

Open
alduxvm opened this issue Nov 24, 2017 · 3 comments
Open

Using /dev/video0 #4

alduxvm opened this issue Nov 24, 2017 · 3 comments

Comments

@alduxvm
Copy link

alduxvm commented Nov 24, 2017

This is not an issue, just like a question or request... how can we change it to read a device like /dev/video0 instead of the rpi camera? thanks a lot!

@WebMaestroFr
Copy link
Owner

WebMaestroFr commented Dec 1, 2017

Hi ! Sorry for the late reply.
I'm not quite sure... It uses the raspivid command (https://github.com/WebMaestroFr/rpi-mpeg-ts/blob/master/camera/index.js), but maybe this can be changed to work with more devices.
I won't have time to work on this now, sorry. Please let me know if you figure something out ;)

@mbergen
Copy link

mbergen commented Dec 1, 2017

One could quite easily replace the raspivid command with fswebcam to use /dev/video0 instead of the RPi camera. I don't have a webcam here to test, but it shouldn't be that hard.

@WebMaestroFr
Copy link
Owner

https://www.raspberrypi.org/documentation/usage/webcams

True. When I get some time I'll try it out.

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

3 participants