Skip to main content

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

mcpcn_video_trim_mcp-0.1.0.tar.gz (4.7 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_trim_mcp-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file mcpcn_video_trim_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: mcpcn_video_trim_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for mcpcn_video_trim_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 05ad439545ddff57cd0abd571cdc8868e7e80dd5486e02b8984dd839ce4ef316
MD5 2fc800fa2c074deaa9fdbb74d90ba3ce
BLAKE2b-256 2279c3152bc344e6d3bef1517c2b6efb51f6b310c0063e37fb739ce49a574ab6

See more details on using hashes here.

File details

Details for the file mcpcn_video_trim_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcpcn_video_trim_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2858adbb5fbc7497344111552b8a98399e949de3ccfb1b4be227bdbfd82fb746
MD5 4fa0fe673d000354b9128016ebea4cb1
BLAKE2b-256 4b53913f0673e43206bef8d9da31698e6debc37c2a523eacf816ff27122e2676

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