Video Aspect Ratio MCP
A Model Context Protocol (MCP) server for adjusting video aspect ratio.
Features
- Aspect Ratio Adjustment: Change video aspect ratios with padding or cropping
- Support for common ratios: 16:9, 4:3, 1:1, 9:16, etc.
- Padding mode with customizable colors
- Crop mode for center cropping
Installation
Install via uvx (recommended):
uvx video-aspect-ratio-mcp
Or install via pip:
pip install video-aspect-ratio-mcp
Usage
Run the MCP server:
video-aspect-ratio-mcp
Requirements
- Python >=3.12
- FFmpeg installed on your system
Tool
change_aspect_ratio
Adjust video aspect ratio with options:
video_path: Input video file pathoutput_video_path: Output video file pathtarget_aspect_ratio: Target ratio (e.g., '16:9', '4:3', '1:1')resize_mode: 'pad' (scale and add borders) or 'crop' (center crop)padding_color: Border color when using pad mode (e.g., 'black', 'white', '#RRGGBB')
License
MIT License
Metadata
Release files for mcpcn-video-aspect-ratio-mcp 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mcpcn_video_aspect_ratio_mcp-0.1.6.tar.gz | 5.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcpcn_video_aspect_ratio_mcp-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.3 kB
Release files / mcpcn_video_aspect_ratio_mcp-0.1.6.tar.gz
| Download URL | mcpcn_video_aspect_ratio_mcp-0.1.6.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6f14f89ee18e5d3c1069ff07cb1424531a8cb63b6da53d6e76d498c21f2e863
|
|
BLAKE2b-256 checksum How to use checksums |
c4b49a8ae18082cdbd5514b74dbb6064e3c7c9a78dbfdff8bfe6158cec84cc71
|
| 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_aspect_ratio_mcp-0.1.6-py3-none-any.whl
| Download URL | mcpcn_video_aspect_ratio_mcp-0.1.6-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8749b4c72d03a81484046a1eea660342d15ac7e0e38d4ebe97049a75054b0929
|
|
BLAKE2b-256 checksum How to use checksums |
d10a549c0d7a70e7414b71dce1e01404319f80a07fd2862efcf57701046cd293
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|