H264Video Constructors

Definition

Overloads

H264Video()

Initializes a new instance of the H264Video class.

H264Video(String, Nullable<TimeSpan>, Nullable<StretchMode>, Nullable<VideoSyncMode>, Nullable<H264Complexity>, IList<H264Layer>, Nullable<H264RateControlMode>, Nullable<Boolean>)

Initializes a new instance of the H264Video class.

H264Video()

Initializes a new instance of the H264Video class.

public H264Video ();
Public Sub New ()

Applies to

H264Video(String, Nullable<TimeSpan>, Nullable<StretchMode>, Nullable<VideoSyncMode>, Nullable<H264Complexity>, IList<H264Layer>, Nullable<H264RateControlMode>, Nullable<Boolean>)

Initializes a new instance of the H264Video class.

public H264Video (string label = default, TimeSpan? keyFrameInterval = default, Microsoft.Azure.Management.Media.Models.StretchMode? stretchMode = default, Microsoft.Azure.Management.Media.Models.VideoSyncMode? syncMode = default, Microsoft.Azure.Management.Media.Models.H264Complexity? complexity = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.H264Layer> layers = default, Microsoft.Azure.Management.Media.Models.H264RateControlMode? rateControlMode = default, bool? sceneChangeDetection = default);
new Microsoft.Azure.Management.Media.Models.H264Video : string * Nullable<TimeSpan> * Nullable<Microsoft.Azure.Management.Media.Models.StretchMode> * Nullable<Microsoft.Azure.Management.Media.Models.VideoSyncMode> * Nullable<Microsoft.Azure.Management.Media.Models.H264Complexity> * System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.H264Layer> * Nullable<Microsoft.Azure.Management.Media.Models.H264RateControlMode> * Nullable<bool> -> Microsoft.Azure.Management.Media.Models.H264Video
Public Sub New (Optional label As String = Nothing, Optional keyFrameInterval As Nullable(Of TimeSpan) = Nothing, Optional stretchMode As Nullable(Of StretchMode) = Nothing, Optional syncMode As Nullable(Of VideoSyncMode) = Nothing, Optional complexity As Nullable(Of H264Complexity) = Nothing, Optional layers As IList(Of H264Layer) = Nothing, Optional rateControlMode As Nullable(Of H264RateControlMode) = Nothing, Optional sceneChangeDetection As Nullable(Of Boolean) = Nothing)

Parameters

label
String

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

keyFrameInterval
Nullable<TimeSpan>

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.

stretchMode
Nullable<StretchMode>

The resizing mode - how the input video will be resized to fit the desired output resolution(s). Default is AutoSize. Possible values include: 'None', 'AutoSize', 'AutoFit'

syncMode
Nullable<VideoSyncMode>

The Video Sync Mode. Possible values include: 'Auto', 'Passthrough', 'Cfr', 'Vfr'

complexity
Nullable<H264Complexity>

Tells the encoder how to choose its encoding settings. The default value is Balanced. Possible values include: 'Speed', 'Balanced', 'Quality'

layers
IList<H264Layer>

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

rateControlMode
Nullable<H264RateControlMode>

The video rate control mode. Possible values include: 'ABR', 'CBR', 'CRF'

sceneChangeDetection
Nullable<Boolean>

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.

Applies to