# Video Frames

Extract a single frame from a local video at the first frame, a timestamp, or a...

- Repository: https://github.com/iflytek/skillhub (5351 stars)
- Category: Media
- License: MIT
- Last updated: 2026-10-31
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add iflytek/skillhub --skill video-frames -g -a claude-code -y`
Codex: `npx skills add iflytek/skillhub --skill video-frames -g -a codex -y`
Cursor: `npx skills add iflytek/skillhub --skill video-frames -g -a cursor -y`
Gemini CLI: `npx skills add iflytek/skillhub --skill video-frames -g -a gemini-cli -y`

## Description

Extract a single frame from a local video at the first frame, a timestamp, or a zero-based frame index using FFmpeg.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Video Frames (ffmpeg)

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

## Quick start

First frame:

```bash
bash scripts/frame.sh /path/to/video.mp4 --out /tmp/frame.jpg
```

At a timestamp:

```bash
bash scripts/frame.sh /path/to/video.mp4 --time 00:00:10 --out /tmp/frame-10s.jpg
```

At a zero-based frame index:

```bash
bash scripts/frame.sh /path/to/video.mp4 --index 42 --out /tmp/frame-42.png
```

## Notes

- Prefer `--time` for "what is happening around here?".
- Use a `.jpg` for quick share; use `.png` for crisp UI frames.
- `--index` accepts a non-negative integer only.
- The script never overwrites an existing output. Choose a new path or remove the
  old file only after the user explicitly asks to replace it.

