Run a Transcode Job
A 2-step recipe with Livepeer. We can help you get access.
Recipe · 2 steps
Run a Transcode Job
with Livepeer
Submit a transcode job and poll its task until complete or failed.
- Submit the transcode job reading from the input URL and writing HLS and MP4 outputs to the S3-compatible storage. Returns the processing task.
- Poll the transcode task by ID. End successfully when the task is completed and end on failure; otherwise keep polling.
What you'll need to have ready
- authToken: Livepeer API key used as a Bearer token.
- inputUrl: Public URL of the source video to transcode.
- storageEndpoint: S3-compatible endpoint URL for the output storage.
- storageBucket: Bucket to write the transcoded outputs into.
- accessKeyId: Access key ID for the output storage.
- secretAccessKey: Secret access key for the output storage.
- hlsPath: Path within the bucket for the HLS output.
- mp4Path: Path within the bucket for the MP4 output.
For your developer
Arazzo workflow livepeer-com:transcode-video-job, 2 operations: transcodeVideo → getTask. Specs on APIs.io.