Skip to content

Instantly share code, notes, and snippets.

@c3l3si4n
Created September 8, 2022 02:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save c3l3si4n/2232f82df3e0ba92ca7b6c0ad1a5027f to your computer and use it in GitHub Desktop.
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
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