All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.media.kotlin.outputs.TransformOutputBuiltinPresetPresetConfiguration.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.media.kotlin.outputs

import kotlin.Double
import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property complexity The complexity of the encoding. Possible values are `Balanced`, `Speed` or `Quality`.
 * @property interleaveOutput Specifies the interleave mode of the output to control how audio are stored in the container format. Possible values are `InterleavedOutput` and `NonInterleavedOutput`.
 * @property keyFrameIntervalInSeconds 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.
 * @property maxBitrateBps 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.
 * @property maxHeight 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.
 * @property maxLayers 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.
 * @property minBitrateBps 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.
 * @property minHeight The minimum height of output video layers. For example, set as `360` to avoid output layers of smaller resolutions like 180P.
 */
public data class TransformOutputBuiltinPresetPresetConfiguration(
    public val complexity: String? = null,
    public val interleaveOutput: String? = null,
    public val keyFrameIntervalInSeconds: Double? = null,
    public val maxBitrateBps: Int? = null,
    public val maxHeight: Int? = null,
    public val maxLayers: Int? = null,
    public val minBitrateBps: Int? = null,
    public val minHeight: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.media.outputs.TransformOutputBuiltinPresetPresetConfiguration): TransformOutputBuiltinPresetPresetConfiguration =
            TransformOutputBuiltinPresetPresetConfiguration(
                complexity = javaType.complexity().map({ args0 -> args0 }).orElse(null),
                interleaveOutput = javaType.interleaveOutput().map({ args0 -> args0 }).orElse(null),
                keyFrameIntervalInSeconds = javaType.keyFrameIntervalInSeconds().map({ args0 ->
                    args0
                }).orElse(null),
                maxBitrateBps = javaType.maxBitrateBps().map({ args0 -> args0 }).orElse(null),
                maxHeight = javaType.maxHeight().map({ args0 -> args0 }).orElse(null),
                maxLayers = javaType.maxLayers().map({ args0 -> args0 }).orElse(null),
                minBitrateBps = javaType.minBitrateBps().map({ args0 -> args0 }).orElse(null),
                minHeight = javaType.minHeight().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy