MediaConvert templates
The Video on Demand on AWS solution outputs 4K, 1080p, and 720p MP4, and any combination of 1080p, 720p, 540p, 360p, and 270p HLS and DASH. By default, the solution selects the job template for MediaConvert based on the source video height. The solution includes three default job templates:
-
MediaConvert_Template_2160p: 5 HLS outputs AVC 2160p through 270p
-
MediaConvert_Template_1080p: 5 HLS outputs AVC 1080p through 270p
-
MediaConvert_Template_720p: 4 HLS 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 | 15,000 Kbps | 9 |
1080p | 8,500 Kbps | 8 |
720p | 6,000 Kbps | 8 |
540p | 3,500 Kbps | 7 |
360p | 1,500 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, refer to Working with MediaConvert Job Templates. For more information about QVBR Mode, refer to 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, refer to
Metadata file. Or, you can
replace the default templates in the Input Validate AWS Lambda
function by modifying the
MediaConvert_Template_
environment variables.
<resolution>