TransformOutputCustomPresetCodecH264VideoLayerArgs

data class TransformOutputCustomPresetCodecH264VideoLayerArgs(val adaptiveBFrameEnabled: Output<Boolean>? = null, val bFrames: Output<Int>? = null, val bitrate: Output<Int>, val bufferWindow: Output<String>? = null, val crf: Output<Double>? = null, val entropyMode: Output<String>? = null, val frameRate: Output<String>? = null, val height: Output<String>? = null, val label: Output<String>? = null, val level: Output<String>? = null, val maxBitrate: Output<Int>? = null, val profile: Output<String>? = null, val referenceFrames: Output<Int>? = null, val slices: Output<Int>? = null, val width: Output<String>? = null) : ConvertibleToJava<TransformOutputCustomPresetCodecH264VideoLayerArgs>

Constructors

constructor(adaptiveBFrameEnabled: Output<Boolean>? = null, bFrames: Output<Int>? = null, bitrate: Output<Int>, bufferWindow: Output<String>? = null, crf: Output<Double>? = null, entropyMode: Output<String>? = null, frameRate: Output<String>? = null, height: Output<String>? = null, label: Output<String>? = null, level: Output<String>? = null, maxBitrate: Output<Int>? = null, profile: Output<String>? = null, referenceFrames: Output<Int>? = null, slices: Output<Int>? = null, width: Output<String>? = null)

Properties

Link copied to clipboard
val adaptiveBFrameEnabled: Output<Boolean>? = null

Whether adaptive B-frames are used when encoding this layer. If not specified, the encoder will turn it on whenever the video profile permits its use. Default to true.

Link copied to clipboard
val bFrames: Output<Int>? = null

The number of B-frames to use when encoding this layer. If not specified, the encoder chooses an appropriate number based on the video profile and level.

Link copied to clipboard
val bitrate: Output<Int>

The average bitrate in bits per second at which to encode the input video when generating this layer.

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

Specifies the maximum amount of time that the encoder should buffer frames before encoding. The value should be in ISO 8601 format. The value should be in the range 0.1 to 100 seconds. Defaults to PT5S.

Link copied to clipboard
val crf: Output<Double>? = null

The value of CRF to be used when encoding this layer. This setting takes effect when rate_control_mode is set CRF. The range of CRF value is between 0 and 51, where lower values would result in better quality, at the expense of higher file sizes. Higher values mean more compression, but at some point quality degradation will be noticed. Default to 28.

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

The entropy mode to be used for this layer. Possible values are Cabac or Cavlc. If not specified, the encoder chooses the mode that is appropriate for the profile and level.

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

The frame rate (in frames per second) at which to encode this layer. The value can be in the form of M/N where M and N are integers (For example, 30000/1001), or in the form of a number (For example, 30, or 29.97). The encoder enforces constraints on allowed frame rates based on the profile and level. If it is not specified, the encoder will use the same frame rate as the input video.

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

The height of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example 50% means the output video has half as many pixels in height as the input.

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

The alphanumeric label for this layer, which can be used in multiplexing different video and audio layers, or in naming the output file.

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

The H.264 levels. Currently, the resource support Level up to 6.2. The value can be auto, or a number that matches the H.264 profile. If not specified, the default is auto, which lets the encoder choose the Level that is appropriate for this layer.

Link copied to clipboard
val maxBitrate: Output<Int>? = null

The maximum bitrate (in bits per second), at which the VBV buffer should be assumed to refill. If not specified, defaults to the same value as bitrate.

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

The H.264 profile. Possible values are Auto, Main and Main10. Default to Auto.

Link copied to clipboard
val referenceFrames: Output<Int>? = null

The number of reference frames to be used when encoding this layer. If not specified, the encoder determines an appropriate number based on the encoder complexity setting.

Link copied to clipboard
val slices: Output<Int>? = null

The number of slices to be used when encoding this layer. If not specified, default is 1, which means that encoder will use a single slice for each frame.

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

The width of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example 50% means the output video has half as many pixels in width as the input.

Functions

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