concat
Join two or more media files into one output, re-encoding inputs so files with different codecs or sizes can be combined.
Instructions
Join 2+ media files into one. Re-encodes, so inputs may differ in codec or size.
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": {
"inputs": "<inputs>",
"output": "<output>"
},
"name": "concat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | Files in order | |
| output | Yes | Path to the file (relative or absolute) | |
| audio_codec | No | aac | |
| video_codec | No | libx264 |