Share via


Video Class

Definition

Describes the basic properties for encoding the input video.

[Newtonsoft.Json.JsonObject("#Microsoft.Media.Video")]
public class Video : Microsoft.Azure.Management.Media.Models.Codec
[<Newtonsoft.Json.JsonObject("#Microsoft.Media.Video")>]
type Video = class
    inherit Codec
Public Class Video
Inherits Codec
Inheritance
Video
Derived
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

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.

Properties

KeyFrameInterval

Gets or sets 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.

Label

Gets or sets an optional label for the codec. The label can be used to control muxing behavior.

(Inherited from Codec)
StretchMode

Gets or sets 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

Gets or sets the Video Sync Mode. Possible values include: 'Auto', 'Passthrough', 'Cfr', 'Vfr'

Applies to