Last active
November 1, 2023 16:34
-
-
Save ethzero/e95b9de42a0d9ed268d07aca1dcd4540 to your computer and use it in GitHub Desktop.
Logitech C922 v4l2-ctl settings. Tuned for 3D Printing timelapse photograph in OctoPrint.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Logitech C922 v4l2-ctl settings. Tuned for 3D Printing timelapse photography in OctoPrint. | |
| # Copyright (C) 2022 <[email protected]> | |
| # | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. | |
| # | |
| # This program is distributed in the hope that it will be useful, | |
| # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| # GNU General Public License for more details. | |
| # | |
| # You should have received a copy of the GNU General Public License | |
| # along with this program. If not, see <https://www.gnu.org/licenses/>. | |
| # Fixed the focus, exposure, and zoom level | |
| v4l2-ctl --set-ctrl=focus_auto=0 | |
| v4l2-ctl --set-ctrl=focus_absolute=50 | |
| v4l2-ctl --set-ctrl=zoom_absolute=100 | |
| v4l2-ctl --set-ctrl=exposure_auto_priority=0 | |
| v4l2-ctl --set-ctrl=exposure_auto=1 | |
| v4l2-ctl --set-ctrl=exposure_absolute=500 | |
| ## Zoom value range for C922 is 100-120 | |
| v4l2-ctl --set-ctrl=zoom_absolute=100 | |
| # Adjust lighting parameters for a low, warm light | |
| v4l2-ctl --set-ctrl=brightness=150 | |
| v4l2-ctl --set-ctrl=contrast=128 | |
| v4l2-ctl --set-ctrl=saturation=128 | |
| v4l2-ctl --set-ctrl=sharpness=128 | |
| v4l2-ctl --set-ctrl=white_balance_temperature_auto=0 | |
| v4l2-ctl --set-ctrl=white_balance_temperature=3250 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment