video-frames

steipete 的头像作者 steipete

使用ffmpeg从视频中提取帧或短片剪辑。

📖 中文导读:使用ffmpeg从视频中提取帧或短片剪辑。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: video-frames description: Extract frames or short clips from videos using ffmpeg. homepage: https://ffmpeg.org metadata: {"clawdbot":{"emoji":"🎞️","requires":{"bins":["ffmpeg"]},"install":[{"id":"brew","kind":"brew","formula":"ffmpeg","bins":["ffmpeg"],"label":"Install ffmpeg (brew)"}]}}

Video Frames (ffmpeg)

Extract a single frame from a video, or create quick thumbnails for inspection.

Quick start

First frame:

{baseDir}/scripts/frame.sh /path/to/video.mp4 --out /tmp/frame.jpg

At a timestamp:

{baseDir}/scripts/frame.sh /path/to/video.mp4 --time 00:00:10 --out /tmp/frame-10s.jpg

Notes

  • Prefer --time for “what is happening around here?”.
  • Use a .jpg for quick share; use .png for crisp UI frames.