Skip to main content
Glama

MCP Media Processing Server

by maoxiaoke

trim-video

Cut and save specific sections of a video by defining start time and duration. Input file path, start time, and duration are required; optionally specify output path or filename.

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" }

You must be authenticated.

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