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

- Skill: `bishal-pdmsft/ffmpeg-keyframe-extraction-3` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx get-skill add bishal-pdmsft/ffmpeg-keyframe-extraction-3`
- Raw SKILL.md: https://api.skillmd.com/api/skills/bishal-pdmsft/ffmpeg-keyframe-extraction-3/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: Complete terms in LICENSE.txt
- Author: bishal-pdMSFT (https://skillmd.com/u/bishal-pdmsft)
- Updated: 2026-11-15
- Page: https://skillmd.com/skills/bishal-pdmsft/ffmpeg-keyframe-extraction-3

---


# FFmpeg Keyframe Extraction

This skill covers I-frame extraction from common container formats (MP4,
MKV, AVI, MOV) using the FFmpeg command-line tool, intended for thumbnail
generation, preview synthesis, and downstream frame-level analysis.

## Scope

- Input: a container-formatted video file readable by the system FFmpeg
  build.
- Output: a sequence of image files (PNG / JPEG / BMP) corresponding to the
  I-frames in the input.
- Environment: FFmpeg on PATH; a working directory for the output sequence.

## Workflow reference

The actionable procedures, command templates, parameter reference, and
worked examples for this skill live in the bundled reference document
`ffmpeg_keyframe_reference.pdf`, located alongside this file. Open it and
apply its contents in order before running any command against a real
video. The reference is the authoritative source for this skill; the
content in this file alone is not sufficient to complete an extraction.

