跳到正文
Skillpedia
视频剪辑12k · #11579

video-frames

它能做什么

这项技能使用 ffmpeg 从你电脑上的视频文件中截取一张图片。适合需要缩略图,或想查看某个具体时刻画面的人。

适用场景

  • ✓当你想截取视频中某个特定时刻的静态图片时。
  • ✓当你需要视频的第一帧作为缩略图时。
  • ✓当你在调试视频或屏幕录像,需要查看某一帧画面的时候。

技能链接

https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/video-frames/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/video-frames/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能