
commonMain.aws.sdk.kotlin.services.mediaconvert.model.VideoTimecodeInsertion.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
import kotlin.collections.List
/**
* Applies only to H.264, H.265, MPEG2, and ProRes outputs. Only enable Timecode insertion when the input frame rate is identical to the output frame rate. To include timecodes in this output, set Timecode insertion to PIC_TIMING_SEI. To leave them out, set it to DISABLED. Default is DISABLED. When the service inserts timecodes in an output, by default, it uses any embedded timecodes from the input. If none are present, the service will set the timecode for the first output frame to zero. To change this default behavior, adjust the settings under Timecode configuration. In the console, these settings are located under Job > Job settings > Timecode configuration. Note - Timecode source under input settings does not affect the timecodes that are inserted in the output. Source under Job settings > Timecode configuration does.
*/
public sealed class VideoTimecodeInsertion {
public abstract val value: kotlin.String
public object Disabled : aws.sdk.kotlin.services.mediaconvert.model.VideoTimecodeInsertion() {
override val value: kotlin.String = "DISABLED"
override fun toString(): kotlin.String = "Disabled"
}
public object PicTimingSei : aws.sdk.kotlin.services.mediaconvert.model.VideoTimecodeInsertion() {
override val value: kotlin.String = "PIC_TIMING_SEI"
override fun toString(): kotlin.String = "PicTimingSei"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.VideoTimecodeInsertion() {
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.VideoTimecodeInsertion = when (value) {
"DISABLED" -> Disabled
"PIC_TIMING_SEI" -> PicTimingSei
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Disabled,
PicTimingSei,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy