Microsoft Azure Media Services can be used to deliver many media source file formats, media streaming formats, and content protection formats to a variety of client technologies (for example, iOS, XBOX, Silverlight, Windows 8). These clients understand different protocols, for example iOS requires an HTTP Live Streaming (HLS) V4 format and Silverlight and Xbox require Smooth Streaming. If you have a set of adaptive bitrate (multi-bitrate) MP4 (ISO Base Media 14496-12) files or a set of adaptive bitrate Smooth Streaming files that you want to serve to clients that understand MPEG DASH, HLS or Smooth Streaming, you should take advantage of Media Services dynamic packaging.
With dynamic packaging all you need is to create an asset that contains a set of adaptive bitrate MP4 files or adaptive bitrate Smooth Streaming files. Then, based on the specified format in the manifest or fragment request, the On-Demand Streaming server will ensure that you receive the stream in the protocol you have chosen. As a result, you only need to store and pay for the files in single storage format and Media Services service will build and serve the appropriate response based on requests from a client.
The following diagram shows the traditional encoding and static packaging workflow.
The following diagram shows the dynamic packaging workflow.
To take advantage of dynamic packaging, you must first get at least one On-demand streaming unit for the streaming endpoint from which you plan to delivery your content. For more information, see How to Scale Media Services.
Upload an input file (called a mezzanine file). For example, H.264, MP4, or WMV (for the list of supported formats see Formats Supported by the Media Encoder Standard.
Encode your mezzanine file to H.264 MP4 adaptive bitrate sets.
Publish the asset that contains the adaptive bitrate MP4 set by creating the On-Demand Locator.
Build the streaming URLs to access and stream your content.
To prepare your asset for dynamic streaming you have two options:
- Upload a master file.
- Use the Media Encoder Standard encoder to produce H.264 MP4 adaptive bitrate sets.
- Stream your content.
- Upload pre-enocded MP4 files.
The following source file formats are not supported by dynamic packaging.
- Dolby digital mp4 files.
- Dolby digital smooth files.
You can view AMS learning paths here:
Use the User Voice forum to provide feedback and make suggestions on how to improve Azure Media Services. You can also go directly to one of the following categories: