Skip to main content
ClaudeWave
Skill5.2k repo starsupdated today

video-frames

This Claude Code skill extracts individual frames or thumbnails from video files using ffmpeg commands. Use it when you need to inspect specific moments in a video by timestamp or frame number, generate quick preview images for sharing, or capture crisp screenshots for UI documentation.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/the-open-agent/openagent /tmp/video-frames && cp -r /tmp/video-frames/skills/video-frames ~/.claude/skills/video-frames
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

# Video Frames (ffmpeg)

Extract a single frame from a video, or create quick thumbnails for inspection.

## Quick start

First frame:

```bash
ffmpeg -hide_banner -loglevel error -y \
  -i /path/to/video.mp4 \
  -vf "select=eq(n\,0)" \
  -vframes 1 \
  /tmp/frame.jpg
```

At a timestamp:

```bash
ffmpeg -hide_banner -loglevel error -y \
  -ss 00:00:10 \
  -i /path/to/video.mp4 \
  -frames:v 1 \
  /tmp/frame-10s.jpg
```

By frame index:

```bash
ffmpeg -hide_banner -loglevel error -y \
  -i /path/to/video.mp4 \
  -vf "select=eq(n\,42)" \
  -vframes 1 \
  /tmp/frame42.jpg
```

## Notes

- Prefer `-ss` + timestamp for "what is happening around here?".
- Use `.jpg` for quick sharing; use `.png` for crisp UI frames.
- Use `-hide_banner -loglevel error` to suppress verbose ffmpeg output.