About a month ago I gave a few examples on the topic of controlling your Video4Linux compatible webcam device on Ubuntu Linux operating system. Here's the link if you are interested:
Webcam settings control on Ubuntu Linux operating system
Today we will approach that topic from a different angle. We will use CLI to control our webcam device. Who would want to control visual device like webcam from CLI you might ask? I'm doing it CLI way, because I want to tweak my webcam using my Linux operating system startup scripts. That's something I can't do by using GUI.
Second reason for using CLI for webcam control could be that you feel better typing commands on your terminal instead of clicking around with your mouse. Or maybe you don't have mouse or GUI available? Anyways, lets get started...
In the last few years the functionality cost of running Linux operating system shrunk. Good hardware support is one of the last things Linux is lacking when compared to other operating systems. That isn't really Linux community's fault. The hardware manufacturers are to blame for not supporting their own hardware on operating systems other than the proprietary ones. The Linux community developers are actually doing miracles with hardware support and I thank them on doing such a great work. Web cam support was once blind spot on Linux supported hardware list. But today we have Video4Linux video capture framework supported by UVC and GSPCA web cam drivers and most web cams are working happily on our Linux PCs.
It can be very confusing for someone who have just installed Ubuntu to discover that his web cam is working, but that he has no control over settings like brightness, contrast, auto exposure etc. Typical proprietary operating system user would use controls provided by web-cam drivers to adjust these settings. But we're not left out in the cold because Linux community provides means to control our web cams. Let me present applications I use on my Ubuntu PC with my Logitech E3500, Logitech E2500 and many other no-name web cams to adjust their video and other settings.