video-loop
Video Loop
Prepare a background video with an optional end-to-start crossfade and MP4/WebM encoding. Verify repeated playback before claiming an invisible transition; motion and source continuity can still make the join visible.
All ffmpeg work happens in scripts/video-loop.sh — this skill validates inputs, optionally helps pick a good fade duration, invokes the script, and turns the script's summary into a human-readable report.
Parameters
| Flag | Default | Description |
|---|---|---|
-d <seconds> |
1.5 |
Crossfade duration in seconds |
-q <crf> |
26 |
H.264 CRF — 18 = high quality, 28 = smaller file |
-w <crf> |
32 |
VP9 WebM CRF |
-o <dir> |
Same as input | Output directory |
-p |
off | Also extract a poster frame (first frame as JPEG) |
-C |
off | Disable the crossfade — optimize and encode only (-n accepted as a deprecated alias) |
No
-s/-Ssave-mode flag. Unlike media-cluster siblings (/audio-loop,/markitdown), video-loop outputs are web assets (MP4 / WebM / poster) the user drops directly into their site's video directory. No downstream skill consumes video files via-f, so the~/.agents/output/<skill>/<project>/convention would add ceremony without enabling anything —-o <dir>is the direct path.