Uploading video to Azure Media Services

Dave Voyles
Dave Voyles
Published in
2 min readMay 3, 2015
Azure Media Services

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:

Azure Media Services Encoding Config

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

http://content3.catalog.video.msn.com/e2/ds/edaa24ca-0e23-4767-846f-0d2cfc60151a.mp4

Video on Demand (VOD)

http://content1.catalog.video.msn.com/e2/ds/c4b244ce-9c33-4a25-be53-9a4a6e2b3b48.mp4

Here’s a full list of the tutorials in this series:

--

--

Dave Voyles
Dave Voyles

Tech Evangelist @ MSFT | Game Dev | Startups | VC | Programming