Azure 媒体服务 v3 中的资产Assets in Azure Media Services v3

在 Azure 媒体服务中,资产是一个核心概念。In Azure Media Services, an Asset is a core concept. 你可以在其中输入媒体(例如,通过上传或实时引入)、输出媒体(从作业输出)以及从中发布媒体(用于流式处理)。It is where you input media (for example, through upload or live ingest), output media (from a job output), and publish media from (for streaming).

资产将映射到 Azure 存储帐户中的 Blob 容器,资产中的文件作为块 Blob 存储在该容器中。An Asset is mapped to a blob container in the Azure Storage account and the files in the Asset are stored as block blobs in that container. 资产包含有关 Azure 存储中存储的数字文件(包括视频、音频、图像、缩略图集合、文本轨道和隐藏式字幕文件)的信息。Assets contain information about digital files stored in Azure Storage (including video, audio, images, thumbnail collections, text tracks, and closed caption files).

当帐户使用常规用途 v2 (GPv2) 存储时,媒体服务支持 Blob 层。Media Services supports Blob tiers when the account uses General-purpose v2 (GPv2) storage. 使用 GPv2 可将文件移到冷存储或存档存储With GPv2, you can move files to Cool or Archive storage. 存档存储适合存档不再需要的源文件(例如,编码后的源文件)。Archive storage is suitable for archiving source files when no longer needed (for example, after they've been encoded).

建议仅将存档存储用于已编码的,并且其编码作业输出已放入输出 Blob 容器中的极大型源文件。The Archive storage tier is only recommended for very large source files that have already been encoded and the encoding Job output was put in an output blob container. 要与资产关联的、用于流式传输或分析内容的输出容器中的 Blob 必须位于存储层中。The blobs in the output container that you want to associate with an Asset and use to stream or analyze your content must exist in a Hot or Cool storage tier.

命名Naming

资产Assets

资产的名称必须唯一。Asset's names must be unique. 媒体服务 v3 资源名称(例如,资产、作业、转换)受 Azure 资源管理器命名约束的制约。Media Services v3 resource names (for example, Assets, Jobs, Transforms) are subject to Azure Resource Manager naming constraints. 有关详细信息,请参阅命名约定For more information, see Naming conventions.

BlobBlobs

资产中的文件/blob 名称必须符合 Blob 名称要求NTFS 名称要求The names of files/blobs within an asset must follow both the blob name requirements and the NTFS name requirements. 符合这些要求的原因是可以将文件从 Blob 存储复制到本地 NTFS 磁盘进行处理。The reason for these requirements is the files can get copied from blob storage to a local NTFS disk for processing.

后续步骤Next steps

管理媒体服务中的资产Manage assets in Media Services

另请参阅See also

媒体服务 v2 与 v3 之间的差别Differences between Media Services v2 and v3