Skip to content

Latest commit

 

History

History
92 lines (51 loc) · 4.24 KB

File metadata and controls

92 lines (51 loc) · 4.24 KB

Module 5: Working with Captions

In this module you will modify one of the outputs created in our base job by adding captions from a side-car SRT file. SRT files are structured text files that contain subtitle information, which includes the sequential number of subtitles, start and end timecode, and subtitle text. The new job structure will look like this:

captions burn in job

You might notice that the captions in this module don't match with the video. These captions came from a different source video.

TRIVIA QUESTION:

EXTRA CREDIT

  • After you finish the module try creating your own captions for the VANLIFE video. Hint: You'll need to edit the captions files in this folder.

Prerequisites

You need to have access to MediaConvert and S3 to complete this module.

You need the following resources created in module 1:

  • MediaConvertRole - the role created to give permission for MediaConvert to access resources in your account.
  • MediaBucket - the bucket created to store outputs from MediaConvert.
  • MediaConvert job from module 2 or later - We will start with this job and modify it in this module.

If you used CloudFormation to configure resources, you will find the values names of MediaConvertRole and MediaBucket in the Outputs of the Stack.

1. Modify the MP4 output to include captions

Duplicate the job from the previous module

  1. Open the MediaConvert console for the region you are completing the lab in (US-West-Oregon). https://us-west-2.console.aws.amazon.com/mediaconvert/home?region=us-west-2#/welcome
  2. Select Jobs from the side bar menu.
  3. Find the job you created in the last module and click on the Job Id link to open the Job details page.
  4. Select Duplicate

Burn in captions to the MP4 output

  1. Select Input 1 from the Input section of the MediaConvert menu side bar to open the Input settings form.

  2. Scroll down to the Captions selectors panel and select Add caption selector from the side bar.

  3. Select SRT from the Source dropdown for Caption Selector 1

  4. Enter s3://rodeolabz-us-west-2/vodconsole/CAPTIONS_en.srt in the Source file box.

    captions selector

  5. Select Output 1 of the MP4 - File Group in the Output Groups section of the MediaConvert menu side bar to open the Output settings form for Output 1.

  6. Select Add captions from the top of the Stream settings panel.

  7. Make sure Captions 1 is selected on the side bar of the Stream settings panel.

  8. Select Captions selector 1 in the Captions source drop down.

  9. Select Burn In in the Destination type drop down.

  10. Leave the rest of the settings as the default.

    Captions

Create the job

  1. Scroll to the bottom of the page and select Create
  2. Wait for the job to complete. Monitor the status of the job by refreshing the Job details page.

2. Play the MP4

To play the videos, you will use the S3 HTTPS resource Link on the videos S3 object Overview page.

s3 link

MP4s

The MP4 output is located in your ouput s3 bucket in the object: s3://YOUR-MediaBucket/assets/VANLIFE/MP4/VANLIFE.mp4

You can play the MP4 using:

Video preview

The MP4 output should be modified with captions. The HLS and Thumbnails outputs should be unchanged.

MP4 with captions

Completion

In this module you added burned in captions to the MP4 output of you MediaConvert job. Hopefully, you also had a chance to play with captions metadata by making your own captions for the VANLIFE video. Did you guess the name of the Blender Foundation Open Movie Project the captions came from?

Next module: Working with Embedded Input Metadata