capabilities.work

Create Pipeline, Submit Job, and Poll to Completion

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

Recipe · 3 steps

Create Pipeline, Submit Job, and Poll to Completion

with Amazon Elastic Transcoder · Transcoding & Format Conversion

Create a pipeline, submit a transcoding job, and poll it until it finishes.

  1. Create the pipeline that ties the input bucket, output bucket, and IAM role together for subsequent jobs.
  2. Submit a transcoding job into the new pipeline using the supplied input and output keys and preset.
  3. 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.
  • inputKey: The S3 key of the input file to transcode.
  • outputKey: The S3 key to assign to the transcoded output file.
  • presetId: The Id of the preset that defines the output settings.
For your developer

Arazzo workflow amazon-elastic-transcoder:create-pipeline-submit-job-poll, 3 operations: CreatePipeline → CreateJob → ReadJob. Specs on APIs.io.