video-frames
Agent skill fromiflytek/skillhub
Extract a single frame from a local video at the first frame, a timestamp, or a zero-based frame index using FFmpeg.
How to install video-frames
install video-frames
# install the skillhub pack with the skills CLI
npx skills add iflytek/skillhub# or add only this skill to Claude Code: copy the folder
builtin-skills/skills/video-frames/
# into
~/.claude/skills/video-frames/ (all projects)
.claude/skills/video-frames/ (one project)
1# Video Frames (ffmpeg)23Extract a single frame from a video, or create quick thumbnails for inspection.45## Quick start67First frame:89```bash10bash scripts/frame.sh /path/to/video.mp4 --out /tmp/frame.jpg11```1213At a timestamp:1415```bash16bash scripts/frame.sh /path/to/video.mp4 --time 00:00:10 --out /tmp/frame-10s.jpg17```1819At a zero-based frame index:2021```bash22bash scripts/frame.sh /path/to/video.mp4 --index 42 --out /tmp/frame-42.png23```2425## Notes2627- Prefer `--time` for "what is happening around here?".28- Use a `.jpg` for quick share; use `.png` for crisp UI frames.29- `--index` accepts a non-negative integer only.30- The script never overwrites an existing output. Choose a new path or remove the31 old file only after the user explicitly asks to replace it.
Excerpt shown under the repository's Apache-2.0 license.
