Transcoder
Create transcoding job
/transcoder/jobsSubmit a video for transcoding. Pick the output quality ladder you need and we deliver the finished files to your storage.
Authorization
Bearer YOUR_API_TOKEN with an API token. The X-API-Key: YOUR_API_TOKEN header works too.
Request body
Properties (3)
"url""s3"length ≤ 2048Properties (6)
S3-compatible endpoint URL (omit for AWS S3)
length ≤ 512length ≤ 641 ≤ length ≤ 255Object key (input) or destination key prefix (output)
length ≤ 1024Default""length ≤ 255length ≤ 2048Properties (1)
Properties (6)
S3-compatible endpoint URL (omit for AWS S3)
length ≤ 512length ≤ 641 ≤ length ≤ 255Object key (input) or destination key prefix (output)
length ≤ 1024Default""length ≤ 255length ≤ 2048items ≥ 1Rangeitems ≤ 20Properties (1)
"file""hls""thumbnails""gif"length ≤ 2048length ≤ 255Responses
Successful Response
application/json
queued, analyzing, encoding, finalizing, completed, failed, canceled
Source of the video {source, url, s3}. s3.secret_key is never returned
Destination storage {s3}. s3.secret_key is never returned
Requested outputs: {outputs: [OutputSpec, ...]}
Files produced by the job ([{type, bucket, key}]); null until the job finishes
Progress percentage (0-100)
Set when the job was created through a bulk submission