Upload And Streaming Video Using Azure Media Service

Upload And Streaming Video Using Azure Media Service

Hi all,

You have video ,lots of it, Whether its video that already been created or something happening right now, there is audience out there waiting to watch it, and they have devices, lots of devices, then how to reach audience large or small, local or global quickly and cost effectively, its complex challenge with simple solution-Azure Media Service.

What to Learn

In this article we will see how to upload and stream our own video and stream globally by manually.

Why to Learn

You Store your video in any storage, when you want to play ,that time it will download all video first and start to play. So It will take long time to play.

If you use Media Service, it will send you small small part when require same as YouTube. Drag to any point ,it will load that part only and then start playing.

Prerequisite

  • Azure Subscription

  • A Video

Let's Start

Open Your Azure media portal by using portal.azure.com img1.PNG Click on Media service to create a account

After account got created, open the media service and go to Streaming end point to create a end point for video.

pic2.PNG

There is one + symbol to create a new end point. Enter name and CDN name ,then click ADD button. pic3.PNG

After create it will take time some tome to start. pic5.PNG For store video you need to add a storage account to this media service. If you don't have ,then create new storage account. pic6.PNG Go to asset(new),upload a video to stream pic7.PNG

After video uploaded successfully ,click on add job to create a job pic8.PNG

Create a new Transform, select Transform type Encoding PIC9.PNG

Select Build in preset name as H264 pic10.PNG

After create ,click on video name to stream pic11.PNG In streaming URL, click on create new Select streaming policy as Predefined-clearStreamingOnly pic13.PNG

After create copy the url pic14.PNG Then go to Azure demo video page and paste your copied url to watch your streamed video. https://ampdemo.azureedge.net/