The Personal Blog of Lennart Koopmann _

Stream: Configuring Linux/Ubuntu Webcam settings from CLI

A recording of my Twitch stream live demo showing how you can use Video4Linux/v4l2 v4l2-ctl to change your webcam settings (like brightness, saturation or white balance) with a script from your shell or terminal.

I trigger the scripts from a Stream Deck to quickly switch between webcam lighting configuration. For example, I want different white balance and brightness settings when the sun shines through my window in the morning. With this setup, I can switch between the settings with a simple button press on the Stream Deck.