Building a Video Transcoding Pipeline Using Elastic Transcoder

Hands-On Lab

 

Photo of Kelby Enevold

Kelby Enevold

AWS Training Architect I

Length

00:30:00

Difficulty

Beginner

In this hands-on lab, we are going to create a video transcoding pipeline using the Elastic Transcoder service. Elastic Transcoder is a media service designed to be a highly scalable, easy-to-use, and cost-effective way to convert (or "transcode") media files from their source format into various formats and qualities. The Elastic Transcoder service also operates in a serverless fashion, meaning you're not responsible for allocating the underlying infastructure that is used to transcode these files. In this lab, we will upload a sample video file to an Amazon S3 bucket and configure our Elastic Transcoder pipeline to transcode our video to 720p quality. (We've provided sample video files for you to use as your source media files.)

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.

Building a Video Transcoding Pipeline Using Elastic Transcoder

Introduction

In this hands-on lab, we will upload a sample video file to an Amazon S3 bucket and configure our Elastic Transcoder pipeline to transcode our video to 720p quality.

Solution

Log in to the live AWS environment using the credentials provided. Make sure you're in the N. Virginia (us-east-1) region throughout the lab.

Download one of the MP4 files from the course GitHub.

Upload the Source Video for Transcoding

  1. Navigate to S3.
  2. Select the bucket that has "source" in the name.
  3. Click Upload.
  4. Click Add files.
  5. Select and upload one of the downloaded videos.

Create a Pipeline Using Elastic Transcoder

  1. Navigate to Elastic Transcoder.
  2. Click Create a new Pipeline.
  3. In the Create New Pipeline section, set the following values:
    • Pipeline Name: LATest
    • Input Bucket: Select the existing bucket with "source" in the name.
    • IAM Role: Create console default value
  4. In the Configuration for Amazon S3 Bucket for Transcoded Files and Playlists, set the following values:
    • Bucket: Select the existing bucket with "transcoded" in the name.
    • Storage Class: Standard
  5. In the Configuration for Amazon S3 Bucket for Thumbnails, set the following values:
    • Bucket: Select the existing bucket with "thumbnails" in the name.
    • Storage Class: Standard
  6. Click Create Pipeline.

Create a Job

  1. Click Create New Job, and set the following values:
    • Pipeline: LATest
    • Output Key Prefix: Leave blank.
    • Input Key: Select the sample video file.
    • Preset: System preset: Generic 720p
    • Output Key: ChiliChallenge720p.mp4
    • Create Thumbnails: Yes
    • Thumbnail Filename Pattern: ChiliThumbnail_{count}
  2. Click Create New Job.

Verify Transcoded Files Exist

  1. Navigate to S3.
  2. Select the bucket with the name containing "transcoded".
  3. Verify transcoded video files exist in the "transcoded" bucket.
  4. Navigate to the bucket with the name containing "thumbnails".
  5. Verify thumbnail files exist in the "thumbnails" bucket.

Conclusion

Congratulations on completing this hands-on lab!