The Wayback Machine - https://web.archive.org/web/20241006202349/https://www.geeksforgeeks.org/microsoft-azure-azure-media-service/
Open In App

Microsoft Azure – Azure Media Service

Last Updated : 30 Mar, 2023
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Azure Media Service is a cloud-based platform that enables you to build media-based solutions.  Examples like OTT (Over-The-Top Media Service), Live Streaming Apps like Youtube, Vimeo, Facebook live stream,…etc.

Encoding Videos for different formats for different platforms. Encoding Services – Indexer, Hyperlapse, Face Detector and Face Redaction, Motion Detector, Video Thumbnails, OCR and Content Moderator.  

Content Protection must have a license to view this content. Geo-Protect Videos, Storage encryption Various policies, and many more. 

Azure Media Service also offers other services like Unlock Insights, Telemetry, Fully Programmable.  

Azure Media Service Creation:

Step 1: Log in to Azure Portal.

Step 2: After Logging in Click on Create a resource  Or you can search Media Service from Search Bar.

Step 3: Search for Media Service and Select Media Service from Search Suggestion.  

Step 4: Click on Create button to Create a Media Service Account.

Step 5: Fill in the Basic Details like Subscription, Resource Group Name

  • Fill Media Service Account Name, Location.

Step 6: For Storage Account Name Click on Create Storage Account. It will redirect to New Window.

Step 7: Now, Create a Storage Account – Provide Storage Account Name, Storage Account Kind, Storage Account Replication, and then click on OK.  

Step 8: You can enable Classic APIs – Enabling classic features will allow you to use classic V2 APIs but will disable advanced security features such as managed identities. This setting cannot be reverted later.  

Note: Here, we are not enabling classic APIs for Best Practises

For Advanced Setting, create a new user-assigned managed identity.  (Optional)

Step 9: Review the filled details and click on Review and Create to create a resource.  

  • Before Deployment just Verify your filled details then click on Create to provision the resource.

Step 10: Once deployment is done. Click on “Go to resource” to configure a media service.

Azure Media Service Implementation:  

Encoding a Video Source by Upload a Media Asset:  

Step 1: The first step is to create a Job.

  • Select Input Source >> Asset, for Input asset name >> Click on Upload new to choose or if you have an existing you can select from that source as well by clicking on Select an existing asset

Step 2:  Select your video File and Click on Upload File. You can rename you Asset Name as of your naming convention and then click on “I agree and upload”

Step 3: Once the video is uploaded then you have to Select a transform for that click on “create new” and then provide the name of transform in Transform name and provide your use case description and transform type >> Encoding

  • Add Job – Fill up the following details and then click Add button.  

  • For Configure output, Enter a unique Output asset name, select your created Asset storage account, give a unique Job name and Select Job priority >> High from drop down.

Step 4: Once you fill in all the details, just verify the given details then Click on Create to create a job.

Step 5: Once the deployment is going to your created asset and copy the Streaming URL, open the Azure Media Player, and paste the link, check video is displaying or not.

Azure Media Player Link: https://ampdemo.azureedge.net/

Note: You can configure these streaming urls in own private B2C websites. So that these video will be only accessible from your own trusted website. (For example like Amazon Prime Videos and Netflix Web Apps/Mobile Apps)

Advantages of using Azure Media Services:

  1. Encoding can be done easily for Video sources.
  2. High Security for Copyright Video. Work only at Selected Domain Source
  3. Audio Encoding is another advantage.
  4.  We can Enable a Content Delivery Network (CDN) for accessing high speed and providing a good user experience.
  5. Live Streaming Support with High Bandwidth
  6. Analytics of each and every azure media service in-depth like usage, geo, views streamed devices,…etc.
  7. Content Protection
  8.  Fast and Secure Content Ingest.

Azure Media Service Pricing:

For Video On Demand Service, the Standard Encoder Pricing starts at ₹1.126 per output minute, and for Premium Encoder ₹2.626 per output minute.

You can have a look for more details about the Azure Media Services pricing here.

Step 1: Navigate to the following page and go to Explore pricing options (refer below image), Choose your azure media service Deployment Region and Select your Currency from the drop-down to Check the Pricing of different Services.

Step 2:  After Selecting your Region and Country. Now you can check various pricing details like Analytics, Encoding, Live Video, Streaming and Content protection.

That’s it!



Previous Article
Next Article

Similar Reads

Microsoft Azure - Create App Service Plan for Windows Service using CLI
Pre-requisite:- Azure An App Service Plan is a subscription model for hosting apps on Azure. It allows you to host multiple apps on a single server without paying for each app separately. This article will show you how to deploy an Azure App Service Plan with Windows service type using Azure CLI (Command Line Interface) from Azure Portal using Clou
2 min read
Microsoft Azure - Starting & Stopping a Azure Kubernetes Service Cluster
In this article, we will learn how to stop and start Azure Kubernetes Service(AKS) clusters. You can stop your entire Azure Kubernetes Service cluster to save costs. To follow along, you will need an existing Azure Kubernetes service that is running. To use start and stop for AKS, we need the AKS preview extension for the Azure CLI. It can be insta
2 min read
Microsoft Azure - Using Github Action in Azure App Service
In this article, we will learn how to use GitHub Actions from Azure App Service. GitHub Actions enables us to automate builds and deployments which results in better quality software. For the purpose of demonstration, let's use it from this Azure App Service Web App that we've already created. This is a new web app, and we haven't deployed an app i
2 min read
Microsoft Azure - Azure App Service Managed Certificates
In this article, we will learn what you can do with the Azure CLI Interactive Mode. You can do a lot of powerful things with the Azure CLI like create web apps and VMs and you can do even more with the CLI when you use its interactive mode. Let's try that. We'll try that in the Azure Cloud Shell, but you can also use an Azure CLI that is installed
3 min read
Microsoft Azure - Create App Service Plan For Linux (Azure CLI)
An app service plan is a subscription model for hosting apps on Azure. It allows you to host multiple apps on a single server without having to pay for each app separately. In this article, we will show you how to deploy an Azure App Service Plan for Linux service type using Azure CLI (Command Line Interface) from Azure Portal in simple easy steps.
2 min read
Microsoft Azure - Mount Azure Storage in Container App In App Service
In this article, we are going to learn how to mount Azure Storage as a local share for App Services Linux web apps. Implementation: So to start the process of connecting to Azure Storage mount, you should click on configuration. Once you are inside the configuration blade, click on path mappings. Start by giving it a name. For eg name it s1share. A
3 min read
Microsoft Azure - Working with Files in Azure App Service
Azure App Service is an HTTP-based service for hosting web applications, REST APIs, and mobile back ends. In this article, we will look into the process of working with files in the Azure App service using an example. Console Access to my App Services:We can go to the Azure Portal and select my App Services and click on the console under Developmen
2 min read
Microsoft Azure- Add Extensions in Azure App Service
In this article, we will learn how to add extensions to web applications in the Azure App service. We can add additional functionality to Azure app services by using extensions. Adding Extensions to Azure App Service: To do so follow the below-given steps: Step 1: Click on an "Instance" in my Azure app services application. Step 2: Look for "Extens
1 min read
Microsoft Azure - Using Azure Service Bus Queues
In this article, we will learn how to use Azure Service Bus Queues. We can use Azure Service Bus Queues to decouple applications and make them more scalable and available. Applications send messages to an Azure Service Bus Queue. Messages stay there until they are deleted or expire. Receiving applications, reading and deleting messages from the que
2 min read
Microsoft Azure - Azure Application Service Environments v2 Private PaaS Environments in the Cloud
Pre-requisite: Azure Microsoft Azure is a Cloud Computing Platform and Infrastructure created by Microsoft for building, deploying, and managing applications and services through a global network of Microsoft-managed data centers. Azure Application Service Environments (ASE) v2 is a private Platform as a Service (PaaS) environment in the cloud that
5 min read
Microsoft Azure - Getting started with Azure Machine Learning Service
Pre-requisite: Azure Azure is a cloud computing service created by Microsoft for building, testing, deploying, and managing applications and services. Azure Machine Learning is a fully managed cloud service to do the following tasks: Cloud-based predictive analytics service. Provides tools to create complete machine-learning solutions in the cloud.
6 min read
Microsoft Azure - Get Unused App Service Plans and Resource Groups in Azure Portal
Pre-requisite: AZURE In this article, we will be using the resource graph query to find the unused Azure App Service Plans and unused Azure Resource Groups. For this will be using the Resource Graph Explorer which is an Azure native tool that can be accessed from Azure Portal with ease. To run the KQL resource graph query one should have the minimu
3 min read
Microsoft Azure - Get Azure VM Properties using Azure PowerShell
The purpose of using the Azure PowerShell Commands is to quickly analyze the overall properties of VM/VMs at once the filtering the with select and where conditions. To find the properties of an Azure VM, you can perform the following commands in Azure Cloud Shell to get the details. Command: Get-AzVM Output: 1. Get all properties of an Azure Virtu
2 min read
Microsoft Azure - RDP to Azure Virtual Machines using Azure Bastion
In this article, we will learn how to do RDP(Remote Desktop Protocol) / SSH(Secure Shell) Connection to an Azure VM using Azure Bastion. First, let's discuss Azure Bastion. The Azure Bastion service is a fully platform-managed PaaS service that you provision inside your virtual network. It provides secure and seamless RDP/SSH connectivity to your v
3 min read
Microsoft Azure - Configure Azure SQL with Azure CLI
In this article, we're going to take a closer look at how you can configure something like connectivity using the Azure CLI. What we have here is we are in Azure Data Studio and similar to the SQL notebook we are actually using a PowerShell notebook. That just means all our code cells are going to run PowerShell and we are just connecting to localh
4 min read
Microsoft Azure - Get CPU Utilization Data of a Azure VM in Azure Portal
Azure Virtual Machines (VM) is one of several types of on-demand, scalable computing resources that Azure offers. In this article, we will look into the process of getting the CPU Utilization data of an Azure VM in Azure Portal. Implementation: Follow the steps to get the CPU Utilization of an Azure VM in Azure Portal: Step 1: Log in to your Azure
2 min read
Microsoft Azure - Archive Azure VM to Azure Storage Account
In this article, we will be implementing a solution to archive a select azure VM snapshot to a select storage account for archiving using azure cloud shell. For implementation, we will be using Azure CLI commands. Prerequisite:VM SnapshotA storage account is neededUser needs "Storage Blob Contributor Data" IAM Role Access on Archiving Storage Accou
2 min read
Microsoft Azure - Check Status of Azure VM using Azure PowerShell
The following Azure PowerShell command helps you to find the Azure VM Config and properties details of Os Name, Os Version, Hyper V Generation, Disks properties, Extensions properties of Type Handler Version, Status and Message, VM Agents properties of Type Handler Version, Status and Message and also VM Power Status Codes, Messages, Plugins, Time
3 min read
Microsoft Azure - Azure VM Disk Space in Percentage using Azure KQL
Here we'll be using the Azure Insights Metric Query to find the free disk space in percentage using KQL. The purpose of this query is to find disk drive free space of all the Azure VMs without logging into every server. You can Run the following KQL log Queries in Azure Monitor or Azure VM Logs or Log Analytics Workspace. Note: VM Insights Agent sh
1 min read
Microsoft Azure - Enable Azure Monitor VM Insights Agent For Azure VM
Azure Monitor VM Insights Agent enables you to get more visibility into the health and performance of your Azure VM. Here we'll see how we can enable Azure Monitor VM Insights to monitor the health, performance, and dependencies of azure virtual machines. Implementation: Follow the below steps to enable Azure Monitor VM insights agents for an Azure
2 min read
Microsoft Azure - Azure CLI Commands to Manage Azure VMs
Azure Command-line interface is used to manage or to create Azure resources. By using the simple AZ CLI command we can manage Azure VM quickly and at a Scale. Let's get started by using a few important Azure CLI commands to manage Azure Virtual Machines. 1. Start a Specific Stopped VM in a Select Resource Group Use the below command to start a spec
2 min read
Microsoft Azure - Manage Azure VMs using Azure PowerShell Commands
Here we are using Azure PS Commands to manage azure resources from Azure Cloud Shell or by using Windows PowerShell. By using the simple AZ PS command we can manage Azure VM Quicks without any efforts of navigating in Azure Portal and at Scale. Let's get started by using the major Azure PS commands to manage Azure Virtual Machine. 1. Start a Specif
2 min read
Microsoft Azure - Query Azure Storage Logs in Azure Monitor Log Analytics
Pre-requisite:- Azure Log Analytics is a tool offered by Azure, which is used to edit and run log queries against data in the Azure Monitor Logs store and helps interactively analyze their results. One can easily use Log Analytics queries to retrieve records that match particular criteria, identify trends, analyze patterns, and provide various insi
5 min read
Microsoft Azure - Install Azure Command Line Interface (Azure CLI)
Azure CLI is a very powerful tool that can be used to automate tasks, create, update, manage or delete azure resources or to troubleshoot problems with az module cmdlets. By installing az modules on your system or on your development system you and your development team can easily create, update or manage Azure AD and Azure resources such as manage
4 min read
Microsoft Azure- Backing Up, Restoring, and Cloning Microsoft Azure App Services
Microsoft is well known for developing relevant software which are using in today's time of technology to conquer the demand of users and developers to build up applications. In sequence of it Microsoft introduces Azure well known as Microsoft Azure to make quality applications. In this article, we will discuss Backing up, restoring and cloning Mic
8 min read
Microsoft Azure -Create a User in Microsoft Entra ID from Azure Portal
A user in Microsoft Entra ID is an individual who can get access to Azure identity. This Microsoft Entra ID identity can be used to access applications and resources that are protected within the organization or project. Users can be created manually or automatically, and they can be assigned to groups and roles to control their access permissions.
3 min read
Microsoft Azure- Disk Storage in Microsoft Azure
Azure Disk Storage is the only shared cloud block storage that supports both Windows and Linux-based clustered or high-availability applications via Azure shared disks. There are two types of Disks in Azure : Managed Disks Unmanaged Disks.Managed DisksSimplest optionLower management overhead as Azure manages the storage accounts.Only LRS replicatio
6 min read
Microsoft Azure - Creating an App Service Plan
App Service plans give you the flexibility to allocate specific apps to a given set of resources and further optimize your Azure resource utilization. The purpose of creating an Azure Service Plan is to save the cost of your resources. With one Azure App Service Plan, you can share across multiple apps. Implementation: Step 1: Log in to Azure Porta
1 min read
Microsoft Azure - Finding the Right Load Balancing Service
Pre-requisite: AZURE We can divide incoming application traffic among many targets, such as Virtual Machines (VMs), containers, and IP addresses in our VPC, using Azure load balancer. The load balancer can increase the high availability of applications and decrease the latency for end users. Azure load balancer supports TCP and UDP protocols as wel
8 min read
Microsoft Azure - Installation of Service Bus Explorer
An Azure Service Explorer is a tool that provides advanced features like import and export functionality or the ability to test topics, queues, subscriptions, relay services, notification hubs, and events hubs in Microsoft Azure. The Service Bus Explorer allows clients and users to connect to a Service Bus namespace and to manage messaging queues a
2 min read