视频帧捕获
video-frame-capture
by chentx1243
Capture key frames from video files at fixed time intervals. Use when you need to understand video content by extracting screenshots, or when you need to analyze video frames for content recognition. Supports skipping similar frames to avoid redundant captures.
安装
claude skill add --url github.com/openclaw/skills/tree/main/skills/chentx1243/maple-video-capture文档
Video Frame Capture
Overview
This skill enables capturing key frames from video files at fixed time intervals. It's designed to help you understand video content by extracting screenshots for analysis or content recognition.
When to Use This Skill
Use this skill when:
- You need to understand video content by extracting key frames
- You want to analyze video frames for content recognition
- You need to create a visual summary of a video
- You want to skip similar frames to avoid redundant captures
Quick Start
Capture frames from a video at 10-second intervals:
python scripts/video_frame_capture.py --input "D:\videos\meeting.mp4" --output-dir "D:\frames\meeting" --interval-seconds 10
Parameters
--input: Path to the local video file (required)--output-dir: Directory where captured frames will be stored (required)--interval-seconds: Capture interval in seconds, must be greater than 0 (required)--skip-similar-frames: Skip frames that are similar to the previous saved frame--similarity-threshold: Similarity threshold in range 0-1, defaults to 0.70--image-extension: Image format for saved frames, defaults to jpg
Output Naming
Output files follow the format: 视频文件原始名称_视频时间轴_第几次截取.jpg
Example: meeting_00h01m30s_0003.jpg
Similar Frame Skipping
When --skip-similar-frames is enabled, the script compares the current candidate frame with the previous saved frame:
- Similarity > threshold: Frame is skipped
- Similarity ≤ threshold: Frame is saved and becomes the new comparison baseline
Examples
Basic frame capture
python scripts/video_frame_capture.py --input "D:\videos\meeting.mp4" --output-dir "D:\frames\meeting" --interval-seconds 10
Skip similar frames
python scripts/video_frame_capture.py --input "D:\videos\meeting.mp4" --output-dir "D:\frames\meeting" --interval-seconds 10 --skip-similar-frames
Custom similarity threshold
python scripts/video_frame_capture.py --input "D:\videos\meeting.mp4" --output-dir "D:\frames\meeting" --interval-seconds 10 --skip-similar-frames --similarity-threshold 0.80
Resources
scripts/
video_frame_capture.py: Main script for capturing video frames
references/
video_formats.md: Supported video formats and technical details
Note: This skill requires OpenCV (opencv-python-headless) to be installed. Install dependencies with: pip install -r requirements.txt
相关 Skills
文档共著
by anthropics
围绕文档、提案、技术规格、决策记录等写作任务,按上下文收集、结构迭代、读者测试三步协作共创,减少信息遗漏,写出更清晰、经得起他人阅读的内容。
✎ 写文档、方案或技术规格时容易思路散、信息漏,它用结构化共著流程帮你高效传递上下文、反复打磨内容,还能从读者视角做验证。
内部沟通
by anthropics
按公司常用模板和语气快速起草内部沟通内容,覆盖 3P 更新、状态报告、领导汇报、项目进展、事故复盘、FAQ 与 newsletter,适合需要统一格式的团队沟通场景。
✎ 按公司偏好的模板快速产出状态汇报、领导更新和 FAQ,既省去反复改稿,也让内部沟通更统一、更专业。
平面设计
by anthropics
先生成视觉哲学,再落地成原创海报、艺术画面或其他静态设计,输出 .png/.pdf,强调构图、色彩与空间表达,适合需要高完成度视觉成品的场景。
✎ 做海报、插画或静态视觉稿时,用它能快速产出兼顾美感与版式的PNG/PDF成品,原创设计更省心,也更适合规避版权风险。
相关 MCP 服务
by nirholas
免费的加密新闻聚合 MCP,汇集 Bitcoin、Ethereum、DeFi、Solana 与 altcoins 资讯源。
by ProfessionalWiki
让 Large Language Model 客户端无缝连接任意 MediaWiki 站点,可创建、更新、搜索页面,并通过 OAuth 2.0 安全管理内容。
by roomi-fields
Automate Google NotebookLM — Q&A with citations, audio, video, content generation