fps=12scripts/video_to_gif.py from this skill directory.MEDIA:<path> if delivering in chat.bash
python3 /root/.openclaw/workspace/skills/video-to-gif/scripts/video_to_gif.py \
input.mp4 output.gif \
--start 00:00:02 --duration 4 \
--fps 12 --width 480
Useful options:
--start: clip start time, e.g. 3.5 or 00:00:03.500--duration: clip length in seconds or timestamp format--end: alternative to duration--fps: lower values reduce size; 10–15 is usually good--width: scale output width while preserving aspect ratio--height: scale output height while preserving aspect ratio--output-format gif|webp: WebP is usually much smaller than GIF--loop: 0 means loop forever--max-colors: GIF palette colors, default 256; lower reduces size--width 360 --fps 10.The script requires ffmpeg and ffprobe on PATH. If missing, tell the user the dependency is absent and do not attempt risky system installation without confirmation.