Transcoder

Create transcoding jobs in bulk

post/transcoder/jobs/batch

Submit several videos for transcoding in a single request. Useful when processing a whole library at once.

Autorización

Authorization
Authorization*string

Bearer YOUR_API_TOKEN con un token de API. También vale la cabecera X-API-Key: YOUR_API_TOKEN.

Cuerpo de la petición

application/jsonObligatorio
output*JobOutput
Propiedades (1)
s3*S3Config
Propiedades (6)
endpoint?string | null

S3-compatible endpoint URL (omit for AWS S3)

Rangolength ≤ 512
region?string | null
Rangolength ≤ 64
bucket*string
Rango1 ≤ length ≤ 255
path?string

Object key (input) or destination key prefix (output)

Rangolength ≤ 1024Por defecto""
access_key?string | null
Rangolength ≤ 255
secret_key?string | null
Rangolength ≤ 2048
outputs*array<OutputSpec>
Rangoitems ≥ 1Rangoitems ≤ 20
Propiedades (1)
type*string
Valores"file""hls""thumbnails""gif"
input_defaults?JobInput | null
Propiedades (3)
source*string
Valores"url""s3"
url?string | null
Rangolength ≤ 2048
s3?S3Config | null
Propiedades (6)
endpoint?string | null

S3-compatible endpoint URL (omit for AWS S3)

Rangolength ≤ 512
region?string | null
Rangolength ≤ 64
bucket*string
Rango1 ≤ length ≤ 255
path?string

Object key (input) or destination key prefix (output)

Rangolength ≤ 1024Por defecto""
access_key?string | null
Rangolength ≤ 255
secret_key?string | null
Rangolength ≤ 2048
inputs*array<BatchInputItem>
Rangoitems ≥ 1Rangoitems ≤ 1000
Propiedades (4)
s3?S3Config | null
Propiedades (6)
endpoint?string | null

S3-compatible endpoint URL (omit for AWS S3)

Rangolength ≤ 512
region?string | null
Rangolength ≤ 64
bucket*string
Rango1 ≤ length ≤ 255
path?string

Object key (input) or destination key prefix (output)

Rangolength ≤ 1024Por defecto""
access_key?string | null
Rangolength ≤ 255
secret_key?string | null
Rangolength ≤ 2048
url?string | null
Rangolength ≤ 2048
path?string | null
Rangolength ≤ 1024
out_subpath?string | null
Rangolength ≤ 1024
webhook_url?string | null
Rangolength ≤ 2048

Respuestas

Successful Response

application/json

batch_id*string
job_ids*array<string>
count*integer