# Video Frames

> Extract frames or short clips from videos using ffmpeg.

- Skill: `casibase/video-frames` (Agent Skill)
- Install (CLI): `npx skillmds@latest add casibase/video-frames`
- Raw SKILL.md: https://api.skillmd.com/api/skills/casibase/video-frames/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: casibase (https://skillmd.com/u/casibase)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/casibase/video-frames

---


# 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.

