Azure 媒体服务概述Azure Media Services overview

媒体服务徽标media services logo


媒体服务 v2 中未添加新功能。No new features are being added to Media Services v2.
查看最新版本:媒体服务 v3Check out the latest version, Media Services v3. 另请参阅从 v2 到 v3 的迁移指南Also, see migration guidance from v2 to v3

Azure 媒体服务 (AMS) 是一个可扩展的基于云的平台,可供开发人员用来生成可缩放的媒体管理与传送应用程序。Azure Media Services (AMS) is an extensible cloud-based platform that enables developers to build scalable media management and delivery applications. 媒体服务基于 REST API,使用这些 API 可以安全地上传、存储、编码和打包视频或音频内容,以供点播以及以实时传送视频流的形式传送到各种客户端(例如,电视、电脑和移动设备)。Media Services is based on REST APIs that enable you to securely upload, store, encode, and package video or audio content for both on-demand and live streaming delivery to various clients (for example, TV, PC, and mobile devices).

可以完全使用媒体服务构建端到端工作流。You can build end-to-end workflows using entirely Media Services. 也可以选择使用第三方组件来构建工作流的某些组成部分。You can also choose to use third-party components for some parts of your workflow. 例如,使用第三方编码器进行编码。For example, encode using a third-party encoder. 然后,使用媒体服务进行上传、保护、打包和传送。Then, upload, protect, package, deliver using Media Services. 可以选择实时流式播放你的内容,或者根据点播情况交付内容。You can choose to stream your content live or deliver content on-demand.

符合性、隐私和安全性Compliance, Privacy and Security

需要重点提醒的是,在使用 Azure 媒体服务时,你必须遵守所有适用法律,不得以侵犯他人权利或可能对他人有害的方式使用媒体服务或任何 Azure 服务。As an important reminder, you must comply with all applicable laws in your use of Azure Media Services, and you may not use Media Services or any Azure service in a manner that violates the rights of others, or that may be harmful to others.

在将任何视频/图像上传到媒体服务之前,必须拥有该视频/图像的适当使用权限,包括根据法律的要求,获得视频/图像中的个人(如果有)授予的,在媒体服务和 Azure 中使用、处理和存储其数据的所有必要许可。Before uploading any video/image to Media Services, You must have all the proper rights to use the video/image, including, where required by law, all the necessary consents from individuals (if any) in the video/image, for the use, processing, and storage of their data in Media Services and Azure. 某些司法辖区可能会对收集、在线处理和存储某些类别的数据(例如生物识别数据)施加特殊的法律要求。Some jurisdictions may impose special legal requirements for the collection, online processing and storage of certain categories of data, such as biometric data. 在根据特殊法律要求使用媒体服务和 Azure 处理与存储任何数据之前,必须确保符合可能适用于你的任何法律要求。Before using Media Services and Azure for the processing and storage of any data subject to special legal requirements, You must ensure compliance with any such legal requirements that may apply to You.

若要了解媒体服务中的合规性、隐私和安全性,请访问 Azure 信任中心To learn about compliance, privacy and security in Media Services please visit the Azure Trust Center. 若要了解世纪互联的隐私义务、数据处理和保留惯例,包括如何删除数据,请查看世纪互联的隐私声明联机服务条款 ("OST") 和数据处理附录 ("DPA")。For 21 Vianet's privacy obligations, data handling and retention practices, including how to delete your data, please review 21 Vianet's Privacy Statement, the Online Services Terms ("OST") and Data Processing Addendum ("DPA"). 使用媒体服务即表示你同意遵守 OST、DPA 和隐私声明。By using Media Services, you agree to be bound by the OST, DPA and the Privacy Statement.


若要开始使用 Azure 媒体服务,应该具备以下条件:To start using Azure Media Services, you should have the following:

  • 一个 Azure 帐户。An Azure account. 如果没有帐户,可以创建一个试用帐户,只需几分钟即可完成。If you don't have an account, you can create a trial account in just a couple of minutes. 有关详细信息,请参阅 Azure 试用For details, see Azure trial.

  • Azure 媒体服务帐户。An Azure Media Services account. 有关详细信息,请参阅创建帐户For more information, see Create Account.

  • (可选)设置开发环境。(Optional) Set up development environment. 为开发环境选择“.NET”或“REST API”。Choose .NET or REST API for your development environment. 有关详细信息,请参阅 设置环境For more information, see Set up environment.

    此外,请学习如何以编程方式连接到 AMS APIAlso, learn how to connect programmatically to AMS API.

  • 处于已启动状态的标准或高级流式处理终结点。A standard or premium streaming endpoint in started state. 有关详细信息,请参阅管理流式处理终结点For more information, see Managing streaming endpoints

SDK 和工具SDKs and tools

要构建媒体服务解决方案,可以使用:To build Media Services solutions, you can use:


若要获取最新版本的 Java SDK 并开始使用 Java 进行开发,请参阅媒体服务的 Java 客户端 SDK 入门To get the latest version of Java SDK and get started developing with Java, see Get started with the Java client SDK for Media Services.
若要下载最新的媒体服务 PHP SDK,请在 Packagist 存储库中查找 0.5.7 版 Microsoft/WindowAzure 包。To download the latest PHP SDK for Media Services, look for version 0.5.7 of the Microsoft/WindowAzure package in the Packagist repository.

代码示例Code samples

在“Azure 代码示例”库中查找多个代码示例:Azure 媒体服务代码示例Find multiple code samples in the Azure Code Samples gallery: Azure Media Services code samples.


有关 Azure 媒体服务的概念,请参阅 概念For Azure Media Services concepts, see Concepts.

支持的媒体服务功能跨数据中心方案和可用性Supported scenarios and availability of Media Services across data centers

有关 Azure 常见方案的详细信息,请参阅 AMS 方案For more information about Azure common scenarios, see AMS scenarios. 有关区域可用性的信息,请参阅媒体服务可用性For information about regional availability, see Media service availability.

服务级别协议 (SLA)Service Level Agreement (SLA)

有关详细信息,请参阅 Azure SLAFor more information, see Azure SLA.


Azure 支持 为 Azure(包括媒体服务)提供支持选项。Azure Support provides support options for Azure, including Media Services.