
com.pulumi.azure.media.kotlin.outputs.TransformOutputCustomPresetCodecH264Video.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.media.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property complexity The complexity of the encoding. Possible values are `Balanced`, `Speed` or `Quality`. Default to `Balanced`.
* @property keyFrameInterval The distance between two key frames. The value should be non-zero in the range `0.5` to `20` seconds, specified in ISO 8601 format. Note that this setting is ignored if `sync_mode` is set to `Passthrough`, where the KeyFrameInterval value will follow the input source setting. Defaults to `PT2S`.
* @property label The alphanumeric label for this layer, which can be used in multiplexing different video and audio layers, or in naming the output file.
* @property layers One or more `layer` blocks as defined below.
* @property rateControlMode The rate control mode. Possible values are `ABR`, `CBR` or `CRF`. Default to `ABR`.
* @property sceneChangeDetectionEnabled Whether the encoder should insert key frames at scene changes. This flag should be set to true only when the encoder is being configured to produce a single output video. Default to `false`.
* @property stretchMode Specifies the resizing mode - how the input video will be resized to fit the desired output resolution(s). Possible values are `AutoFit`, `AutoSize` or `None`. Default to `AutoSize`.
* @property syncMode Specifies the synchronization mode for the video. Possible values are `Auto`, `Cfr`, `Passthrough` or `Vfr`. Default to `Auto`.
*/
public data class TransformOutputCustomPresetCodecH264Video(
public val complexity: String? = null,
public val keyFrameInterval: String? = null,
public val label: String? = null,
public val layers: List? = null,
public val rateControlMode: String? = null,
public val sceneChangeDetectionEnabled: Boolean? = null,
public val stretchMode: String? = null,
public val syncMode: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.media.outputs.TransformOutputCustomPresetCodecH264Video): TransformOutputCustomPresetCodecH264Video = TransformOutputCustomPresetCodecH264Video(
complexity = javaType.complexity().map({ args0 -> args0 }).orElse(null),
keyFrameInterval = javaType.keyFrameInterval().map({ args0 -> args0 }).orElse(null),
label = javaType.label().map({ args0 -> args0 }).orElse(null),
layers = javaType.layers().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.media.kotlin.outputs.TransformOutputCustomPresetCodecH264VideoLayer.Companion.toKotlin(args0)
})
}),
rateControlMode = javaType.rateControlMode().map({ args0 -> args0 }).orElse(null),
sceneChangeDetectionEnabled = javaType.sceneChangeDetectionEnabled().map({ args0 ->
args0
}).orElse(null),
stretchMode = javaType.stretchMode().map({ args0 -> args0 }).orElse(null),
syncMode = javaType.syncMode().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy