concat_media
Joins multiple video or audio files in order into one file, using stream copy for matching formats or re-encoding when codecs differ.
Instructions
Join multiple video or audio files in order into a single file. Uses stream copy for matching files or re-encodes when formats differ.
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": {
"inputPaths": "<inputPaths>",
"outputPath": "<outputPath>"
},
"name": "concat_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Concatenation mode. 'lossless' uses stream copy without quality loss (inputs must share codecs). 'reencode' normalizes differing resolutions/codecs. | lossless |
| inputPaths | Yes | List of media files to concatenate in sequential order | |
| outputPath | Yes | Target output file path |