Info

Under Linux you can change the webcam settings with v4l-utils.


  # KMJ.at / Karl M. Joch
  # Webcam Settings and Control using Linux
  # Install :
  # apt-get install v4l-utils

  v4l2-ctl -l
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=13 value=13
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=25 value=25
                     saturation 0x00980902 (int)    : min=1 max=128 step=1 default=44 value=44
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=6 value=6
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=145 value=145
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=1
                      sharpness 0x0098091b (int)    : min=0 max=140 step=1 default=30 value=30
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1

  root@s01:~# v4l2-ctl --set-ctrl brightness=-30
  root@s01:~# v4l2-ctl --set-ctrl saturation=1

  v4l2-ctl -l
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=13 value=-30
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=25 value=25
                     saturation 0x00980902 (int)    : min=1 max=128 step=1 default=44 value=1
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=6 value=6
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=145 value=145
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=1
                      sharpness 0x0098091b (int)    : min=0 max=140 step=1 default=30 value=30
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1