Copyright (c) 2018-2021 Antmicro
A small python utility for controlling video4linux cameras. It queries user-controls from the v4l2 devices and creates a TUI to display and adjust their values.
Features vi-like keybindings.
Key | Function |
---|---|
q | quit app |
? | toggle help |
s | toggle statusline |
⇧ ⇆ | select previous tab |
⇆ | select next tab |
d | reset to default |
D | reset all to default |
k / ↑ | select previous control |
j / ↓ | select next control |
u / , | decrease value by step |
p / . | increase value by step |
U / < | decrease value by 10 steps |
P / > | increase value by 10 steps |
h / ← | decrease value by 1% / set value false / previous choice |
l / → | increase value by 1% / set value true / next choice |
H / ⇧ ← | decrease value by 10% |
L / ⇧ → | increase value by 10% |
^ / ⇤ | set value to minimum |
$ / ⇥ | set value to maximum |
⏎ | negate value / click button |
Option | Description |
---|---|
-r | Restore current parameter values. Optionally takes a filename as an argument and restores from that file. If no filename is specified, it restores from a file named '.pyvidctrl-' followed by the driver name. |
-s | Store current parameter values. Optionally takes a filename as an argument and saves to that file. If no filename is specified, it saves to a file named '.pyvidctrl-' followed by the driver name. |
-d | Specifies the path to the camera device node or its ID. Default is "/dev/video0". |
pip install git+https://github.com/antmicro/pyvidctrl