Media Encoder
encodeQueues a Premiere Pro item, sequence, or loose file with an .epr preset in Adobe Media Encoder, then launches AME and starts the queue; optionally wait for output or run async.
Instructions
Queue work in Adobe Media Encoder: a project item (item), a sequence, or a loose file (file) with an .epr preset; launch AME; start the queue. wait: true blocks until the output exists and is a valid media file. AME's own queue cannot be read by script: queue status covers the jobs started here (see jobs with async: true).
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": {
"action": "<action>"
},
"name": "encode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| item | No | ||
| wait | No | ||
| async | No | Run as a background job: returns job_id at once (see jobs) | |
| range | No | ||
| action | Yes | ||
| output | No | ||
| project | No | ||
| sequence | No | Sequence id/name (default: active) | |
| timeout_s | No | ||
| preset_path | No | ||
| expected_project_path | No |