Skip to content

Instantly share code, notes, and snippets.

View nokhiz's full-sized avatar
:electron:
Focusing

Meer nokhiz

:electron:
Focusing
View GitHub Profile
## v2g - Cam or Screen Video to GIF Function
# This function captures a video from the screen or camera and converts it to a GIF.
# It requires 'ffmpeg' to be installed.
#
# Usage Examples:
# v2g --o "my_custom_output.gif"
# v2g --src "c"
# v2g --fr 24 --d 5
# v2g --src "c" --fr 24 --d 5 --fps 15 --scl 640 --f lanczos --o "custom_output.gif"