video-frame-extractor

Extract JPG frames from videos at fixed intervals with ffmpeg and ffprobe.

1|1|Updated Feb 4, 2026
One-click install
npx skills add https://github.com/brianlan/improved-ai-agent --skill video-frame-extractor-brianlan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: video-frame-extractor
Source: https://github.com/brianlan/improved-ai-agent/tree/main/skills/video-frame-extractor
Command: npx skills add https://github.com/brianlan/improved-ai-agent --skill video-frame-extractor-brianlan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Automates conversion of video collections into easily browsable image datasets by extracting JPG frames at fixed intervals, while always including the first and last frames and organizing outputs per video.

Core Features & Use Cases

  • Parallel processing across many videos to speed up extraction.
  • Per-video output folders with stable naming, preserving original resolution.
  • Configurable time interval and optional recursive search for videos.
  • Random QA sampling using ffprobe to validate JPEGs across a subset of frames.

Quick Start

Provide the path to a directory containing videos and an optional time interval to begin extraction.

Frequently Asked Questions about video-frame-extractor

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

FAQPage Schema
How do I extract frames from multiple videos to create an image dataset?

To extract frames from multiple videos, provide a directory path and a time interval. The tool traverses the directory, extracts JPG frames at the specified interval, includes first and last frames, and organizes outputs into per-video folders.

Does ffmpeg support parallel frame extraction across a large directory of videos?

Yes, ffmpeg supports parallel frame extraction. This tool leverages parallel processing across many video files to speed up extraction and reports per-video results including frames written and any errors encountered.

What is the best way to sample and validate JPG frames extracted from video files?

The best way to validate extracted JPG frames is using ffprobe QA sampling. The tool performs random QA sampling with ffprobe to validate JPEGs across a subset of frames from many video files.

Can I extract frames recursively from subdirectories within my video collection?

Yes, you can extract frames recursively. The tool supports directory traversal and will search subdirectories recursively when requested to process nested video collections.

Do I need ffmpeg and ffprobe installed to extract frames from videos at fixed intervals?

Yes, you need ffmpeg and ffprobe installed. The tool requires ffmpeg to extract JPG frames at fixed intervals and ffprobe to perform random QA sampling and validate sample frames.

How to preserve original video resolution when extracting JPG frame datasets?

To preserve original resolution when extracting JPG frame datasets, the tool outputs frames without altering dimensions. Per-video output folders use stable naming while maintaining the source video's original resolution.