USB camera image formats

The low light USB camera docs mention h264 hardware. Does the camera also support raw yuv frames?

What is the output of

v4l2-ctl --list-formats /dev/videoX

Thank you

Hi Carl,

You can use --list-formats-ext, it’ll show the available formats and resolutions for extra information.
The output of the low light USB camera is:

$ v4l2-ctl --list-formats-ext 
ioctl: VIDIOC_ENUM_FMT
	Index       : 0
	Type        : Video Capture
	Pixel Format: 'MJPG' (compressed)
	Name        : Motion-JPEG
		Size: Discrete 1920x1080
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.040s (25.000 fps)
			Interval: Discrete 0.067s (15.000 fps)
		Size: Discrete 1280x720
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.040s (25.000 fps)
			Interval: Discrete 0.067s (15.000 fps)
		Size: Discrete 800x600
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.040s (25.000 fps)
			Interval: Discrete 0.067s (15.000 fps)
		Size: Discrete 640x480
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.040s (25.000 fps)
			Interval: Discrete 0.067s (15.000 fps)
		Size: Discrete 640x360
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.040s (25.000 fps)
			Interval: Discrete 0.067s (15.000 fps)
		Size: Discrete 352x288
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.040s (25.000 fps)
			Interval: Discrete 0.067s (15.000 fps)
		Size: Discrete 320x240
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.040s (25.000 fps)
			Interval: Discrete 0.067s (15.000 fps)
		Size: Discrete 1920x1080
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.040s (25.000 fps)
			Interval: Discrete 0.067s (15.000 fps)

	Index       : 1
	Type        : Video Capture
	Pixel Format: 'YUYV'
	Name        : YUYV 4:2:2
		Size: Discrete 640x480
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.040s (25.000 fps)
			Interval: Discrete 0.067s (15.000 fps)
		Size: Discrete 800x600
			Interval: Discrete 0.067s (15.000 fps)
		Size: Discrete 640x360
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.040s (25.000 fps)
			Interval: Discrete 0.067s (15.000 fps)
		Size: Discrete 352x288
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.040s (25.000 fps)
			Interval: Discrete 0.067s (15.000 fps)
		Size: Discrete 320x240
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.040s (25.000 fps)
			Interval: Discrete 0.067s (15.000 fps)
		Size: Discrete 640x480
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.040s (25.000 fps)
			Interval: Discrete 0.067s (15.000 fps)

Do you want to use H264 as an ARDUSUB relationship? Or as a raspberry, because I currently want to use FA-202 which is specific to raspberry, thank you.

Hi @sengo,

You should use any compressed method like H264, we recommend using webcams that can provide H264 output because of the gstreamer pipeline used in companion. If you want to use any other format, you’ll need to modify the pipeline to support your webcam type.

Thanks, I understand

In addition to h264, what else to pay attention to. Thank you

Hi sengo,

The camera hardware must have an USB and a V4L interface to allow a better configuration. For underwater operations, usually low-light sensibility is a important feature.

@sengo If you get the usb camera in our store, you can be sure it will work. https://www.bluerobotics.com/store/electronics/cam-usb-low-light-r1/

I want to change the setting of 5 in the axis monitor. How to change it?

Only 4 analog axes are used. You can configure them with the ‘calibrate’ button.

I do not understand. Because the calibration key, after the press, did not calibrate this 5, and then did not appear between 0-14, only by pressing the rocker in front of the bottom of the key to see the white point moving, thank you

You cannot use the rocker. Only the joysticks and the buttons.

I am using the game joystick.

You cannot use axis 5. Only the ones that move with the thumb sticks.

This one

ok thank you.

I used the H264 lens to connect the image for the first time. Later, it was gone. What is wrong with this? How to fix it.
:sweat_smile:

It’s not clear what the problem is. I do not know what you did. You can try the troubleshooting steps here:
https://www.ardusub.com/troubleshooting/troubleshooting.html#no-video

It’s really hard to have a H264 lens.

My transmission line must be cut and soldered at least two times during the installation process.

However, there are h264 lenses, as long as the transmission line has shear and re-welding, it will not work.

I cut the heavy weld and didn’t change the length.

So I bought one more line this time.

Is to test

really

Replace with uncut line

There is an image

But you know

I have to do waterproof joints

So must be cut

But once cut

There is no video

I only have a way to do it after I have edited it.

But I have to cut at least two places.

Is this what is the reason

Is there a way to solve

There is still this problem

I thought it was a broken lens.

So buy different labels

The result is still the same

I have repeatedly checked the line, so it is definitely not a problem of not being soldered or disconnected or wrong.

The meter measurement path is normal

The voltage is also around 5.25

But just can’t

Trouble pointing me

Troublesome

Thank you for your help, my basic construction has been completed. I want to add a propeller, as shown in the drawing. Currently it is Figure 1. To change the picture 2. Is there a way, thank you5555555555