Skip to main content
Glama

MCP Media Processing Server

by maoxiaoke

trim-video

Cut video files to a specified duration and save them in a desired location using start and end timestamps. Ideal for precise editing and reducing file size.

Instructions

Trim video to specified duration

Input Schema

NameRequiredDescriptionDefault
durationYesDuration in format HH:MM:SS
inputPathYesAbsolute path to input video file
outputFilenameNoOutput filename (only used if outputPath is not provided)
outputPathNoOptional absolute path for output file. If not provided, file will be saved in Downloads folder
startTimeYesStart time in format HH:MM:SS

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "duration": { "description": "Duration in format HH:MM:SS", "type": "string" }, "inputPath": { "description": "Absolute path to input video file", "type": "string" }, "outputFilename": { "description": "Output filename (only used if outputPath is not provided)", "type": "string" }, "outputPath": { "description": "Optional absolute path for output file. If not provided, file will be saved in Downloads folder", "type": "string" }, "startTime": { "description": "Start time in format HH:MM:SS", "type": "string" } }, "required": [ "inputPath", "startTime", "duration" ], "type": "object" }

Other Tools from MCP Media Processing Server

Related Tools

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/maoxiaoke/mcp-media-processor'

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