Azure 点播媒体编码器概述Overview of Azure on-demand media encoders

媒体服务徽标media services logo


不会向媒体服务 v2 添加任何新特性或新功能。No new features or functionality 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 媒体服务提供了多个用于在云中对媒体进行编码的选项。Azure Media Services provides multiple options for the encoding of media in the cloud.

开始使用媒体服务时,了解编解码器与文件格式之间的区别很重要。When starting out with Media Services, it is important to understand the difference between codecs and file formats. 编解码器是实现压缩/解压缩算法的软件,而文件格式是用于保存压缩视频的容器。Codecs are the software that implements the compression/decompression algorithms whereas file formats are containers that hold the compressed video.

媒体服务所提供的动态打包允许以媒体服务支持的流格式(MPEG DASH、HLS、平滑流式处理)传送自适应比特率 MP4 或平滑流式处理编码内容,而无须重新打包成这些流格式。Media Services provides dynamic packaging which allows you to deliver your adaptive bitrate MP4 or Smooth Streaming encoded content in streaming formats supported by Media Services (MPEG DASH, HLS, Smooth Streaming) without you having to re-package into these streaming formats.

创建媒体服务帐户后,会将一个处于“已停止”状态的 默认 流式处理终结点添加到帐户。When your Media Services account is created a default streaming endpoint is added to your account in the Stopped state. 若要开始对内容进行流式处理并利用动态打包和动态加密功能,必须确保要从其流式获取内容的流式处理终结点处于“正在运行”状态。To start streaming your content and take advantage of dynamic packaging and dynamic encryption, the streaming endpoint from which you want to stream content has to be in the Running state. 每当流式处理终结点处于“正在运行”状态时,就会对该终结点进行计费。Billing for streaming endpoints occurs whenever the endpoint is in a Running state.

媒体服务支持以下按需编码器:Media Services supports the following on demand encoder:

本文简要概述了按需媒体编码器,并提供了指向介绍更多详细信息的文章的链接。This article gives a brief overview of on demand media encoders and links to articles with more detailed information.

默认情况下每个媒体服务帐户同时只能有一个活动的编码任务。By default each Media Services account can have one active encoding task at a time. 可以预留编码单元,使用它们可以同时运行多个编码任务,购买的每个编码预留单位对应一个任务。You can reserve encoding units that allow you to have multiple encoding tasks running concurrently, one for each encoding reserved unit you purchase. 有关信息,请参阅缩放编码单位For information, see Scaling encoding units.

Media Encoder StandardMedia Encoder Standard

如何使用How to use

如何使用 Media Encoder Standard 进行编码How to encode with Media Encoder Standard


格式和编解码器Formats and codecs


Media Encoder Standard 使用此处所述的编码器预设之一进行配置。Media Encoder Standard is configured using one of the encoder presets described here.

输入和输出元数据Input and output metadata

此处说明了编码器输入元数据。The encoders input metadata is described here.

此处说明了编码器输出元数据。The encoders output metadata is described here.

生成缩略图Generate thumbnails

有关信息,请参阅如何使用 Media Encoder Standard 生成缩略图For information, see How to generate thumbnails using Media Encoder Standard.

修剪视频(裁剪)Trim videos (clipping)

有关信息,请参阅如何使用 Media Encoder Standard 剪裁视频For information, see How to trim videos using Media Encoder Standard.

创建覆盖层Create overlays

有关信息,请参阅如何使用 Media Encoder Standard 创建覆盖层For information, see How to create overlays using Media Encoder Standard.

另请参阅See also

媒体服务博客The Media Services blog

已知问题Known issues

如果输入视频不包含隐藏式字幕,输出资产仍将包含一个空的 TTML 文件。If your input video does not contain closed captioning, the output Asset will still contain an empty TTML file.

媒体服务学习路径Media Services learning paths

媒体服务 v3(最新版本)Media Services v3 (latest)

查看最新版本的 Azure 媒体服务!Check out the latest version of Azure Media Services!

媒体服务 v2(旧版)Media Services v2 (legacy)