Azure 媒体服务的配额和限制Azure Media Services quotas and limits

媒体服务徽标 v3media services logo v3

本文列出了一些最常见的 Azure 媒体服务限制,有时也称为配额。This article lists some of the most common Azure Media Services limits, which are also sometimes called quotas.


对于不固定的资源,请提交支持票证来要求增加配额。For resources that aren't fixed, open a support ticket to ask for an increase in the quotas. 请不要尝试通过创建更多 Azure 媒体服务帐户来提高配额限制。Don't create additional Azure Media Services accounts in an attempt to obtain higher limits.

帐户限制Account limits

资源Resource 默认限制Default Limit
单个订阅中的媒体服务帐户数Media Services accounts in a single subscription 100(固定)100 (fixed)

资产限制Asset limits

资源Resource 默认限制Default Limit
每个媒体服务帐户的资产数Assets per Media Services account 1,000,0001,000,000

存储限制Storage limits

资源Resource 默认限制Default Limit
文件大小File size 在某些情况下,支持在媒体服务中处理的最大文件大小存在限制。In some scenarios, there is a limit on the maximum file size supported for processing in Media Services. (1)(1)
存储帐户Storage accounts 100(2)(固定)100(2) (fixed)

1 在 Azure Blob 存储中,单个 Blob 目前支持的最大大小为 5 TB。1 The maximum size supported for a single blob is currently up to 5 TB in Azure Blob Storage. 媒体服务会根据服务使用的 VM 大小应用其他限制。Additional limits apply in Media Services based on the VM sizes that are used by the service. 大小限制适用于你上传的文件,也适用于由于媒体服务处理(编码或分析)而生成的文件。The size limit applies to the files that you upload and also the files that get generated as a result of Media Services processing (encoding or analyzing). 如果源文件大于 260 GB,作业可能会失败。If your source file is larger than 260-GB, your Job will likely fail.

下表显示了媒体保留单位(S1、S2 和 S3)的限制。The following table shows the limits on the media reserved units S1, S2, and S3. 如果源文件大于表中定义的限制,则编码作业将失败。If your source file is larger than the limits defined in the table, your encoding job fails. 编码持续时间较长的 4K 分辨率源时,需要使用 S3 媒体保留单位才能达到所需的性能。If you encode 4K resolution sources of long duration, you're required to use S3 media reserved units to achieve the performance needed. 如果 S3 媒体保留单位上的 4K 内容大于 260-GB 限制,请开具支持票证。If you have 4K content that's larger than the 260-GB limit on the S3 media reserved units, open a support ticket.

媒体保留单位类型Media reserved unit type 最大输入大小 (GB)Maximum input size (GB)
S1S1 2626
S2S2 6060
S3S3 260260

2 存储帐户必须来自同一 Azure 订阅。2 The storage accounts must be from the same Azure subscription.

作业(编码和分析)限制Jobs (encoding & analyzing) limits

资源Resource 默认限制Default Limit
每个媒体服务帐户的作业数Jobs per Media Services account 500,000 (3)(固定)500,000 (3) (fixed)
每个作业的作业输入数Job inputs per Job 50(固定)50 (fixed)
每个作业的作业输出数Job outputs per Job 20(固定)20 (fixed)
每个媒体服务帐户的转换数Transforms per Media Services account 100(固定)100 (fixed)
每个转换中的转换输出数Transform outputs in a Transform 20(固定)20 (fixed)
每个作业输入的文件数Files per job input 10(固定)10 (fixed)

3 此数字包括排队的、完成的、活动的和取消的作业。3 This number includes queued, finished, active, and canceled Jobs. 不包括已删除的作业。It does not include deleted Jobs.

即使记录总数低于最大配额,也会自动删除帐户中所有超过 90 天的作业记录。Any Job record in your account older than 90 days will be automatically deleted, even if the total number of records is below the maximum quota.

实时传送视频流限制Live streaming limits

资源Resource 默认限制Default Limit
每个媒体服务帐户的直播活动数 (4)Live Events (4) per Media Services account 55
每个直播活动的实时输出Live Outputs per Live Event 3 (5)3 (5)
最长实时输出持续时间Max Live Output duration DVR 窗口的大小Size of the DVR window

4 有关直播活动限制的详细信息,请参阅直播活动类型比较和限制4 For detailed information about Live Event limits, see Live Event types comparison and limits.

5 实时输出在创建时启动,在删除后停止。5 Live Outputs start on creation and stop when deleted.

打包和传送限制Packaging & delivery limits

资源Resource 默认限制Default Limit
每个媒体服务帐户的流式处理终结点数(“已停止的”或“正在运行的”)Streaming Endpoints (stopped or running) per Media Services account 22
高级流式处理单元Premium streaming units 1010
动态清单筛选器数Dynamic Manifest Filters 100100
流式处理策略Streaming Policies 100 (6)100 (6)
一次与一个资产关联的唯一流式处理定位符数Unique Streaming Locators associated with an Asset at one time 100(7)(固定)100(7) (fixed)

6 使用自定义流式处理策略时,应为媒体服务帐户设计有限的一组此类策略,并在需要同样的加密选项和协议时重新将这些策略用于流定位器。6 When using a custom Streaming Policy, you should design a limited set of such policies for your Media Service account, and re-use them for your StreamingLocators whenever the same encryption options and protocols are needed. 不应为每个流式处理定位符创建新的流式处理策略。You should not be creating a new Streaming Policy for each Streaming Locator.

7 流式处理定位符不适用于管理按用户的访问控制。7 Streaming Locators are not designed for managing per-user access control. 要为不同用户提供不同的访问权限,请使用数字权限管理 (DRM) 解决方案。To give different access rights to individual users, use Digital Rights Management (DRM) solutions.

保护限制Protection limits

资源Resource 默认限制Default Limit
每个内容密钥策略的选项Options per Content Key Policy 3030
每个帐户的媒体服务密钥交付服务上每种 DRM 类型的每月许可证数Licenses per month for each of the DRM types on Media Services key delivery service per account 1,000,0001,000,000

支持票证Support ticket

对于不固定的资源,可以通过开具支持票证请求提高配额。For resources that are not fixed, you may ask for the quotas to be raised, by opening a support ticket. 请在请求中包含有关所需的配额更改、用例方案和所需区域的详细信息。Include detailed information in the request on the desired quota changes, use-case scenarios, and regions required.
请勿 尝试通过创建更多 Azure 媒体服务帐户的方式来提高配额限制。Do not create additional Azure Media Services accounts in an attempt to obtain higher limits.

后续步骤Next steps