Created
September 8, 2022 02:56
-
-
Save c3l3si4n/2232f82df3e0ba92ca7b6c0ad1a5027f to your computer and use it in GitHub Desktop.
Using v4l2-ctl to make camera look like it's zooming in and out continuously
This file contains 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
while true; for i in (seq 100 200); v4l2-ctl --set-ctrl=zoom_absolute=$i ; sleep 0.05; end; for i in (seq 200 -1 100); v4l2-ctl --set-ctrl=zoom_absolute=$i ; sleep 0.05; end; end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment