360 Secure SkillHub
360 安全技能中心

Dalong Video Frames

这是基于ffmpeg的视频帧提取工具,核心功能是提取视频单帧或缩略图,支持提取首帧或指定时间戳的画面,可输出jpg(便于分享)或png(画质清晰)格式。典型场景包括视频内容预览、快速查看特定时段画面、制作视频缩略图。通过shell脚本调用,输入为视频文件路径,需先通过brew安装ffmpeg才能使用。

1yihui
1yihui
热度 31.31
最近更新 2026-05-11 17:47:44
分类:效率依赖:代码执行 / 读写文件应用场景:视频编辑

安装技能

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

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