Agent Skills
› iflytek/skillhub
› video-frames
video-frames
GitHub利用 FFmpeg 从本地视频提取单帧图像,支持按首帧、时间戳或索引定位,适用于快速预览和缩略图生成。
Trigger Scenarios
需要从视频中提取截图
生成视频缩略图
检查视频特定时刻的画面
Install
npx skills add iflytek/skillhub --skill video-frames -g -y
SKILL.md
Frontmatter
{
"name": "video-frames",
"license": "MIT",
"version": "1.0.0",
"description": "Extract a single frame from a local video at the first frame, a timestamp, or a zero-based frame index using FFmpeg."
}
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
--timefor "what is happening around here?". - Use a
.jpgfor quick share; use.pngfor crisp UI frames. --indexaccepts 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.
Version History
- d2403bb Current 2026-08-20 00:59


