IT/Hardware/WebCams

From msgwiki
< IT‎ | Hardware
Revision as of 07:22, 1 November 2023 by Walttheboss (talk | contribs) (Added instructions on modifying webcam autofocus)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Notes:

Autofocus

Sometimes a new webcam will be "smart" and continously focus. Luckily you can turn this off in linux

Install the program you need.

sudo apt install v4l-utils

find the name of the device you want to change.

v4l2-ctl --list-devices

Find all the functions of that device.

v4l2-ctl -d /dev/video2 --list-ctrls-menus

Change the ones you want. Rerun the above command to make sure it has happened.

v4l2-ctl -d /dev/video2 --set-ctrl=focus_automatic_continuous=0