Skip to main content
Glama

clip_video

Extract a specific segment from a video file by defining start time and duration. This tool creates a new video clip from your source footage.

Instructions

Generate a video clip from the given video file using ffmpeg-python.

Args: input_video_path (str): Path to the source video file. start_timestamp (float, optional): Start time in seconds. Defaults to 0.0. duration (float, optional): Clip length in seconds. Defaults to 5.0.

Returns: str: Path to the generated clip, or an exception message string on failure.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
input_video_pathYes
start_timestampNo
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/yubraaj11/ffmpeg-mcp'

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