Home        Store        Docs        Blog

Using a USB camera with Ardusub and Raspberry Pi


(Madi Howard) #1

Hi all,

I was wondering if anyone had tried using a USB webcam with the raspberry pi camera to add an additional camera view to the ROV? Or if anyone had used the USB camera in place of the Pi cam. Please share if you have!


(Jacob) #2

Do you have a usb camera and pi on hand? You can use v4l2-ctl to see the output formats that your camera provides, and use v4l2src or uvch264src as the source element for a gstreamer pipeline.

-Jacob


(xiaoshi) #3

why?


(xiaoshi) #4


(Jacob) #5

This script was designed for a specific USB camera. Different USB cameras require different settings/options. What the script looks for specifically is a camera with support for H.264 output.

  • What kind of camera are you using?
  • Can you show the entire output of the following commands?