AGENT SKILL

video_frame_extraction

Use ffmpeg to extract keyframes from a video file into a target directory.

License 许可
MIT
最近更新
2026-10-02
Stars
★ 93
Forks
8

01 前言 Front Matter

name
video_frame_extraction
description
Use ffmpeg to extract keyframes from a video file into a target directory.

03 SKILL.md 正文

To extract keyframes from /root/super-mario.mp4 and save them as PNG files in the /root/ directory, use the following FFmpeg command:

ffmpeg -i /root/super-mario.mp4 -vf "select='eq(pict_type,I)'" -vsync vfr /root/keyframes_%03d.png

This command extracts only the I-frames (key frames) and saves them with the required naming convention (/root/keyframes_%03d.png).

04 同仓库更多 Skills