agentsclimarketplace

Ffmpeg keyframes

Skill cxcscmu/SkillLearnBench/skills/b1-one-shot-claude-opus-4-6/video-object-counting/ffmpeg-keyframes

Extract key frames (I-frames) from video files using FFmpeg for analysis and processing.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill ffmpeg-keyframes

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

0.8 KB, 195 tokens by cl100k_base, as published. Nobody here has run it

FFmpeg Key Frame Extraction

Overview

Extract I-frames (keyframes) from video files. Keyframes are complete frames that don't depend on other frames for decoding.

Command

ffmpeg -i input.mp4 -vf "select=eq(pict_type\,I)" -vsync vfr output_%03d.png

Flags

  • -vf "select=eq(pict_type\,I)": Select only I-frames (key frames)
  • -vsync vfr: Variable frame rate to avoid duplicate frames
  • %03d: Zero-padded 3-digit numbering

Output

Produces files like output_001.png, output_002.png, etc. in timeline order.

Verify

ffprobe -i input.mp4 -select_streams v -show_frames -show_entries frame=pict_type | grep -c "pict_type=I"

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.