Getting video streams from USB camera connected to Microhard Add-on module
-
I am trying to get the video streams from a USB camera which is connected to the J4 connector on the Microhard Add-on module (https://docs.modalai.com/microhard-add-on-datasheet/)
As this camera is connected to an add-on modem, how to configure it & get video streams from it?
I am able to get the streams from internal cameras (RTSP video using MIPI cameras https://docs.modalai.com/voxl-rtsp/) but struggling to get the streams from the USB camera.
-
There are a few steps you can take to bring up a new USB camera. First of all, the camera must be UVC compliant. The best thing to do is to test it out on a Linux PC first and verify that it works there. Some tips: 1. Use the 'lsusb' command before and after you plug the camera in to see if it is showing up. 2. If you see the device with 'lsusb', look in /dev to see if it shows up as a /dev/videox device. So, do 'ls /dev/video*' before plugging in the camera and after plugging in the camera to see if it appears. 3. If everything looks good you should be able to stream from it using voxl-streamer.
-
Hi Eric,
Thank you for the help.I confirmed that the camera is UVC compliant.
Also, the camera is detected on my personal laptop.But unfortunately can not see it in VOXL the list (lsusb) not showing the camera.
before
after
Do I need to install any specific drivers for it?
-
No, you shouldn't need anything special to see it with 'lsusb'. If you run 'dmesg -wH' and then plug in the camera do you see any messages printed? Another thing you can try is to free up the adb port by using ssh over wifi instead of adb. Then plug the camera into the adb port and see if you see it with 'lsusb'. It's possible you are seeing a power issue and the adb USB port can deal with more power.
-
Hi Eric,
lsusb not working.
I have tried with the dmesg -wH & got the following message printed
Let me know any suggestions and how to proceed & thank you for helping..!
(Also, I am trying with ADB port (Need to find a connector to connect the camera with it))
-
What cable / connector were you using to connect to your laptop? What does your laptop show for lsusb for the device? On your laptop, please use ```
lsusb -v -d vendor:product -
I am having a similar problem but I was able to confirm that the camera was being seen by the voxl it was under /dev/video2.
However, it then said that /dev/video2 was not found when running when initiating ffmpeg.
-
@Caleb-Rievley Our recommendation is to use voxl-uvc-server and voxl-streamer for UVC cameras. Documentation is at: https://docs.modalai.com/voxl-streamer/#streaming-uvc-cameras-from-voxl-uvc-server, https://docs.modalai.com/voxl-streamer, and https://docs.modalai.com/voxl-uvc-server