Ffmpeg Keyframe Extraction
Extract key frames (I-frames) from video files using FFmpeg command line tool. Use this skill when the user needs to pull out keyframes, thumbnails, or important frames from MP4, MKV, AVI, or other video formats for analysis, previews, or processing.
Install
npx skills add UCSB-NLP-Chang/Skill-Usage --skill ffmpeg-keyframe-extractiongit clone --depth 1 https://github.com/UCSB-NLP-Chang/Skill-Usage.git /tmp/Skill-Usage
mkdir -p ~/.claude/skills
cp -r /tmp/Skill-Usage/tasks/mario-coin-counting/environment/skills/ffmpeg ~/.claude/skills/ffmpeg-keyframe-extractionPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# FFmpeg Keyframe Extraction Extract key frames (I-frames) from video files using FFmpeg CLI. ## Prerequisites - FFmpeg installed and available in PATH - Input video file (MP4, MKV, AVI, MOV, etc.) ## Methods ### Method 1: Select Filter (More Control) ```bash ffmpeg -i <input_video> -vf "select='eq(pict_type,I)'" -vsync vfr <output_pattern> Method 2: Skip Frame (Faster) ffmpeg -skip_frame nokey -i <input_video> -vsync vfr <output_pattern> Key Options Option Description -i <file> Input video file -vf "select='eq(pict_type,I)'" Filter selecting only I-frames -skip_frame nokey Skip decoding non-keyframes (performance) -vsync vfr Variable frame rate, prevents duplicates -q:v <n> Quality (1-31, lower = better, for JPEG) -frame_pts 1 Use presentation timestamp in filename Output Patterns frame_%03d.png - PNG sequence (frame_001.png, frame_002.png...) frame_%03d.jpg - JPEG sequence frame_%d.bmp - BMP sequence Examples Basic PNG extraction: ``` ffmpeg -i video.mp4 -vf "select='eq(pict_type,I)'" -vsync vfr keyframe_%03d.png High-quality JPEG: ``` ``` ffmpeg -i video.mp4 -skip_frame nokey -vsync vfr -q:v 2 keyframe_%03d.jpg With timestamps: ``` ``` ffmpeg -i video.mp4 -vf "select='eq(pict_type,I)'" -vsync vfr -frame_pts 1 keyframe_%d.png ``` To specific directory: ``` ffmpeg -i video.mp4 -vf "select='eq(pict_type,I)'" -vsync vfr ./output/keyframe_%03d.png
Details
- Skill name
ffmpeg-keyframe-extraction- Repository
- UCSB-NLP-Chang/Skill-Usage
- Path
tasks/mario-coin-counting/environment/skills/ffmpeg/SKILL.md- Repo updated
- 8 April 2026
FAQ
What does the Ffmpeg Keyframe Extraction skill do?
Extract key frames (I-frames) from video files using FFmpeg command line tool. Use this skill when the user needs to pull out keyframes, thumbnails, or important frames from MP4, MKV, AVI, or other video formats for analysis, previews, or processing.
How do I install the Ffmpeg Keyframe Extraction skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add UCSB-NLP-Chang/Skill-Usage --skill ffmpeg-keyframe-extraction. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Ffmpeg Keyframe Extraction popular?
It lives in UCSB-NLP-Chang/Skill-Usage, which has 49 GitHub stars and 5 forks.
Related skills
Pubchem Database
49UCSB-NLP-Chang/Skill-Usage
Query PubChem via PUG-REST API/PubChemPy (110M+ compounds). Search by name/CID/SMILES, retrieve properties, similarity/substructure searches, bioactivity, for cheminformatics.
Pymatgen
49UCSB-NLP-Chang/Skill-Usage
Materials science toolkit. Crystal structures (CIF, POSCAR), phase diagrams, band structure, DOS, Materials Project integration, format conversion, for computational materials science.
Rdkit
49UCSB-NLP-Chang/Skill-Usage
Cheminformatics toolkit for fine-grained molecular control. SMILES/SDF parsing, descriptors (MW, LogP, TPSA), fingerprints, substructure search, 2D/3D generation, similarity, reactions. For standard workflows with simpler interface, use datamol (wrapper around RDKit). Use rdkit for advanced control, custom sanitization, specialized algorithms.
FFmpeg Media Info
49UCSB-NLP-Chang/Skill-Usage
Analyze media file properties - duration, resolution, bitrate, codecs, and stream information
FFmpeg Format Conversion
49UCSB-NLP-Chang/Skill-Usage
Convert media files between formats - video containers, audio formats, and codec transcoding
Ffmpeg Video Editing
49UCSB-NLP-Chang/Skill-Usage
Video editing with ffmpeg including cutting, trimming, concatenating segments, and re-encoding. Use when working with video files (.mp4, .mkv, .avi) for: removing segments, joining clips, extracting portions, or any video manipulation task.
Browse the most popular Claude skills, all images, video & audio skills, or write your own with the skills generator.