360 Secure SkillHub
360 安全技能中心

video-frames

该 Skill 通过 scripts/frame.sh 调用 ffmpeg,从指定视频文件中按首帧、时间戳或帧索引提取一张图像,支持输出 .jpg 或 .png,适合快速查看画面或制作缩略图。需要本机安装 ffmpeg,基础用法为 sh scripts/frame.sh <video> [--time HH:MM:SS] [--index N] --out <frame>。

steipete
steipete
热度 36.59
最近更新 2026-09-16 05:34:21
分类:效率依赖:代码执行 / 读写文件应用场景:视频编辑 / 文件转换 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add video-frames
Metadata
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.