Preset Video Args
Constructors
Properties
The display aspect ratio of the video in the output file. Valid values are: auto
, 1:1
, 4:3
, 3:2
, 16:9
. (Note; to better control resolution and aspect ratio of output videos, we recommend that you use the values max_width
, max_height
, sizing_policy
, padding_policy
, and display_aspect_ratio
instead of resolution
and aspect_ratio
.)
The value that Elastic Transcoder adds to the metadata in the output file. If you set DisplayAspectRatio 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 maximum number of frames between key frames. Not applicable for containers of type gif.
If you specify auto for FrameRate, Elastic Transcoder uses the frame rate of the input video for the frame rate of the output video, up to the maximum frame rate. If you do not specify a MaxFrameRate, Elastic Transcoder will use a default of 30.
When you set PaddingPolicy to Pad, Elastic Transcoder might 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
.
The width and height of the video in the output file, in pixels. Valid values are auto
and widthxheight
. (see note for aspect_ratio
)
A value that controls scaling of the output video. Valid values are: Fit
, Fill
, Stretch
, Keep
, ShrinkToFit
, ShrinkToFill
.