Skip to main content
Glama

ffmpeg_trim

Extract a specific segment from a video file by specifying start time and either end time or duration.

Instructions

Trim a video to extract a specific segment.

Args: file_path: Path to the input video file start_time: Start time (e.g., "00:01:30" or "90" for 90 seconds) end_time: End time (e.g., "00:02:00"). Mutually exclusive with duration. duration: Duration of the clip (e.g., "30" for 30 seconds). Mutually exclusive with end_time. Returns: Path to the trimmed file

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
start_timeYes
end_timeNo
durationNo

Latest Blog Posts

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/kevinwatt/ffmpeg-mcp-lite'

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