Video Frames

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

ekkolearnai Updated 11.8k repo stars
Ekko Studio new-chat page with Agent cards and a shared composer

File contents

Video Frames

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

Prerequisite

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:

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

At a timestamp:

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

At an exact decoded frame index:

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

ekkolearnai/hermes-studio commit 086c8918dc

Frequently asked questions

npx get-skill add ekkolearnai/video-frames-2