Video on Demand on AWS
Video on Demand on AWS

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

Appendix F: AWS Elemental MediaConvert Templates

By default, the video-on-demand solution selects the job template for AWS Elemental MediaConvert based on the source video height. The solution includes three default job templates:

  • MediaConvert_Template_2160p:

    • 3 mp4 outputs including HEVC and AVC 2160p through 720p

    • 8 HLS outputs AVC 1080p through 270p

    • 8 DASH outputs AVC 1080p through 270p

  • MediaConvert_Template_1080p:

    • 2 mp4 outputs AVC 2160p through 720p

    • 8 HLS outputs AVC 1080p through 270p

    • 8 DASH outputs AVC 1080p through 270p

  • MediaConvert_Template_720p:

    • 1 mp4 720p AVC output

    • 7 HLS outputs AVC 720p through 270p

    • 7 DASH outputs AVC 720p through 270p

By default, the solution is configured to leverage Quality-Defined Variable Bitrate (QVBR) mode in MediaConvert. The QVBR settings are configured to the recommended values for each output, as shown in the following table.

Resolution Maximum Bitrate QVBR Quality Level
2160p 20,000 Kbps 8
1080p 8,500 Kbps 8
720p 6,500 Kbps 8
720p 5,000 Kbps 8
720p 3,500 Kbps 7
540p 3,500 Kbps 7
360p 1,200 Kbps 7
360p 600 Kbps 7
270p 400 Kbps 7

You can also modify the solution to use different QVBR settings, other system job templates, or your own custom job templates. For more information about working with job templates for MediaConvert, see Working with MediaConvert Job Templates. For more information about QVBR Mode, see Using the QVBR Rate Control Mode.

If you set the solution to ingest source videos and metadata files, you can specify the template using the JobTemplate field in your metadata file. For more information, see Appendix E. Or, you can replace the default templates in the Input Validate AWS Lambda function by modifying the MediaConvert_Template_<resolution> environment variables.