다음을 통해 공유


StandardEncoderPreset Class

Definition

Describes all the settings to be used when encoding the input video with the Standard Encoder.

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

Constructors

StandardEncoderPreset(IEnumerable<MediaCodecBase>, IEnumerable<MediaFormatBase>)

Initializes a new instance of StandardEncoderPreset.

Properties

Codecs

The list of codecs to be used when encoding the input video. Please note MediaCodecBase is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AacAudio, MediaAudioBase, CodecCopyAudio, CodecCopyVideo, DDAudio, H264Video, H265Video, MediaImageBase, JpgImage, PngImage and MediaVideoBase.

ExperimentalOptions

Dictionary containing key value pairs for parameters not exposed in the preset itself.

Filters

One or more filtering operations that are applied to the input media before encoding.

Formats

The list of outputs to be produced by the encoder. Please note MediaFormatBase is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include OutputImageFileFormat, JpgFormat, Mp4Format, MultiBitrateFormat, PngFormat and TransportStreamFormat.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MediaTransformPreset>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from MediaTransformPreset)
IJsonModel<StandardEncoderPreset>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StandardEncoderPreset>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MediaTransformPreset>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from MediaTransformPreset)
IPersistableModel<StandardEncoderPreset>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StandardEncoderPreset>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StandardEncoderPreset>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to