Skip to main content
Glama

MCP FFmpeg Helper

trim_audio

Cut and save a specific segment of an audio file by defining start time, duration, or end time. Supports multiple formats like mp3, aac, and more for the output.

Instructions

Trim an audio file to a specific duration

Input Schema

NameRequiredDescriptionDefault
durationNoDuration (format: HH:MM:SS.mmm or seconds)
endTimeNoEnd time (format: HH:MM:SS.mmm or seconds)
formatNoAudio format for output (mp3, aac, etc.)
inputPathYesPath to the input audio file
outputPathYesPath for the output audio file
startTimeNoStart time (format: HH:MM:SS.mmm or seconds)

Input Schema (JSON Schema)

{ "properties": { "duration": { "description": "Duration (format: HH:MM:SS.mmm or seconds)", "type": "string" }, "endTime": { "description": "End time (format: HH:MM:SS.mmm or seconds)", "type": "string" }, "format": { "description": "Audio format for output (mp3, aac, etc.)", "type": "string" }, "inputPath": { "description": "Path to the input audio file", "type": "string" }, "outputPath": { "description": "Path for the output audio file", "type": "string" }, "startTime": { "description": "Start time (format: HH:MM:SS.mmm or seconds)", "type": "string" } }, "required": [ "inputPath", "outputPath" ], "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/sworddut/mcp-ffmpeg-helper'

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