1. Home
  2. Docs
  3. UVC Camera Module
  4. Use Arducam UVC Cameras on Linux
  5. UVC Cameras on Linux – Command Line Operations

UVC Cameras on Linux – Command Line Operations

Install V4L utility packages

sudo apt-get update
sudo apt-get install v4l-utils
UVC v4l utils sudo apt get update
UVC v4l utils sudo apt get install

List the UVC devices connected to the USB port

v4l2-ctl --list-devices
UVC v4l utils list device

Some devices will display 2 video nodes as follows:

UVC v4l utils video device listed

One of the devices is used for regular YUV/MJPEG compression outputs, and the other is used for H.264 coding output. The users can use different programs to open the two devices at the same time, H.264 for streaming and MJPEG for audio recording or computer vision processing.

List the detailed information of each video node

You can check the features of each video node, like compression format, resolutions and so on.

List video0:

v4l2-ctl --list-formats-ext -d 0
UVC v4l utils video device listed 0

List video1:

v4l2-ctl --list-formats-ext -d 1
UVC v4l utils video device listed 1

Was this article helpful to you? Yes No