Using a USB camera with Ardusub and Raspberry Pi

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!

1 Like

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

why?

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?