TransformOutputBuiltinPresetPresetConfiguration

data class TransformOutputBuiltinPresetPresetConfiguration(val complexity: String? = null, val interleaveOutput: String? = null, val keyFrameIntervalInSeconds: Double? = null, val maxBitrateBps: Int? = null, val maxHeight: Int? = null, val maxLayers: Int? = null, val minBitrateBps: Int? = null, val minHeight: Int? = null)

Constructors

constructor(complexity: String? = null, interleaveOutput: String? = null, keyFrameIntervalInSeconds: Double? = null, maxBitrateBps: Int? = null, maxHeight: Int? = null, maxLayers: Int? = null, minBitrateBps: Int? = null, minHeight: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val complexity: String? = null

The complexity of the encoding. Possible values are Balanced, Speed or Quality.

Link copied to clipboard

Specifies the interleave mode of the output to control how audio are stored in the container format. Possible values are InterleavedOutput and NonInterleavedOutput.

Link copied to clipboard

The key frame interval in seconds. Possible value is a positive float. For example, set as 2.0 to reduce the playback buffering for some players.

Link copied to clipboard
val maxBitrateBps: Int? = null

The maximum bitrate in bits per second (threshold for the top video layer). For example, set as 6000000 to avoid producing very high bitrate outputs for contents with high complexity.

Link copied to clipboard
val maxHeight: Int? = null

The maximum height of output video layers. For example, set as 720 to produce output layers up to 720P even if the input is 4K.

Link copied to clipboard
val maxLayers: Int? = null

The maximum number of output video layers. For example, set as 4 to make sure at most 4 output layers are produced to control the overall cost of the encoding job.

Link copied to clipboard
val minBitrateBps: Int? = null

The minimum bitrate in bits per second (threshold for the bottom video layer). For example, set as 200000 to have a bottom layer that covers users with low network bandwidth.

Link copied to clipboard
val minHeight: Int? = null

The minimum height of output video layers. For example, set as 360 to avoid output layers of smaller resolutions like 180P.