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.

3.8k内容与创意未扫描2026年3月23日

安装

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:

powershell
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

powershell
python scripts/video_frame_capture.py --input "D:\videos\meeting.mp4" --output-dir "D:\frames\meeting" --interval-seconds 10

Skip similar frames

powershell
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

powershell
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

Universal
热门

按公司常用模板和语气快速起草内部沟通内容,覆盖 3P 更新、状态报告、领导汇报、项目进展、事故复盘、FAQ 与 newsletter,适合需要统一格式的团队沟通场景。

按公司偏好的模板快速产出状态汇报、领导更新和 FAQ,既省去反复改稿,也让内部沟通更统一、更专业。

内容与创意
未扫描111.1k

主题工厂

by anthropics

Universal
热门

给幻灯片、文档、报告和 HTML 落地页快速套用专业配色与字体主题,内置 10 套预设风格并支持现场生成新主题,适合统一品牌或内容视觉。

主题工厂能帮你把幻灯片、文档到落地页快速统一视觉风格,内置 10 套主题,还能按需即时生成新主题。

内容与创意
未扫描111.1k

文档共著

by anthropics

Universal
热门

围绕文档、提案、技术规格、决策记录等写作任务,按上下文收集、结构迭代、读者测试三步协作共创,减少信息遗漏,写出更清晰、经得起他人阅读的内容。

写文档、方案或技术规格时容易思路散、信息漏,它用结构化共著流程帮你高效传递上下文、反复打磨内容,还能从读者视角做验证。

内容与创意
未扫描111.1k

相关 MCP 服务

热门

免费的加密新闻聚合 MCP,汇集 Bitcoin、Ethereum、DeFi、Solana 与 altcoins 资讯源。

内容与创意
119

by ProfessionalWiki

让 Large Language Model 客户端无缝连接任意 MediaWiki 站点,可创建、更新、搜索页面,并通过 OAuth 2.0 安全管理内容。

内容与创意16 个工具
72

借助 86+ 个云端 media processing robots,处理视频、音频、图像和文档。

内容与创意
71

评论