MCP server for trimming video segments by time range
Project description
Video Trim MCP
按时间范围裁剪视频片段的 MCP Server。
功能
- 按指定时间范围裁剪视频
- 优先使用 codec copy 避免重编码
- 支持 HH:MM:SS 或秒数格式的时间输入
安装
uvx video-trim-mcp
或通过 pip 安装:
pip install video-trim-mcp
使用
video-trim-mcp
工具
trim_video
按指定时间范围裁剪视频片段。
参数:
video_path: 输入视频文件路径output_video_path: 输出视频文件路径start_time: 开始时间(支持 'HH:MM:SS' 或秒数)end_time: 结束时间(支持 'HH:MM:SS' 或秒数)
依赖
- Python >=3.12
- FFmpeg(需系统安装)
License
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcpcn_video_trim_mcp-0.1.4.tar.gz.
File metadata
- Download URL: mcpcn_video_trim_mcp-0.1.4.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
252b3832a42cab258ae6e9f19ea87a16000bc3b9d17b5004f5159600ad65873b
|
|
| MD5 |
9dd9a74c367b88dbca464bc165219b71
|
|
| BLAKE2b-256 |
5100ee90a4f689441f89cf8b700f8d5eb9618c0078305689b68d9044ea8abcc9
|
File details
Details for the file mcpcn_video_trim_mcp-0.1.4-py3-none-any.whl.
File metadata
- Download URL: mcpcn_video_trim_mcp-0.1.4-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
602e7d4b109573cb915170220dfabe63cec6f7e6a4c13dc3decde60731ad5639
|
|
| MD5 |
91257372a9ae0da31213a337a0aed0b5
|
|
| BLAKE2b-256 |
36db1e1309ea99e264653c4e86cb86e0f920d243d8185db50b58227e74d469b7
|