Share via


H265Video Class

Definition

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

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

Constructors

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.

Properties

Complexity

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

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.

(Inherited from Video)
Label

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

(Inherited from Codec)
Layers

Gets or sets the collection of output H.265 layers to be produced by the encoder.

SceneChangeDetection

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

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'

(Inherited from Video)
SyncMode

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

(Inherited from Video)

Applies to