다음을 통해 공유


OutputImageFileFormat Class

Definition

Describes the properties for an output image file. Please note OutputImageFileFormat 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 JpgFormat and PngFormat.

public class OutputImageFileFormat : Azure.ResourceManager.Media.Models.MediaFormatBase
type OutputImageFileFormat = class
    inherit MediaFormatBase
Public Class OutputImageFileFormat
Inherits MediaFormatBase
Inheritance
OutputImageFileFormat
Derived

Constructors

OutputImageFileFormat(String)

Initializes a new instance of OutputImageFileFormat.

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)

Applies to