video-frames
它能做什么
这项技能使用 ffmpeg 从你电脑上的视频文件中截取一张图片。适合需要缩略图,或想查看某个具体时刻画面的人。
适用场景
- ✓当你想截取视频中某个特定时刻的静态图片时。
- ✓当你需要视频的第一帧作为缩略图时。
- ✓当你在调试视频或屏幕录像,需要查看某一帧画面的时候。
技能链接
https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/video-frames/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我截取这段视频第 10 秒的画面,保存为 JPEG 格式。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会运行一个辅助脚本,使用 ffmpeg 在指定的时间或帧序号处提取一帧,然后保存为图片文件。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Video Frames
Use this Skill to extract a single image from a local video.
Prerequisite
command -v ffmpeg
If ffmpeg is absent, tell the user what is required; do not silently install it.
skill_view returns this Skill's baseDirectory. Use the bundled helper at <baseDirectory>/scripts/frame.sh.
First frame:
<baseDirectory>/scripts/frame.sh /path/to/video.mp4 --out /tmp/frame.jpg
At a timestamp:
<baseDirectory>/scripts/frame.sh /path/to/video.mp4 --time 00:00:10 --out /tmp/frame-10s.jpg
At an exact decoded frame index:
<baseDirectory>/scripts/frame.sh /path/to/video.mp4 --index 120 --out /tmp/frame-120.png
Prefer a timestamp when investigating what happens around a moment. Use JPEG for quick sharing and PNG for crisp interface captures. Verify the output file exists before returning it to the user.
常见问题
它可以保存哪些图片格式?
JPEG 适合快速分享,PNG 更适合清晰的界面截图。
我可以通过帧号选择画面吗?
可以。你可以指定精确的帧序号,而不是时间。
它需要额外的软件吗?
需要。必须先安装 ffmpeg。如果缺少,智能体会告诉你,而不会自行安装。
详情
作者的原始描述
Extract a frame at a timestamp or frame index from a local video using ffmpeg for inspection, thumbnails, and visual debugging.
repo: EKKOLearnAI/ekko-studio
热度
- GitHub 星标
- 12k
- 排名
- #11579
- 许可证
- —
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
1password
12k帮你的智能体使用 1Password CLI 为命令和配置文件获取机密信息,同时不在聊天、日志或已保存的文件中显示这些信息。
apple-notes
12k帮你的智能体在 Mac 上使用 memo 命令行工具创建、搜索、阅读、编辑、移动或删除 Apple 备忘录。
apple-reminders
12k帮你的智能体在 Mac 上使用 remindctl 工具列出、创建、编辑、完成或删除 Apple 提醒事项及提醒列表。
document-to-action-items
12k帮你的智能体把文档、会议记录或一组笔记,整理成一张清晰的任务、负责人、截止日期和决定的表格。