跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
视频与音频

video-frames

Extract a single frame from a local video at the first frame, a timestamp, or a zero-based frame index using FFmpeg.

iflytek · 已有 AI 审核记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add iflytek/skillhub --skill video-frames

技能说明


name: video-frames description: Extract a single frame from a local video at the first frame, a timestamp, or a zero-based frame index using FFmpeg. version: 1.0.0 license: MIT

Video Frames (ffmpeg)

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

Quick start

First frame:

bash scripts/frame.sh /path/to/video.mp4 --out /tmp/frame.jpg

At a timestamp:

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

At a zero-based frame index:

bash scripts/frame.sh /path/to/video.mp4 --index 42 --out /tmp/frame-42.png

Notes

  • Prefer --time for "what is happening around here?".
  • Use a .jpg for quick share; use .png for crisp UI frames.
  • --index accepts a non-negative integer only.
  • The script never overwrites an existing output. Choose a new path or remove the old file only after the user explicitly asks to replace it.