brutella / hkcam

Open-Source HomeKit Surveillance Camera
https://hochgatterer.me/hkcam/
Apache License 2.0
925 stars 141 forks source link

USB camera on Raspberry #25

Open svh1985 opened 5 years ago

svh1985 commented 5 years ago

Can I also use a 720p USB camera with a Raspberry?

libewa commented 3 years ago

I think, no, because it uses the CSI of Pi Zero W

brutella commented 3 years ago

Yes, it should work. You have to find out which input device (/dev/video?) represents the USB camera and set the launch arguments accordingly.

--input_filename=/dev/video?

libewa commented 3 years ago

Yes, it should work. You have to find out which input device (/dev/video?) represents the USB camera and set the launch arguments accordingly.

/dev/video IS the CSI! Probably it's /dev/usbX. But I can't test, I don't have any cam, not for CSI, not for USB.

brutella commented 3 years ago

/dev/video IS the CSI! Probably it's /dev/usbX

No, I connected a USB camera and multiple /dev/video devices did show up. One of them was for the camera stream.

libewa commented 3 years ago

/dev/video IS the CSI! Probably it's /dev/usbX

No, I connected a USB camera and multiple /dev/video devices did show up. One of them was for the camera stream.

OK...