Read-only QC: decodes the finished video twice (one video pass, one audio pass) with detector filters and returns a small JSON report — black-frame, freeze and silence segments plus EBU R128 loudness. It produces no media file and leaves the source untouched.
💡 When to use:Use for automated acceptance before delivery: judge pass / warning / block from the reported segments and loudness values instead of watching the whole cut. Thresholds are fixed server-side (black d=0.5, freeze d=2, silence -45dB/1.5s) and not tunable — tunable thresholds would yield reports that are perfectly valid yet wrong. No parameters beyond inputUrl are accepted; extra keys are ignored.
This page has been rewritten for the unified API: create with POST /v1/ffmpeg/jobs (the operation field names the operation), poll with GET /v1/ffmpeg/jobs/{id}, authenticate with Authorization: Bearer <key>. File upload still uses POST /v1/ffmpeg/upload. See the ffmpeg guide for the common parts. ffmpeg guide
Submit task
POST/ v1/ ffmpeg/ jobs
Query Result
GET/ v1/ ffmpeg/ jobs/ {id}
⏱ Recommended polling interval:Creating returns a job object right away (status: queued). Poll GET /v1/ffmpeg/jobs/{id} until status is completed or failed; a failed job is still HTTP 200 with status: failed and an error.
Authorization
AuthorizationstringheaderRequired
API key, sent as a Bearer token in the Authorization header.
Request body
application/json
input_urlstringRequired
Input media URL on a trusted allowlist domain (platform CDN or a trusted-source CDN); upload first to obtain one, or use an asset URL already on a trusted CDN
webhook_urlstring
Completion webhook URL (optional)
Every field in the request body other than operation is a parameter of this operation. Input slots use snake_case (input_url, input_urls, image_url, audio_url, audio_urls, subtitle_url, webhook_url); the old camelCase names (such as inputUrl) are still accepted, and the old name wins if both are present.
Response fields
idstring
Job ID.
objectstring
Always ffmpeg.job.
operationstring
The operation used when creating.
statusstring
queued, in_progress, completed or failed.
progressinteger
Progress percent; 100 when done.
result_urlstring
Address of the output once completed.
costinteger
Credits actually charged.
errorobject
{message, code} on failure; code is ffmpeg_job_failed.
QC Report JSON
result_url points to the report JSON (Content-Type application/json, <=1 MiB, a direct public link with no redirects, retained long-term). All 10 top-level fields are always present — nothing is omitted: an empty segment list is [] (not null), and only unavailable loudness values are null. progress reaches 45 after the video pass, 90 after the audio pass, 100 once uploaded.
schemaVersionint
Always 1; bumped only when thresholds or field semantics change
analyzedVideobool
Whether the video pass completed (completed != nothing found)
analyzedAudiobool
Whether the audio pass completed; false when there is no audio track or the pass failed
blackSegmentsobject[]
Black-frame segments (blackdetect d=0.5 pix_th=0.10); [] when none
freezeSegmentsobject[]
Freeze segments (freezedetect n=-50dB d=2); [] when none
silenceSegmentsobject[]
Silence segments (silencedetect n=-45dB d=1.5); [] when none
integratedLufsnumber | null
Integrated loudness (LUFS, signed, usually negative); null when unavailable
loudnessRangeLunumber | null
Loudness range (LU); null when unavailable
truePeakDbfsnumber | null
True peak (dBFS, signed, may be >= 0 when clipping); null when unavailable
errorstring | null
Degradation notes (English, joined by "; "). Note: a non-null error does NOT mean the task failed
段落形状{ startMs, endMs, durationMs }
Shared shape for all three segment kinds: integer milliseconds on the clip’s own timeline starting at 0. Note: for a segment still open at EOF, both endMs and durationMs are null (not 0, and the segment is never dropped) — this is what keeps a long trailing silence from being ignored as noise. Segments may touch or overlap; the server does not merge ranges, that call is yours
Partial failure still succeeds: the video and audio passes run and fail independently. If only one fails the task is still succeeded, the failed side contributes [] segments with its analyzed* set to false, and error names the reason (e.g. input has no audio track / video analysis failed: ...) — half a true report beats a fabricated whole one. Only when both passes fail is the task failed and refunded.
Limits: at most 500 segments per kind — beyond that they are truncated and error notes <kind>Segments truncated to 500; if the report exceeds 1 MiB all segments are dropped while analyzed* and loudness are kept, with report exceeded 1048576 bytes; all segments dropped appended to error.
Timeouts: each pass gets the full budget on its own (300s by default, not shared). One pass timing out is treated as a partial failure; only both timing out fails the task with a refund.