Job status
job_statusCheck the current status and progress percentage of a queued ffmpeg job, with states queued, running, done, failed, or cancelled.
Instructions
Check how a queued job is progressing.
Returns one of queued, running, done, failed or cancelled, with a progress percentage parsed from ffmpeg's own output. Poll this after queueing work, then call job_result once the status is 'done'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Job id returned when the work was queued. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| error | No | ||
| job_id | Yes | ||
| status | Yes | ||
| command | No | Resolved ffmpeg command line, once the job starts. | |
| message | No | ||
| progress | Yes | Percentage complete, 0-100. | |
| elapsed_seconds | No |