Video Extract Frames MCP
从视频中提取帧为图片的 MCP Server,支持按间隔提取和场景变化检测。
功能
- 按固定时间间隔提取帧
- 提取首帧/末帧
- 基于场景变化检测提取关键帧
- 支持多种图片格式:png、jpg、webp、bmp、tiff
安装
uvx video-extract-frames-mcp
或通过 pip 安装:
pip install video-extract-frames-mcp
使用
video-extract-frames-mcp
工具
extract_video_frames
从视频中按间隔或特定位置提取帧为图片。
参数:
video_path: 输入视频路径output_dir: 输出目录image_format: 输出图片格式(默认 'png')interval_seconds: 间隔秒数extract_first: 是否提取首帧extract_last: 是否提取末帧width/height: 可选缩放尺寸
extract_scene_change_frames
基于画面变化检测提取场景切换关键帧。
参数:
video_path: 输入视频路径output_dir: 输出目录image_format: 输出图片格式(默认 'png')scene_threshold: 场景变化阈值(0.0~1.0,默认 0.4)min_scene_gap_seconds: 最小时间间隔max_frames: 最多导出帧数width/height: 可选缩放尺寸
依赖
- Python >=3.12
- FFmpeg(需系统安装)
License
MIT License
Metadata
Release files for mcpcn-video-extract-frames-mcp 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mcpcn_video_extract_frames_mcp-0.1.5.tar.gz | 7.2 kB | Without provenance | Details for mcpcn_video_extract_frames_mcp-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mcpcn_video_extract_frames_mcp-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for mcpcn_video_extract_frames_mcp-0.1.5-py3-none-any.whl |
Total release size: 15.1 kB
Release files / mcpcn_video_extract_frames_mcp-0.1.5.tar.gz
| Download URL | mcpcn_video_extract_frames_mcp-0.1.5.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
277403d50fc6dc841809e2205e4bcb7565d95864b6ed87fe656c6a697c4a0f53
|
|
BLAKE2b-256 checksum How to use checksums |
c1e7d5ced843e84555110a93c0f33a227eeb75ccf7fa667be4238aab35945624
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / mcpcn_video_extract_frames_mcp-0.1.5-py3-none-any.whl
| Download URL | mcpcn_video_extract_frames_mcp-0.1.5-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
06ead7f036e85d73e58bc47f362268f20126f20b60ed5d39fbc426569e52c15d
|
|
BLAKE2b-256 checksum How to use checksums |
9cee88045127d9cf03ce1618a86b8664394efcd7d4179f25b6a9b2d9255bc312
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for mcpcn-video-extract-frames-mcp 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.