Sdílet prostřednictvím


H265Video Class

Definition

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

public class H265Video : Azure.ResourceManager.Media.Models.MediaVideoBase, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Media.Models.H265Video>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Media.Models.H265Video>
public class H265Video : Azure.ResourceManager.Media.Models.MediaVideoBase
type H265Video = class
    inherit MediaVideoBase
    interface IJsonModel<H265Video>
    interface IPersistableModel<H265Video>
type H265Video = class
    inherit MediaVideoBase
Public Class H265Video
Inherits MediaVideoBase
Implements IJsonModel(Of H265Video), IPersistableModel(Of H265Video)
Public Class H265Video
Inherits MediaVideoBase
Inheritance
Implements

Constructors

H265Video()

Initializes a new instance of H265Video.

Properties

Complexity

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.

KeyFrameInterval

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 MediaVideoBase)
Label

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

(Inherited from MediaCodecBase)
Layers

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

StretchMode

The resizing mode - how the input video will be resized to fit the desired output resolution(s). Default is AutoSize.

(Inherited from MediaVideoBase)
SyncMode

The Video Sync Mode.

(Inherited from MediaVideoBase)
UseSceneChangeDetection

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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<H265Video>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<H265Video>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<MediaCodecBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from MediaCodecBase)
IJsonModel<MediaCodecBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from MediaCodecBase)
IJsonModel<MediaVideoBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from MediaVideoBase)
IJsonModel<MediaVideoBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from MediaVideoBase)
IPersistableModel<H265Video>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<H265Video>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<H265Video>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<MediaCodecBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from MediaCodecBase)
IPersistableModel<MediaCodecBase>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from MediaCodecBase)
IPersistableModel<MediaCodecBase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from MediaCodecBase)
IPersistableModel<MediaVideoBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from MediaVideoBase)
IPersistableModel<MediaVideoBase>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from MediaVideoBase)
IPersistableModel<MediaVideoBase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from MediaVideoBase)

Applies to