| « PreviousNext » | |
![]() ![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
When you create a preset, you specify the following values.
The preset that you want to use as a starting point for your new preset. Elastic Transcoder copies the values from the preset that you select into the fields for the new preset. You can choose either one of the default Elastic Transcoder presets or a preset that you created.
The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced. The maximum length is 40 characters.
A description of the preset. The maximum length is 255 characters.
The container type for the output file.
The video codec for the output file.
The profile that you want to use for the output file. When the video codec is H.264, Elastic Transcoder supports the following profiles:
baseline: The profile most commonly used for videoconferencing and for mobile applications.
main: The profile used for standard-definition digital TV broadcasts.
high: The profile used for high-definition digital TV broadcasts and for Blu-ray discs.
For more information about H.264 profiles, see Profiles in the Wikipedia entry "H.264/MPEG-4 AVC."
When the video codec is VP8, Elastic Transcoder supports values of 0, 1, 2, and 3.
The H.264 level that you want to use for the output file. Select the applicable value.
For more information about levels, see Levels in the Wikipedia entry "H.264/MPEG-4 AVC."
The maximum number of previously decoded frames to use as a reference for decoding future frames. If you enter a value greater than the recommended value based on the values that you specified for Max Height, Max Height, and Level, Elastic Transcoder displays a message that contains the recommended value. For a detailed explanation, including the calculation that Elastic Transcoder performs, see MaxReferenceFrames in the topic Create Preset.
The maximum number of frames between key frames. Key frames are fully encoded frames; the frames between key frames are encoded based, in part, on the content of the key frames. The value is an integer formatted as a string; valid values are between 1 and 100000, inclusive. A higher value results in higher compression but may also discernibly decrease video quality.
For more information about key frames, see the Wikipedia entry Video compression picture types.
Whether to use a fixed value for Fixed Number of Frames Between Keyframes:
Yes: Elastic Transcoder uses the value of Maximum Number of Frames Between Keyframes for the distance between key frames (the number of frames in a group of pictures, or GOP).
No: The distance between key frames can vary.
The bit rate of the video stream in the output file, in kilobits/second. If you specify auto, Elastic Transcoder uses variable bitrate encoding to optimize the bitrate and to maintain a consistent quality for each frame of the output.
Valid values for the video bit rate depend on the value that you chose for Codec:
H.264: Valid values depend on the values of Level and Profile. We recommend that you specify a value less than or equal to the maximum H.264-compliant value listed in the following table for your level and profile:
VP8: do not use the following table; Level applies only when the video codec is H.264.
The frames per second for the video stream in the output file. Select the applicable value.
If you specify auto, Elastic Transcoder uses the detected frame rate of the input source. If you specify a frame rate, we recommend that you perform the following calculation:
Frame rate = maximum recommended decoding speed in luma samples/second / (<xref linkend="preset-settings-video-max-width" xrefstyle="select: nopage"/> * <xref linkend="preset-settings-video-max-height" xrefstyle="select: nopage"/>)
where maximum recommended decoding speed in luma samples/second is less than or equal to the
maximum value listed in the following table, based on the value that you specified for
Level.
Note
If you enter a value greater than the recommended value based on the values that you specified for Max Width, Max Height, and Level, Elastic Transcoder displays a message that contains the recommended value.
Maximum Recommended Decoding Speed in Luma Samples/Second | |
|---|---|
1 | 380160 |
1b | 380160 |
1.1 | 768000 |
1.2 | 1536000 |
1.3 | 3041280 |
2 | 3041280 |
2.1 | 5068800 |
2.2 | 5184000 |
3 | 10368000 |
3.1 | 27648000 |
3.2 | 55296000 |
4 | 62914560 |
4.1 | 62914560 |
The maximum width of the output video in pixels. If you specify auto, Elastic Transcoder uses 1920 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 128 and 4096.
For more information, see Max Height.
The maximum height of the output video in pixels. If you specify auto, Elastic Transcoder uses 1080 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 96 and 3072.
If you specified H.264 for Codec We recommend that you specify values for Max Width and Max Height so the product of the two values is less than or equal to the applicable value in the following table.
Note
If you specified VP8 for Codec, do not use the following table; Level applies only when the video codec is H.264.
Value of Level | Maximum Value of Max Width x Max Height |
|---|---|
1 | 25344 |
1b | 25344 |
1.1 | 101376 |
1.2 | 101376 |
1.3 | 101376 |
2 | 101376 |
2.1 | 202752 |
2.2 | 404720 |
3 | 404720 |
3.1 | 921600 |
3.2 | 1310720 |
4 | 2097152 |
4.1 | 2097152 |
Specify one of the following values to control scaling of the output video:
Fit: Elastic Transcoder scales the output video so it matches the value that you
specified in either Max Width or Max Height without exceeding the other value.
Fill: Elastic Transcoder scales the output video so it matches the value that you specified in either Max Width or Max Height and matches or exceeds the other value. Elastic Transcoder centers the output video and then crops it in the dimension (if any) that exceeds the maximum value.
Stretch: Elastic Transcoder stretches the output video to match the values that you specified for Max Width and Max Height. If the relative proportions of the input video and the output video are different, the output video will be distorted.
Keep: Elastic Transcoder does not scale the output video. If either dimension of the input video exceeds the values that you specified for Max Width and Max Height, Elastic Transcoder crops the output video.
ShrinkToFit: Elastic Transcoder scales the output video down so that its dimensions match the values that you specified for at least one of Max Width and Max Height without exceeding either value. If you specify this option, Elastic Transcoder does not scale the video up.
ShrinkToFill: Elastic Transcoder scales the output video down so that its dimensions match the values that you specified for at least one of Max Width and Max Height without dropping below either value. If you specify this option, Elastic Transcoder does not scale the video up.
The following table shows possible effects of Sizing Policy settings on the output video:
SizingPolicy | Output Video May Be Scaled Up | Output Video May Be Padded | Output Video May Have a Different Pixel Aspect Ratio than Input Video | Output Video May Be Cropped |
|---|---|---|---|---|
Fit | Yes | Yes |
|
|
Fill | Yes |
|
| Yes |
Stretch | Yes |
| Yes |
|
Keep | Yes | Yes |
| Yes |
ShrinkToFit |
| Yes |
|
|
ShrinkToFill |
| Yes |
| Yes |
When you set PaddingPolicy to Pad, Elastic Transcoder may add black bars to the top and bottom and/or left and right sides of the output video to make the total size of the output video match the values that you specified for Max Width and Max Height. For more information, see the table at Sizing Policy.
The value that Elastic Transcoder adds to the metadata in the output file. If you set Display Aspect Ratio to auto, Elastic Transcoder chooses an aspect ratio that ensures square pixels. If you specify another option, Elastic Transcoder sets that value in the output file.
The audio codec for the output file. This value must be AAC.
The sample rate of the audio stream in the output file, in Hz. If you want Elastic Transcoder to automatically detect the sample rate of the input file and use that value for the output file, select auto. If you want to specify the sample rate, select the applicable value.
The bit rate of the audio stream in the output file, in kilobits/second. Enter an integer between 64 and 320, inclusive.
The number of audio channels in the output file. If you want Elastic Transcoder to automatically detect the number of audio channels in the input file and use that value for the output file, select auto. If you want to specify the number of audio channels in the output file, select the applicable value.
The format of thumbnails, if any. Valid formats are jpg and png.
You specify whether you want Elastic Transcoder to create thumbnails when you create a job. For more information, see Thumbnail Filename Pattern in the topic Settings that You Specify When You Create an Elastic Transcoder Job.
The number of seconds between thumbnails. Specify an integer value.
The maximum width of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1920 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 4096.
The maximum height of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1080 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 3072.
Specify one of the following values to control scaling of thumbnails:
Fit: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail Max Width or Max Height settings without exceeding the other value.
Fill: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail Max Width or Max Height settings and matches or exceeds the other value. Elastic Transcoder centers the image in thumbnails and then crops in the dimension (if any) that exceeds the maximum value.
Stretch: Elastic Transcoder stretches thumbnails to match the values that you specified for thumbnail Max Width and Max Height settings. If the relative proportions of the input video and thumbnails are different, the thumbnails will be distorted.
Keep: Elastic Transcoder does not scale thumbnails. If either dimension of the input video exceeds the values that you specified for thumbnail Max Width and Max Height settings, Elastic Transcoder crops the thumbnails.
ShrinkToFit: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of thumbnail MaxWidth and MaxHeight without exceeding either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.
ShrinkToFill: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without dropping below either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.
The following table shows possible effects of Sizing Policy settings on thumbnails:
SizingPolicy | Thumbnails May Be Scaled Up | Thumbnails May Be Padded | Thumbnails May Have a Different Pixel Aspect Ratio than Input Video | Thumbnails May Be Cropped |
|---|---|---|---|---|
Fit | Yes | Yes |
|
|
Fill | Yes |
|
| Yes |
Stretch | Yes |
| Yes |
|
Keep | Yes | Yes |
| Yes |
ShrinkToFit |
| Yes |
|
|
ShrinkToFill |
| Yes |
| Yes |
When you set PaddingPolicy to Pad, Elastic Transcoder may add black bars to the top and bottom and/or left and right sides of thumbnails to make the total size of the thumbnails match the values that you specified for thumbnail Max Width and Max Height settings. For more information, see the table at Sizing Policy.