Video Concatenate MCP
MCP 服务器,用于拼接多个视频文件,支持 30+ 种转场效果。
功能特性
- 支持多个视频文件拼接
- 自动标准化视频分辨率和帧率
- 支持 30+ 种转场效果(两个视频之间)
- 音频自动交叉淡入淡出
安装
uvx video-concatenate-mcp
或通过 pip 安装:
pip install video-concatenate-mcp
依赖
- Python >=3.12
- FFmpeg(需要系统安装)
可用工具
1. concatenate_videos
拼接视频序列,可选转场效果。
参数:
video_paths: 输入视频路径列表(至少 1 个)output_video_path: 输出视频文件路径transition_effect: 转场效果(可选)transition_duration: 转场时长(秒,使用转场时必填)
示例:
# 简单拼接
concatenate_videos(
["/path/video1.mp4", "/path/video2.mp4"],
"/path/output.mp4"
)
# 带转场效果
concatenate_videos(
["/path/video1.mp4", "/path/video2.mp4"],
"/path/output.mp4",
transition_effect="dissolve",
transition_duration=1.0
)
2. list_transition_effects
列出所有支持的转场效果。
支持的转场效果
| 类别 | 效果 |
|---|---|
| 淡入淡出 | dissolve, fade, fadeblack, fadewhite, fadegrays |
| 擦除 | wipeleft, wiperight, wipeup, wipedown |
| 滑动 | slideleft, slideright, slideup, slidedown |
| 平滑 | smoothleft, smoothright, smoothup, smoothdown |
| 圆形 | circlecrop, circleopen, circleclose |
| 矩形 | rectcrop, vertopen, vertclose, horzopen, horzclose |
| 对角线 | diagtl, diagtr, diagbl, diagbr |
| 切片 | hlslice, hrslice, vuslice, vdslice |
| 其他 | distance, pixelize, radial, hblur |
许可证
MIT License
Metadata
Release files for mcpcn-video-concatenate-mcp 0.1.7
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_concatenate_mcp-0.1.7.tar.gz | 8.3 kB | Without provenance | Details for mcpcn_video_concatenate_mcp-0.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mcpcn_video_concatenate_mcp-0.1.7-py3-none-any.whl | Python 3 | none | any | Details for mcpcn_video_concatenate_mcp-0.1.7-py3-none-any.whl |
Total release size: 17.3 kB
Release files / mcpcn_video_concatenate_mcp-0.1.7.tar.gz
| Download URL | mcpcn_video_concatenate_mcp-0.1.7.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f897b2b692beda30ff4e525710fd4afb0e2d19661c01ff6c95403ad888fc273a
|
|
BLAKE2b-256 checksum How to use checksums |
f731af33450c58d86a21847e8fc5ec367b7977381ce6fa0a0be5f799e9aad692
|
| 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_concatenate_mcp-0.1.7-py3-none-any.whl
| Download URL | mcpcn_video_concatenate_mcp-0.1.7-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e48ffdd139be35f4b4686a8857d3f530bd73104e88fbb183362530db1cc21bf0
|
|
BLAKE2b-256 checksum How to use checksums |
58cf865ec372946328f5ccdac889dc090830ad8bc9d428783387fb58e2d449d2
|
| 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-concatenate-mcp 0.1.7
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.