Cancel a job
cancel_jobStop a queued or running video processing job. Cancels queued tasks immediately and terminates active ffmpeg subprocesses, even if started by another process.
Instructions
Stop a queued or running job.
A queued job is cancelled immediately. A running one is asked to stop: the worker that owns it terminates the ffmpeg subprocess within a second or so, which works even when the job was started by a different process such as the local UI. Jobs that already finished are left alone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Job id returned when the work was queued. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| status | Yes | ||
| message | Yes | ||
| cancelled | Yes |