Share via


H265Video Constructors

Definition

Overloads

H265Video()

Initializes a new instance of the H265Video class.

H265Video(String, Nullable<TimeSpan>, Nullable<StretchMode>, Nullable<VideoSyncMode>, Nullable<Boolean>, Nullable<H265Complexity>, IList<H265Layer>)

Initializes a new instance of the H265Video class.

H265Video()

Initializes a new instance of the H265Video class.

public H265Video ();
Public Sub New ()

Applies to

H265Video(String, Nullable<TimeSpan>, Nullable<StretchMode>, Nullable<VideoSyncMode>, Nullable<Boolean>, Nullable<H265Complexity>, IList<H265Layer>)

Initializes a new instance of the H265Video class.

public H265Video (string label = default, TimeSpan? keyFrameInterval = default, Microsoft.Azure.Management.Media.Models.StretchMode? stretchMode = default, Microsoft.Azure.Management.Media.Models.VideoSyncMode? syncMode = default, bool? sceneChangeDetection = default, Microsoft.Azure.Management.Media.Models.H265Complexity? complexity = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.H265Layer> layers = default);
new Microsoft.Azure.Management.Media.Models.H265Video : string * Nullable<TimeSpan> * Nullable<Microsoft.Azure.Management.Media.Models.StretchMode> * Nullable<Microsoft.Azure.Management.Media.Models.VideoSyncMode> * Nullable<bool> * Nullable<Microsoft.Azure.Management.Media.Models.H265Complexity> * System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.H265Layer> -> Microsoft.Azure.Management.Media.Models.H265Video
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 sceneChangeDetection As Nullable(Of Boolean) = Nothing, Optional complexity As Nullable(Of H265Complexity) = Nothing, Optional layers As IList(Of H265Layer) = 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'

sceneChangeDetection
Nullable<Boolean>

Specifies 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.

complexity
Nullable<H265Complexity>

Tells the encoder how to choose its encoding settings. Quality will provide for a higher compression ratio but at a higher cost and longer compute time. Speed will produce a relatively larger file but is faster and more economical. The default value is Balanced. Possible values include: 'Speed', 'Balanced', 'Quality'

layers
IList<H265Layer>

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

Applies to