PresetVideoArgs

data class PresetVideoArgs(val aspectRatio: Output<String>? = null, val bitRate: Output<String>? = null, val codec: Output<String>? = null, val displayAspectRatio: Output<String>? = null, val fixedGop: Output<String>? = null, val frameRate: Output<String>? = null, val keyframesMaxDist: Output<String>? = null, val maxFrameRate: Output<String>? = null, val maxHeight: Output<String>? = null, val maxWidth: Output<String>? = null, val paddingPolicy: Output<String>? = null, val resolution: Output<String>? = null, val sizingPolicy: Output<String>? = null) : ConvertibleToJava<PresetVideoArgs>

Constructors

Link copied to clipboard
constructor(aspectRatio: Output<String>? = null, bitRate: Output<String>? = null, codec: Output<String>? = null, displayAspectRatio: Output<String>? = null, fixedGop: Output<String>? = null, frameRate: Output<String>? = null, keyframesMaxDist: Output<String>? = null, maxFrameRate: Output<String>? = null, maxHeight: Output<String>? = null, maxWidth: Output<String>? = null, paddingPolicy: Output<String>? = null, resolution: Output<String>? = null, sizingPolicy: Output<String>? = null)

Properties

Link copied to clipboard
val aspectRatio: Output<String>? = null

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.)

Link copied to clipboard
val bitRate: Output<String>? = null

The bit rate of the video stream in the output file, in kilobits/second. You can configure variable bit rate or constant bit rate encoding.

Link copied to clipboard
val codec: Output<String>? = null

The video codec for the output file. Valid values are gif, H.264, mpeg2, vp8, and vp9.

Link copied to clipboard
val displayAspectRatio: Output<String>? = null

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.

Link copied to clipboard
val fixedGop: Output<String>? = null

Whether to use a fixed value for Video:FixedGOP. Not applicable for containers of type gif. Valid values are true and false. Also known as, Fixed Number of Frames Between Keyframes.

Link copied to clipboard
val frameRate: Output<String>? = null

The frames per second for the video stream in the output file. The following values are valid: auto, 10, 15, 23.97, 24, 25, 29.97, 30, 50, 60.

Link copied to clipboard
val keyframesMaxDist: Output<String>? = null

The maximum number of frames between key frames. Not applicable for containers of type gif.

Link copied to clipboard
val maxFrameRate: Output<String>? = null

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.

Link copied to clipboard
val maxHeight: Output<String>? = null

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, inclusive.

Link copied to clipboard
val maxWidth: Output<String>? = null

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, inclusive.

Link copied to clipboard
val paddingPolicy: Output<String>? = null

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.

Link copied to clipboard
val resolution: Output<String>? = null

The width and height of the video in the output file, in pixels. Valid values are auto and widthxheight. (see note for aspect_ratio)

Link copied to clipboard
val sizingPolicy: Output<String>? = null

A value that controls scaling of the output video. Valid values are: Fit, Fill, Stretch, Keep, ShrinkToFit, ShrinkToFill.

Functions

Link copied to clipboard
open override fun toJava(): PresetVideoArgs