ffmpeg__concat_clips
Join video clips sequentially using ffmpeg concat demuxer. Optionally re-encode to handle clips with different codecs.
Instructions
Concatenate multiple video clips in sequence using the ffmpeg concat demuxer. @remarks input_paths accepts a comma or newline-separated list of clip paths. Returns JSON in stdout with output_path and clip_count. Use reencode=true when clips have different codecs or parameters. @param input_paths Comma or newline-separated list of clip file paths in playback order. @param output_path Destination video path. @param reencode Whether to re-encode during concat (required for clips with different codecs), default false. @param video_codec Video codec when re-encoding, default libx264. @param audio_codec Audio codec when re-encoding, default aac. @param __mcp_response_mode Optional response mode: content (default) or structuredContent.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input_paths": "<input_paths>",
"output_path": "<output_path>"
},
"name": "ffmpeg__concat_clips"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reencode | No | ||
| audio_codec | No | ||
| input_paths | Yes | ||
| output_path | Yes | ||
| video_codec | No | ||
| __mcp_response_mode | No | content |