capabilities.work

Provision Pipeline and Preset, Submit Job, and Poll

A 4-step recipe with Amazon Elastic Transcoder. We can help you get access.

Recipe · 4 steps

Provision Pipeline and Preset, Submit Job, and Poll

with Amazon Elastic Transcoder · Transcoding & Format Conversion

Create a pipeline and preset, submit a job using both, and poll to completion.

  1. Create the pipeline that ties the input bucket, output bucket, and IAM role together for the job.
  2. Create the output preset that defines the container the job output will use.
  3. Submit a transcoding job into the new pipeline whose single output uses the new preset.
  4. Read the job and branch on its status, looping back while it is still Submitted or Progressing and ending once it reaches a terminal status.
What you'll need to have ready
  • pipelineName: The name to assign to the new pipeline (maximum 40 characters).
  • inputBucket: The Amazon S3 bucket holding the media files to transcode.
  • outputBucket: The Amazon S3 bucket where transcoded files are written.
  • role: The IAM role ARN Elastic Transcoder uses to transcode jobs.
  • presetName: The name to assign to the new preset (maximum 40 characters).
  • container: The output container type for the preset (e.g. mp4, ts, webm).
  • inputKey: The S3 key of the input file to transcode.
  • outputKey: The S3 key to assign to the transcoded output file.
For your developer

Arazzo workflow amazon-elastic-transcoder:provision-pipeline-preset-submit-poll, 4 operations: CreatePipeline → CreatePreset → CreateJob → ReadJob. Specs on APIs.io.