fbpx

Desktop / RPM Repository

Tweaking your webcam in RHEL 8

by ,


We have by far the largest RPM repository with NGINX module packages and VMODs for Varnish. If you want to install NGINX, Varnish, and lots of useful performance/security software with smooth yum upgrades for production use, this is the repository for you.
Active subscription is required.

Linux distros may only seem lacking support for complementary software that allows full control of the hardware.
But more often than not, you can find quite decent command-line software to control the hardware.

Webcams are no exclusions to this. You can use excellent v4l2-ctl to control your webcam.

Here’s how to do it with CentOS/RHEL 8:

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf install v4l-utils

List detailed information about video devices:

v4l2-ctl --all

Zoom:

v4l2-ctl --verbose --set-ctrl=zoom_absolute=10

Disable autofocus:

v4l2-ctl --verbose --set-ctrl=focus_auto=0

Set manual focus value:

v4l2-ctl --verbose --set-ctrl=focus_absolute=1

You can do far beyond that, depending on your specific webcam features. Just take note of parameters available in the -all command output,
and adjust as needed.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.