Sdílet prostřednictvím


TransportStreamFormat Class

Definition

Describes the properties for generating an MPEG-2 Transport Stream (ISO/IEC 13818-1) output video file(s).

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

Constructors

TransportStreamFormat(String)

Initializes a new instance of TransportStreamFormat.

Properties

FilenamePattern

The file naming pattern used for the creation of output files. The following macros are supported in the file name: {Basename} - An expansion macro that will use the name of the input video file. If the base name(the file suffix is not included) of the input video file is less than 32 characters long, the base name of input video files will be used. If the length of base name of the input video file exceeds 32 characters, the base name is truncated to the first 32 characters in total length. {Extension} - The appropriate extension for this format. {Label} - The label assigned to the codec/layer. {Index} - A unique index for thumbnails. Only applicable to thumbnails. {AudioStream} - string "Audio" plus audio stream number(start from 1). {Bitrate} - The audio/video bitrate in kbps. Not applicable to thumbnails. {Codec} - The type of the audio/video codec. {Resolution} - The video resolution. Any unsubstituted macros will be collapsed and removed from the filename.

(Inherited from MediaFormatBase)
OutputFiles

The list of output files to produce. Each entry in the list is a set of audio and video layer labels to be muxed together .

(Inherited from MultiBitrateFormat)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MediaFormatBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from MediaFormatBase)
IJsonModel<MultiBitrateFormat>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from MultiBitrateFormat)
IJsonModel<TransportStreamFormat>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TransportStreamFormat>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MediaFormatBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from MediaFormatBase)
IPersistableModel<MultiBitrateFormat>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from MultiBitrateFormat)
IPersistableModel<TransportStreamFormat>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TransportStreamFormat>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TransportStreamFormat>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to