Skip to main content

video-frames

Extract frames or short clips from videos using ffmpeg.

来源信息

仓库
the-open-agent/openagent
最近来源活动
2026年5月21日 16:58
检测到的 SKILL.md 语言
英语
星标
5,725
Forks
671

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
video-frames
description
Extract frames or short clips from videos using ffmpeg.
homepage
https://ffmpeg.org
metadata
{"emoji":"🎬","requires":{"bins":["ffmpeg"]}}
# Video Frames (ffmpeg) Extract a single frame from a video, or create quick thumbnails for inspection. ## Quick start First frame: ```bash ffmpeg -hide_banner -loglevel error -y \ -i /path/to/video.mp4 \ -vf "select=eq(n\,0)" \ -vframes 1 \ /tmp/frame.jpg ``` At a timestamp: ```bash ffmpeg -hide_banner -loglevel error -y \ -ss 00:00:10 \ -i /path/to/video.mp4 \ -frames:v 1 \ /tmp/frame-10s.jpg ``` By frame index: ```bash ffmpeg -hide_banner -loglevel error -y \ -i /path/to/video.mp4 \ -vf "select=eq(n\,42)" \ -vframes 1 \ /tmp/frame42.jpg ``` ## Notes - Prefer `-ss` + timestamp for "what is happening around here?". - Use `.jpg` for quick sharing; use `.png` for crisp UI frames. - Use `-hide_banner -loglevel error` to suppress verbose ffmpeg output.
在 GitHub 查看