# Video Frames

Extract a frame at a timestamp or frame index from a local video using ffmpeg for...

- Repository: https://github.com/EKKOLearnAI/ekko-studio (11634 stars)
- Category: Testing
- License: see repository
- Last updated: 2026-11-01
- Runs scripts: yes, review before use

## Install

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

## Description

Extract a frame at a timestamp or frame index from a local video using ffmpeg for inspection, thumbnails, and visual debugging.

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

# Video Frames

Use this Skill to extract a single image from a local video.

## Prerequisite

```bash
command -v ffmpeg
```

If ffmpeg is absent, tell the user what is required; do not silently install it.

`skill_view` returns this Skill's `baseDirectory`. Use the bundled helper at `<baseDirectory>/scripts/frame.sh`.

First frame:

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

At a timestamp:

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

At an exact decoded frame index:

```bash
<baseDirectory>/scripts/frame.sh /path/to/video.mp4 --index 120 --out /tmp/frame-120.png
```

Prefer a timestamp when investigating what happens around a moment. Use JPEG for quick sharing and PNG for crisp interface captures. Verify the output file exists before returning it to the user.

