The Transcode API works with any S3-compatible provider. You need valid S3 credentials (access key, secret key, endpoint, bucket) for both the source and destination.
Prerequisites
- A Livepeer Studio account and API key.
- Video file already uploaded to your S3-compatible bucket (e.g. via Storj uplink, AWS CLI, or S3 SDK).
- S3 credentials with read access to the source path and write access to the output path.
Basic flow
- Get S3 credentials for your provider (e.g. Storj S3 credentials).
- Call the Transcode API with:
input: types3, endpoint, credentials, bucket, path to the source video.storage: types3, endpoint, credentials, bucket (and optional path prefix for outputs).outputs: e.g.hls: { path: "/output/hls" },mp4: { path: "/output/mp4" }.
- Poll the returned task or listen for webhooks until the job completes. Output files appear in your bucket at the given paths.
Guides
- Upload an asset โ For uploading and playing in the Studio pipeline (TUS/PUT).
- VOD overview โ Assets, playback, and storage.