
commonMain.aws.sdk.kotlin.services.mediaconvert.model.Vp9FramerateConversionAlgorithm.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
import kotlin.collections.List
/**
* Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. For numerically simple conversions, such as 60 fps to 30 fps: We recommend that you keep the default value, Drop duplicate. For numerically complex conversions, to avoid stutter: Choose Interpolate. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence: Choose FrameFormer to do motion-compensated interpolation. FrameFormer uses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost. When you choose FrameFormer, your input video resolution must be at least 128x96.
*/
public sealed class Vp9FramerateConversionAlgorithm {
public abstract val value: kotlin.String
public object DuplicateDrop : aws.sdk.kotlin.services.mediaconvert.model.Vp9FramerateConversionAlgorithm() {
override val value: kotlin.String = "DUPLICATE_DROP"
override fun toString(): kotlin.String = "DuplicateDrop"
}
public object Frameformer : aws.sdk.kotlin.services.mediaconvert.model.Vp9FramerateConversionAlgorithm() {
override val value: kotlin.String = "FRAMEFORMER"
override fun toString(): kotlin.String = "Frameformer"
}
public object Interpolate : aws.sdk.kotlin.services.mediaconvert.model.Vp9FramerateConversionAlgorithm() {
override val value: kotlin.String = "INTERPOLATE"
override fun toString(): kotlin.String = "Interpolate"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.Vp9FramerateConversionAlgorithm() {
override fun toString(): kotlin.String = "SdkUnknown($value)"
}
public companion object {
/**
* Convert a raw value to one of the sealed variants or [SdkUnknown]
*/
public fun fromValue(value: kotlin.String): aws.sdk.kotlin.services.mediaconvert.model.Vp9FramerateConversionAlgorithm = when (value) {
"DUPLICATE_DROP" -> DuplicateDrop
"FRAMEFORMER" -> Frameformer
"INTERPOLATE" -> Interpolate
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
DuplicateDrop,
Frameformer,
Interpolate,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy