360 Secure SkillHub
360 安全技能中心

Video Frames

通过 shell 脚本调用 ffmpeg,从本地视频文件的指定时间点或帧索引提取单帧图片,输出 jpg 或 png;命令支持 --time、--index 与 --out 参数,SKILL.md 内含 openclaw 元数据并声明对 ffmpeg 可执行文件的依赖。

分类:效率
utromaya-code
utromaya-code
热度 47.48
最近更新 2026-05-11 17:35:15

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add utromaya-code/video-frames-extractor
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
video-frames
description
Extract frames or short clips from videos using ffmpeg.
homepage
https://ffmpeg.org
metadata
{"openclaw":{"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.