LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

uvcdynctrl

Control UVC webcam dynamic settings

TLDR

List connected cameras
$ uvcdynctrl -l
copy
List available controls for the default device
$ uvcdynctrl -c
copy
List available controls for a specific device
$ uvcdynctrl -d [device_name] -c
copy
Get the current value of a control
$ uvcdynctrl -g "[control_name]"
copy
Set a control to a specific value
$ uvcdynctrl -s "[control_name]" -- [value]
copy
List supported frame formats
$ uvcdynctrl -f
copy
Save current control state to a file
$ uvcdynctrl -W [filename]
copy
Load control state from a file
$ uvcdynctrl -L [filename]
copy

SYNOPSIS

uvcdynctrl [OPTIONS] [VALUES]

DESCRIPTION

uvcdynctrl manages dynamic controls in the uvcvideo Linux kernel driver. It allows adjusting camera settings like brightness, contrast, exposure, white balance, and other UVC-specific controls.The tool works with USB Video Class (UVC) compatible webcams and cameras. It can also import custom control definitions from XML files for vendor-specific extensions.

PARAMETERS

-l, --list

List all connected UVC cameras.
-d, --device NAME
Use a specific device (default: video0).
-c, --clist
List available controls for the selected device.
-g, --get CONTROL
Get current value of a control.
-G, --get_raw unitid:selector_
Get raw control value by unit ID and selector.
-s, --set CONTROL VALUE
Set a control to the given value.
-S, --set_raw unitid:selector VALUE_
Set a raw control value (hex string; prefix with (BE) for big-endian).
-f, --formats
List supported frame formats.
-i, --import FILE
Import dynamic controls from an XML file.
-a, --addctrl VID
Load dynamic controls for a vendor ID from the default system location.
-W, --save FILE
Save device control state to a file.
-L, --load FILE
Load device control state from a file.
-v, --verbose
Enable verbose output.
-V, --version
Display version information.

CAVEATS

Only works with UVC-compatible cameras. Available controls depend on the hardware. For negative values, use -- before the value to prevent interpretation as an option flag.

SEE ALSO

Copied to clipboard
Kai