VideoArgs

data class VideoArgs(val keyFrameInterval: Output<String>? = null, val label: Output<String>? = null, val odataType: Output<String>, val stretchMode: Output<Either<String, StretchMode>>? = null, val syncMode: Output<Either<String, VideoSyncMode>>? = null) : ConvertibleToJava<VideoArgs>

Describes the basic properties for encoding the input video.

Constructors

Link copied to clipboard
constructor(keyFrameInterval: Output<String>? = null, label: Output<String>? = null, odataType: Output<String>, stretchMode: Output<Either<String, StretchMode>>? = null, syncMode: Output<Either<String, VideoSyncMode>>? = null)

Properties

Link copied to clipboard
val keyFrameInterval: Output<String>? = null

The distance between two key frames. The value should be non-zero in the range 0.5, 20 seconds, specified in ISO 8601 format. The default is 2 seconds(PT2S). Note that this setting is ignored if VideoSyncMode.Passthrough is set, where the KeyFrameInterval value will follow the input source setting.

Link copied to clipboard
val label: Output<String>? = null

An optional label for the codec. The label can be used to control muxing behavior.

Link copied to clipboard
val odataType: Output<String>

The discriminator for derived types. Expected value is '#Microsoft.Media.Video'.

Link copied to clipboard
val stretchMode: Output<Either<String, StretchMode>>? = null

The resizing mode - how the input video will be resized to fit the desired output resolution(s). Default is AutoSize

Link copied to clipboard
val syncMode: Output<Either<String, VideoSyncMode>>? = null

The Video Sync Mode

Functions

Link copied to clipboard
open override fun toJava(): VideoArgs