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
npx -y skills add cxcscmu/SkillLearnBench --skill ffmpeg-keyframesAssembled 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.