In one of my previous tutorials I showed you how to livestream video from your desktop PC and serve it to viewers on internet. What happens if you already have a video that was recorded though?
What problem does this solve?
There are a variety of video formats available for streaming online, but it can be a bit of a project to determine which platform your video player is running on (iOS, Android, HTML5, etc.), as well as the appropriate encoding configuration. Just take a look at a handful of them below:
Imagine having to create all of those formats and configurations on your own. With Azure Media Services, you can upload a video, either from Azure blob storage or from your computer, and Azure will handle all of the encoding for you.
In the past, I’d have to do all of the encoding by hand using a tool like HandBrake, and even then, it will not spit out an .manifest file for adaptive streaming. Additionally, it’s a CPU intensive process, so it can often lock up your machine for the entire time you are encoding the video.
Going through the steps
The video tutorial below illustrates how I took a 3mb Big Buck Bunny .Mp4, uploaded it to Azure Media Services, and had it encode the video in various formats so that I could easily distrbute it across the internet. You can also find the step-by-step text instructions on how to do this on the Azure website.
Media Services Architecture
Live Media Streaming
Video on Demand (VOD)
Here’s a full list of the tutorials in this series:
- Intro to HTML5 video
- Intro to Azure Media services, AES, and PlayReady DRM
- Live streaming HTML5 video using Azure Media Services
- Using Azure Blob Storage to store & serve your audio and video files
- Use this Azure Media Player for streaming Media Service video to all devices
@DaveVoyles


Hello Dave, could you please elaborate in this tutorial on further steps pertaining to encryption and DRM protection of video for safe streaming?
Hello,
I really haven’t dived into the DRM features of Azure, so I don’t think I would be of much use here. Now that you bring it up though, I’ll definitely make this something that I have a blog post about within the next few weeks, as it’s something worth investigating.