Transcode a file with Compressor
compressor_transcodeSubmit a background transcode job to Compressor using a named setting or .compressorsetting path. Set wait to true to block until the output file finishes, up to waitMinutes.
Instructions
Submit a transcode job to Compressor using one of its settings, through Compressor's command-line interface. Compressor processes it in the background; set wait to true to block until the output file is complete (up to waitMinutes).
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": "<input>",
"setting": "<setting>",
"output": "<output>"
},
"name": "compressor_transcode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | ||
| input | Yes | Source media file | |
| output | Yes | Output file path, including the extension the setting produces (e.g. .mp4, .mov, .m4a) | |
| setting | Yes | Setting name (or unique part of one) from compressor_list_settings, or a full path to a .compressorsetting | |
| priority | No | ||
| batchName | No | ||
| overwrite | No | ||
| waitMinutes | No |