Transcode video with FFmpeg

Use the ready-now ffmpeg.transcode.v1 service to upload one source video, submit a job, and retrieve the completed MP4.

Use the live transcode service

Confirm ffmpeg.transcode.v1 in GET /v1/services. The FFmpeg API is ready now for source footage you already have.

Upload the source video

Call POST /v1/assets with the file size, content type video/mp4, and public_intent set to true. Each file can be up to 32 MiB. Upload to the returned upload_url, then save input_url for the job. Input links last 24 hours.

Submit the transcode

Send the service ID and managed input URL to POST /v1/jobs with an Idempotency-Key. Save the returned job ID.

Request body
{
  "service_id": "ffmpeg.transcode.v1",
  "input": {
    "input_url": "<video input_url>"
  }
}

Retrieve the MP4

When the job status is succeeded, request GET /v1/jobs/{id}/output and download the file from the returned URL.