H264VideoArgs

data class H264VideoArgs(val complexity: Output<Either<String, H264Complexity>>? = null, val keyFrameInterval: Output<String>? = null, val label: Output<String>? = null, val layers: Output<List<H264LayerArgs>>? = null, val odataType: Output<String>, val rateControlMode: Output<Either<String, H264RateControlMode>>? = null, val sceneChangeDetection: Output<Boolean>? = null, val stretchMode: Output<Either<String, StretchMode>>? = null, val syncMode: Output<Either<String, VideoSyncMode>>? = null) : ConvertibleToJava<H264VideoArgs>

Describes all the properties for encoding a video with the H.264 codec.

Constructors

Link copied to clipboard
constructor(complexity: Output<Either<String, H264Complexity>>? = null, keyFrameInterval: Output<String>? = null, label: Output<String>? = null, layers: Output<List<H264LayerArgs>>? = null, odataType: Output<String>, rateControlMode: Output<Either<String, H264RateControlMode>>? = null, sceneChangeDetection: Output<Boolean>? = null, stretchMode: Output<Either<String, StretchMode>>? = null, syncMode: Output<Either<String, VideoSyncMode>>? = null)

Properties

Link copied to clipboard
val complexity: Output<Either<String, H264Complexity>>? = null

Tells the encoder how to choose its encoding settings. The default value is Balanced.

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 layers: Output<List<H264LayerArgs>>? = null

The collection of output H.264 layers to be produced by the encoder.

Link copied to clipboard
val odataType: Output<String>

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

Link copied to clipboard
val rateControlMode: Output<Either<String, H264RateControlMode>>? = null

The video rate control mode

Link copied to clipboard
val sceneChangeDetection: Output<Boolean>? = null

Whether or not the encoder should insert key frames at scene changes. If not specified, the default is false. This flag should be set to true only when the encoder is being configured to produce a single output 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(): H264VideoArgs