What is Azure Media Services v3?
The latest version of Azure Media Services is in Preview and may be referred to as v3.
Azure Media Services is a cloud-based platform that enables you to build solutions that achieve broadcast-quality video streaming, enhance accessibility and distribution, analyze content, and much more. Whether you are an application developer, a call center, a government agency, an entertainment company, Media Services helps you create applications that deliver media experiences of outstanding quality to large audiences on today’s most popular mobile devices and browsers.
What can I do with Media Services?
Media Services enables you to build a variety of media workflows in the cloud, the following are some examples of what can be accomplished with Media Services.
- Deliver videos in various formats so they can be played on a wide variety of browsers and devices. For both on-demand and live streaming delivery to various clients (mobile devices, TV, PC, etc.) the video and audio content needs to be encoded and packaged appropriately. To see how to deliver and stream such content, see Quickstart: Encode and stream files.
- Stream live sporting events to a large online audience, such as soccer, baseball, college and high school sports, and more.
- Broadcast public meetings and events such as town halls, city council meetings, and legislative bodies.
- Analyze recorded videos or audio content. For example, to achieve higher customer satisfaction, organizations can extract speech-to-text and build search indexes and dashboards. Then, they can extract intelligence around common complaints, sources of complaints, and other relevant data.
- Create a subscription video service and stream DRM protected content when a customer (for example, a movie studio) needs to restrict the access and use of proprietary copyrighted work.
- Deliver offline content for playback on airplanes, trains, and automobiles. A customer might need to download content onto their phone or tablet for playback when they anticipate to be disconnected from the network.
- Add subtitles and captions to videos to cater to a broader audience (for example, people with hearing disabilities or people who want to read along in a different language).
- Implement an educational e-learning video platform with Azure Media Services and Azure Cognitive Services APIs for speech-to-text captioning, translating to multi-languages, etc.
- Enable Azure CDN to achieve large scaling to better handle instantaneous high loads (for example, the start of a product launch event.)
v3 is based on a unified API surface which exposes both management and operations functionality built on Azure Resource Manager. In accordance with Azure Resource Manager, the resource names are always unique. Thus, you can use any unique identifier strings (for example, GUIDs) for your resource names.
This version provides the following capabilities:
- Transforms that help you define simple workflows of media processing or analytics tasks. Transform is a recipe for processing your video and audio files. You can then apply it repeatedly to process all the files in your content library, by submitting jobs to the Transform.
- Jobs to process (encode or analyze) your videos. An input content can be specified on a job using HTTP(s) URLs, SAS URLs, or paths to files located in Azure Blob storage.
- Notifications that monitor job progress or states, or Live Channel start/stop and error events. Notivications are integrated with the Azure Event Grid notification system. You can easily subscribe to events on several resources in Azure Media Services.
- Azure Resource Management templates can be used to create and deploy Transforms, Streaming Endpoints, Channels, and more.
- Role-based access control can be set at the resource level, allowing you to lock down access to specific resources like Transforms, Channels, and more.
- Client SDKs in multiple languages: .NET, .NET core, Python, Go, Java, and Node.js.
How can I get started with v3?
As a developer, you can use Media Services REST API or client libraries that allow you to interact with the REST API, to easily create, manage, and maintain custom media workflows. Microsoft generates and supports the following client libraries:
- Azure CLI 2.0
- .NET languages
- .NET Core (choose the .NET CLI tab)
Add following dependency in your project:
<dependency> <groupId>com.microsoft.azure.media-2018-03-30-preview</groupId> <artifactId>azure-mgmt- media</artifactId> <version>0.0.1-beta</version> </dependency>
Use the following command:
npm install azure-arm-mediaservices
Media Services provides Swagger files that you can use to generate SDKs for your preferred language/technology.
To see how easy it is to start encoding and streaming video files, check out Stream files.