Skip to main content
Glama

Video & Audio Editing MCP Server

by misbahsy

change_aspect_ratio

Modify video aspect ratio by cropping or adding padding with a specified color. Supports custom dimensions and outputs processed video to the desired path.

Instructions

Changes the aspect ratio of a video, using padding or cropping. Args listed in PRD. Returns: A status message indicating success or failure.

Input Schema

NameRequiredDescriptionDefault
output_video_pathYes
padding_colorNoblack
resize_modeNopad
target_aspect_ratioYes
video_pathYes

Input Schema (JSON Schema)

{ "properties": { "output_video_path": { "title": "Output Video Path", "type": "string" }, "padding_color": { "default": "black", "title": "Padding Color", "type": "string" }, "resize_mode": { "default": "pad", "title": "Resize Mode", "type": "string" }, "target_aspect_ratio": { "title": "Target Aspect Ratio", "type": "string" }, "video_path": { "title": "Video Path", "type": "string" } }, "required": [ "video_path", "output_video_path", "target_aspect_ratio" ], "title": "change_aspect_ratioArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/misbahsy/video-audio-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server