Introduction
VIDIZMO uses different technologies to conduct streaming, one of them being Microsoft Azure Media Services (AMS) which enables you to securely upload, store, encode, and package video or audio content for on-demand video streaming.
Using components from Azure Media Services, you can configure VIDIZMO to stream video to different devices and target geographically dispersed audiences of any size. AMS uses cloud-based, automatic adaptive bitrate transcoding to deliver the stream in multiple renditions that can be viewed from any device, ensuring a robust and reliable connection.
This article is about AMS components that are used for On-Demand video streaming in VIDIZMO and how selecting various AMS options affects the overall cost of the service. This is particularly helpful when setting up different VIDIZMO Portals using separate AMS accounts, which would allow you to see separate billing against your AMS accounts used in the respective Portals.
Below is a list of AMS components required in VIDIZMO for on-demand video streaming.
AMS Components | On-Demand Streaming | Required/ Optional | Pricing |
---|---|---|---|
Blob Storage Used to store the uploaded VIDIZMO content in Azure. | Yes | Required | Output Minutes/ Output Quality |
Encoder The Encoder, which performs Transcoding and Content Indexing. | Yes | Required | Output Quality |
Streaming Endpoint Streaming Server to deliver your content. | Yes | Required | Media Reserved Units |
AMS Components Required for Serving On-Demand Content
To serve On-Demand content, you need the Azure Blob Storage, the Processor or encoder, and the Streaming Endpoint.
1. Blob Storage
In Azure Media Services, you upload your digital files to an asset in the Blob Storage is accessible only via the Streaming Endpoint. The asset can contain video, audio, images, thumbnail collections, text tracks, and closed caption files (and the metadata for these files). After the files are uploaded, your content is stored securely in the cloud for further processing and streaming.
Media Services has a maximum file size for processing files. To learn more about file size limits, click here on Media Services quotas and limitations.
How is the Blob Priced
Use the Pricing Calculator to get the current estimate for your blob based on your requirements.
2. Processor (Encoder)
Encoding is the process of compressing video and audio so your customers can view your media. Once a video has been encoded it can be placed into different file containers. In AMS, the encoding engine is called the Processor, which performs Transcoding and Indexing and it is needed to transcode VIDIZMO media uploaded in your blob storage.
It is possible to run multiple instances of the Processor which determine the number of jobs you can process simultaneously. For example, if you want to transcode two videos in parallel, you need two instances (reserved units). If you just have two reserved units and you have four files to upload and transcode, only two will be processed while the other two will be queued.
Reserved units are available as reserved unit types S1, S2, or S3, with each type determining the speed with which your media processing tasks will be processed.
Processors are of two types, the Dynamic Packager and the Indexer:
- Dynamic Packager
The process of placing encoded media into a container is called packaging. With the dynamic packaging that Media Services provides, you can deliver your adaptive bitrate MP4 or Smooth Streaming encoded content in streaming formats supported by Media Services (MPEG-DASH, HLS, Smooth Streaming,) without having to re-package into these streaming formats. VIDIZMO recommends delivering your content with dynamic packaging.
For transcoding On-demand content, you need a "Dynamic Packager" type processor. You can have multiple instances (Reserved Units) running concurrently, and depending on the number of instances, parallel jobs can be processed.
How is the Dynamic Packager Type Processor Priced
Based on your requirements, use the Pricing Calculator to get the current estimate.
There are two factors that affect the price of Transcoding when using this type of processor:
Output Minutes: In addition to the fixed cost of the Processor, you will also have to pay for the number of output minutes utilized during the period it took to process the video.
Video Quality: The rate of output minutes also depends upon the video quality output. For example, if the video is processed in SD quality, the rate will be lower than the video processed in HD. For HD the rate of output minutes increases to twice that of SD, and for 4k, it will be four times that of HD.
To learn more about the Dynamic Packager, click here on Overview and comparison of Azure on demand media encoders.
How is the Azure Media Type Processor Priced
Based on your requirements, use the Pricing Calculator to get the current estimate.
There are two factors that affect the price of Transcoding when using this type of processor:
Output Minutes: The indexer is priced at number of hours of content to index. If you are closed captioning a video that took an hour, you will have to pay for that period that it took to process the closed captioning in addition to the fixed cost of the indexer.
To learn more about the Indexer, click here on Indexing Media Files with Azure Media Indexer.
Here is an example screen showing Media Encoding Pricing tiers:
Another Pricing Example on VoD Encoding:
You have a QuickTime video at 1920x1080p resolution, 20 minutes in duration, that you encode to an MP4 output of the same length, with the video at 1920x1080p resolution and one audio track.
The effective multiplier would be 2 (for HD) plus 0.25 (for audio), adding up to a multiplier of 2.25. You would be billed for a total of (20 minutes x 2.25) = 45 output minutes.
If you used the Media Encoder Standard for this encoding, then your cost would be (45 output minutes x $0.015 / output minute) = $0.675
Note: This an example based on rates available at the time of writing this article. Always use the Pricing Calculator to get the current estimate.
3. Streaming Endpoint
A streaming endpoint represents a streaming service that can deliver content directly to a content delivery network (CDN) for further distribution. These Streaming Endpoints are like streaming servers, intelligently performing real-time Dynamic Packaging where the outbound stream can be a live stream or a video-on-demand asset in your Media Services account.
When a file is transcoded in AMS, a multi-bitrate MP4 file is created. There are other files as well like HLS, MPEG DASH or HDS but since VIDIZMO does not create these file types, the Streaming Endpoint creates these file types on-the-fly intelligently when the VIDIZMO player sends the request. This is called Transmuxing and is a built-in feature of the Streaming Endpoint.
AMS Streaming Endpoints or servers, measured in Media Reserved Units, can be added as multiple units to increase your serving capacity. For example, if a single server has the capacity to deliver 200Mbps, you will be able to deliver 200 streams of 1Mb each or 2Mb stream to 100 viewers. If you have a capacity greater than this, you can either increase your Media Reserved Units or you have the option to enable CDN on the Streaming Endpoint.
- CDN
CDN is an optional component which is used to add scalability to the Streaming Endpoint. This enables you to use a single Streaming Endpoint as your Origin Server and use Microsoft's CDN, consisting of thousand's of endpoints spread all over the world, to scale your setup.
How is the Streaming Endpoint Priced
Based on your requirements, use the Pricing Calculator to get the current estimate.
The price of the Streaming Endpoint depends on the number Media Reserved Units used and as you increase the number of Streaming Endpoints, the cost increases. In addition to this, Azure also charges for the amount of bandwidth consumed i.e. if you have served 200 GB content, you will be charged for the GBs consumed.
Similarly, if the CDN is used as endpoints, you will also be billed on amount of bandwidth consumed. So if you have delivered lets say, 1000Gb from different locations, you will have to pay for the bandwidth utilization in addition to the cost of the Media Reserved Units or Streaming Endpoints used.
To learn more about the AMS CDN, click here on CDN Overview.