Agent Skills
› iflytek/skillhub
› video-frames
video-frames
GitHub利用FFmpeg从本地视频中提取单帧图像,支持首帧、指定时间戳或帧索引输出。用于快速生成缩略图以便检查视频内容或UI展示,提供JPG和PNG格式选择。
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


