Delen via


MediaTransformOutput Class

Definition

Describes the properties of a TransformOutput, which are the rules to be applied while generating the desired output.

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

Constructors

MediaTransformOutput(MediaTransformPreset)

Initializes a new instance of MediaTransformOutput.

Properties

OnError

A Transform can define more than one outputs. This property defines what the service should do when one output fails - either continue to produce other outputs, or, stop the other outputs. The overall Job state will not reflect failures of outputs that are specified with 'ContinueJob'. The default is 'StopProcessingJob'.

Preset

Preset that describes the operations that will be used to modify, transcode, or extract insights from the source file to generate the output. Please note MediaTransformPreset 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 AudioAnalyzerPreset, BuiltInStandardEncoderPreset, StandardEncoderPreset and VideoAnalyzerPreset.

RelativePriority

Sets the relative priority of the TransformOutputs within a Transform. This sets the priority that the service uses for processing TransformOutputs. The default priority is Normal.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MediaTransformOutput>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MediaTransformOutput>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MediaTransformOutput>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MediaTransformOutput>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MediaTransformOutput>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to