video-extractor

Extract opening and ending frames from video files using ffmpeg.

Updated Dec 5, 2025
One-click install
npx skills add https://github.com/wangtengda0310/prompt --skill video-extractor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: video-extractor
Source: https://github.com/wangtengda0310/prompt/tree/main/skills/video-extractor
Command: npx skills add https://github.com/wangtengda0310/prompt --skill video-extractor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

视频工作流中需要快速获取视频的首尾帧,但手动截取耗时且易出错。本技能提供自动化工具,简化从视频中提取首尾帧的过程,提升工作效率。

Core Features & Use Cases

  • 自动提取首帧与尾帧:从视频中提取指定数量的开头和结尾帧图片,保存为 JPG/PNG。
  • 支持不同格式:兼容常见视频格式(mp4、mov、avi 等),并输出统一命名。
  • 使用场景:短视频预览、视频摘要、样本截取等。

Quick Start

Instruct the AI to extract the first and last frames from a video file using this tool.

Frequently Asked Questions about video-extractor

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

FAQPage Schema
How do I automatically extract opening and ending frames from a video?

To automatically extract opening and ending frames, this tool interfaces with ffmpeg to capture specified frame sequences. It pulls the first and last frames from input videos and saves them directly to a specified directory as JPG or PNG files.

How to generate video thumbnails for previews and sample frame extraction?

Generating video thumbnails for previews requires extracting key frames like the opening shot. This tool automates sample frame extraction, pulling the first and last frames from your video files to create quick visual summaries for media processing workflows.

Do I need ffmpeg installed to extract first and last frames from video files?

Yes, you need ffmpeg installed and accessible in your system PATH to extract first and last frames. The tool relies on ffmpeg's video processing capabilities to decode common formats like mp4, mov, and avi, outputting unified file names.

Does the frame extraction tool support common video formats like mov and avi?

Yes, the frame extraction tool supports common video formats including mp4, mov, and avi. It processes these input files to extract the opening and ending frames, automatically saving the output images with unified naming conventions to your directory.

What is the best way to get video summary frames without manual screenshotting?

The best way to get video summary frames without manual screenshotting is using an automated extraction tool. By leveraging ffmpeg, it accurately captures the exact opening and ending frames, avoiding the errors and time consumption of manual video scrubbing.