Simple command-line application for controlling camera settings.
Based on source code posted by AlexOD42 at showmewebcam/showmewebcam#56
sudo apt-get install libncurses5-dev libncursesw5-dev make
Usage:
Available options are
-c file Path to config file
-d Disable unsupported controls
-h Print this help screen and exit
-i control_variable Ignore control with defined variable name\n");
-l List available controls
-v device V4L2 Video Capture device
# default config file - /boot/camera.txt
# default v4l2 device - /dev/video0
./camera-ctl
# List control variables
./camera-ctl -l
# Ignore selected controls by their variable name
./camera-ctl -i h264_i_frame_period -i h264_profile -i h264_level
| keyboard key | action |
|---|---|
| Up | Previous item |
| Down | Next item |
| Home | First item |
| End | Last item |
| Left | Decrease value by one step |
| Right | Increase value by one step |
| PgDn | Decrease value by ten steps |
| PgUp | Increase value by ten steps |
| R | Reset all items |
| D | Set default value for current item |
| N | Set minimum value for current item |
| M | Set maximum value for current item |
| L | Load settings from config file |
| S | Save settings to config file |
| Q | Quit application |
