ffmpeg-keyframe-extraction

Extract I-frames from MP4, MKV, AVI, and MOV videos using FFmpeg.

4|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/GeneralReasoning/env-skillsbench --skill ffmpeg-keyframe-extraction-generalreasoning
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ffmpeg-keyframe-extraction
Source: https://github.com/GeneralReasoning/env-skillsbench/tree/main/mario-coin-counting/environment/skills/ffmpeg
Command: npx skills add https://github.com/GeneralReasoning/env-skillsbench --skill ffmpeg-keyframe-extraction-generalreasoning

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables quick extraction of key frames (I-frames) from video files using FFmpeg for creating thumbnails, previews, or frame-based analyses.

Core Features & Use Cases

  • I-frame extraction: generate a sequence of key frames from common video formats for quick previews.
  • Flexible output options: choose output formats and frame sequence naming.
  • Use Case: when you need thumbnails for a video gallery or to analyze scene changes across frames.

Quick Start

Use FFmpeg to extract I-frames from a video and save them as a frame sequence.

Frequently Asked Questions about ffmpeg-keyframe-extraction

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract keyframes from a video using FFmpeg?

To extract keyframes, use FFmpeg to filter I-frames from video files and save them as an image sequence. The skill processes MP4, MKV, AVI, and MOV inputs to generate frame sequences for previews or analysis.

What video formats can I use for I-frame extraction?

I-frame extraction supports common video formats including MP4, MKV, AVI, and MOV inputs. These files are processed to output a sequence of keyframe images for thumbnails or frame-based analysis.

Do I need to install FFmpeg separately to extract video keyframes?

Yes, you need FFmpeg installed and available in your system PATH to extract video keyframes. The skill relies on the FFmpeg command-line tool to process video files and generate the keyframe image sequence.

When should I extract I-frames instead of all frames from a video?

Extract I-frames when you need quick thumbnails, video gallery previews, or frame-based analysis of scene changes. This approach outputs only key frames, reducing the total number of images compared to extracting every single frame.

Can I generate thumbnails for a video gallery using keyframe extraction?

Yes, keyframe extraction is used for thumbnail generation and creating quick previews. By extracting I-frames from the video, you get a sequence of images suitable for a video gallery without processing every single frame.