共用方式為


Video Constructors

Definition

Overloads

Video()

Initializes a new instance of the Video class.

Video(String, Nullable<TimeSpan>, Nullable<StretchMode>, Nullable<VideoSyncMode>)

Initializes a new instance of the Video class.

Video()

Initializes a new instance of the Video class.

public Video ();
Public Sub New ()

Applies to

Video(String, Nullable<TimeSpan>, Nullable<StretchMode>, Nullable<VideoSyncMode>)

Initializes a new instance of the Video class.

public Video (string label = default, TimeSpan? keyFrameInterval = default, Microsoft.Azure.Management.Media.Models.StretchMode? stretchMode = default, Microsoft.Azure.Management.Media.Models.VideoSyncMode? syncMode = default);
new Microsoft.Azure.Management.Media.Models.Video : string * Nullable<TimeSpan> * Nullable<Microsoft.Azure.Management.Media.Models.StretchMode> * Nullable<Microsoft.Azure.Management.Media.Models.VideoSyncMode> -> Microsoft.Azure.Management.Media.Models.Video
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)

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'

Applies to