Skip to main content

MCP server for concatenating videos with optional transition effects

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcpcn_video_concatenate_mcp-0.1.3.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcpcn_video_concatenate_mcp-0.1.3-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file mcpcn_video_concatenate_mcp-0.1.3.tar.gz.

File metadata

File hashes

Hashes for mcpcn_video_concatenate_mcp-0.1.3.tar.gz
Algorithm Hash digest
SHA256 5a37b97640e401245028834ad24c8ecbd92fbdf6cf92810fc0d8ca71039c761f
MD5 1f9f91e723ec033e95503169fad10c08
BLAKE2b-256 2c301431891554622079e0292b3377a2cbf7a1419a51d32fcec9fe882f9160e7

See more details on using hashes here.

File details

Details for the file mcpcn_video_concatenate_mcp-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for mcpcn_video_concatenate_mcp-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 139c3d5c8b3c8bcd0a6781499dcde9b389646d8de5b6e82b7f18dbf3c895e1a4
MD5 3c5e1f5ea21c719cda66670fe3e1c9fe
BLAKE2b-256 815febc03960674055eaa2b7b79f54b17d8b93289f4e7aabfa6aec620ef51264

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page