
com.pulumi.awsnative.mediaconnect.kotlin.outputs.FlowOutputEncodingParameters.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.mediaconnect.kotlin.outputs
import com.pulumi.awsnative.mediaconnect.kotlin.enums.FlowOutputEncodingParametersEncoderProfile
import kotlin.Double
import kotlin.Suppress
/**
* A collection of parameters that determine how MediaConnect will convert the content. These fields only apply to outputs on flows that have a CDI source.
* @property compressionFactor A value that is used to calculate compression for an output. The bitrate of the output is calculated as follows: Output bitrate = (1 / compressionFactor) * (source bitrate) This property only applies to outputs that use the ST 2110 JPEG XS protocol, with a flow source that uses the CDI protocol. Valid values are in the range of 3.0 to 10.0, inclusive.
* @property encoderProfile A setting on the encoder that drives compression settings. This property only applies to video media streams associated with outputs that use the ST 2110 JPEG XS protocol, with a flow source that uses the CDI protocol.
*/
public data class FlowOutputEncodingParameters(
public val compressionFactor: Double,
public val encoderProfile: FlowOutputEncodingParametersEncoderProfile? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.mediaconnect.outputs.FlowOutputEncodingParameters): FlowOutputEncodingParameters = FlowOutputEncodingParameters(
compressionFactor = javaType.compressionFactor(),
encoderProfile = javaType.encoderProfile().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediaconnect.kotlin.enums.FlowOutputEncodingParametersEncoderProfile.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy