你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Mp4Format 构造函数

定义

重载

Mp4Format()

初始化 Mp4Format 类的新实例。

Mp4Format(String, IList<OutputFile>)

初始化 Mp4Format 类的新实例。

Mp4Format()

初始化 Mp4Format 类的新实例。

public Mp4Format ();
Public Sub New ()

适用于

Mp4Format(String, IList<OutputFile>)

初始化 Mp4Format 类的新实例。

public Mp4Format (string filenamePattern, System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.OutputFile> outputFiles = default);
new Microsoft.Azure.Management.Media.Models.Mp4Format : string * System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.OutputFile> -> Microsoft.Azure.Management.Media.Models.Mp4Format
Public Sub New (filenamePattern As String, Optional outputFiles As IList(Of OutputFile) = Nothing)

参数

filenamePattern
String

生成的输出文件的文件名模式。 文件名支持以下宏:{Basename} - 将使用输入视频文件的名称的扩展宏。 如果输入视频文件的基名称 (文件后缀不包含) 长度小于 32 个字符,将使用输入视频文件的基名称。 如果输入视频文件的基名称长度超过 32 个字符,则基名称将截断为总长度的前 32 个字符。 {Extension} - 此格式的相应扩展。 {Label} - 分配给编解码器/层的标签。 {Index} - 缩略图的唯一索引。 仅适用于缩略图。 {Bitrate} - 音频/视频比特率。 不适用于缩略图。 {Codec} - 音频/视频编解码器的类型。 {Resolution} - 视频分辨率。 任何未替换的宏都将折叠并从文件名中删除。

outputFiles
IList<OutputFile>

要生成的输出文件的列表。 列表中的每个条目都是一组要复用在一起的音频和视频层标签。

适用于