- Stream video from USB Camera (Logitech C920 and Microsoft LifeCam HD-3000) to another laptop. Low latency is top priority. 24+ FPS is preferred
- At the same time, I want to use that camera for OpenCV stuff.
What I did:
Installed v4l-utils, libv4l-dev
Installed all uv4l packages (uv4l-uvc, uv4l-webrtc, ...)
uv4l achieves the first goal perfectly. I can start the server on the Pi with
uv4l --driver uvc --device-id [bus]:[id] --config-file /etc/uv4l/uv4l-uvc.conf(I followed this: Configuring uv4L for webRTC using USB camera on RPI2 raspbian
However, uv4l seems to "disable v4l2". Before installing uv4l, I can do
vlc v4l2:///dev/video0and the camera shows up. I can also run my OpenCV program, which takes the input of the camera. This is how I open and control my camera: https://pastebin.com/kP7zaz8V I also followed this guide: https://stackoverflow.com/questions/15035420/configuring-camera-properties-in-new-ocv-2-4-3
After I installed uv4l, I can't open my camera with
vlc v4l2:///dev/video0. VLC can't open the buffer. My OpenCV program prints out "VIDIOC_QBUF: No such device"
Does anyone know how to fix this? If it can't be fixed, what are good alternatives for uv4l? I'm using a Raspberry Pi 3 Model B. Thank you