Skip to content

Simple command-line application for controlling camera settings through V4L2.

License

Notifications You must be signed in to change notification settings

dgsiegel/camera-control

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

camera-control

camera-control

Info

Simple command-line application for controlling camera settings.

Based on source code posted by AlexOD42 at showmewebcam/showmewebcam#56

Dependencies

sudo apt-get install libncurses5-dev libncursesw5-dev 

Compilation

make

How to use

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

Run

./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

User interface

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

About

Simple command-line application for controlling camera settings through V4L2.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 98.3%
  • Makefile 1.7%