Common questions about Azure Media Services

This article answers commonly asked questions about Azure Media.

Troubleshooting

Where can I find Media Services troubleshooting information?

Someone else may have run into the same problem you are having. There are a list of these questions in the Troubleshooting questions collection. We update these questions periodically based on frequent support ticket issues. If you can't find answers there, please create a support ticket.

How do I find out what this error code means?

We have documented error codes in the following references: streaming endpoint error codes, live event error codes, job error codes. If you can't find answers there, please create a support ticket.

How do I reset my account credentials?

You can reset your account credentials with the CLI.

General

What is Azure Media Services?

Azure Media Services is a cloud-based platform that enables you to build solutions that achieve broadcast-quality video streaming, enhance accessibility and distribution, analyze content, and much more. Whether you're an app developer, a call center, a government agency, or an entertainment company, Media Services helps you create apps that deliver media experiences of outstanding quality to large audiences on today's most popular mobile devices and browsers. To get started with Azure Media Services see Azure Media Services v3 overview

References

Where can I find the Media Services API and SDKs?

Where can I find Media Services samples?

See the article Media Services v3 samples for a listing of samples.

How much does Media Services cost?

What quotas and limits are there for Media Services?

Using Media Services

What is a Media Services Asset?

A Media Services asset is an Azure Storage account container that is used for each video file you upload. It has a unique identifier that is used with Transforms and other operations. See Assets in Media Service v3.

How do I create a Media Services Asset?

Every time you want to upload a media file and perform and do something with it like encoding or streaming, you create an Asset to store the media file and other files associated with that media file. Assets are automatically created for you if you use the Azure portal. If you are not using the portal to upload files, you must create an Asset first. See Create an Asset to learn how to create one.

What is a Media Services Transform?

A Transform contains the instructions for encoding or analyzing media files. Think of it as a recipe. It can apply more than one encoding instruction for a media file. It is used by a job to transform files. For more information on Transforms, see Transforms in Transforms and Jobs in Media Services.

How do I create a Media Services Transform?

You can create a Transform using REST, the CLI or the SDKs available for Media Services. See How to create a transform to use REST or the CLI. To use the SDK, see Media Services samples available in the Azure Samples repo.

What is a Media Services job?

A Job is the request you make to start using a Transform to encode or analyze files. You tell it to Transform a file contained in an input Asset. You also tell it to either create an output Asset, or use an already existing output Asset. Once the job is completed, the transformed (encoded, analyzed) files will be in the output Asset as well as other files associated with those files. For more information about Jobs, see Transforms and Jobs in Media Services.

How do I create a Media Services Job?

You can create a Job in the Azure portal, with CLI, REST or any of the SDKs. See the Media Services samples for the language you prefer.

What is encoding?

The term encoding in Media Services applies to the process of converting files containing digital video and/or audio from one standard format to another, with the purpose of (a) reducing the size of the files, and/or (b) producing a format that's compatible with a broad range of devices and apps. This process is also referred to as video compression, or transcoding. See Encoding video and audio with Media Services

What are the encoding formats available with Media Services?

The common encoding formats are available with Media Services Standard Encoder. For a list of all formats, see Standard Encoder formats and codecs.

Can I use Media Services to create an auto-generated bitrate ladder?

Yes. You'll find more information in the Encode with an auto-generated bitrate ladder page.

Can I analyze an audio or video file?

Yes you can. Azure Media Services v3 lets you extract insights from your video and audio files with Video Indexer. Media Services v3 analyzer presets can be used to extract those insights. If you want more detailed insights, use Video Indexer directly. To understand when to use Video Indexer vs. Media Services analyzer presets, check out the comparison document.

What is a Media Services Live Event?

A Media Services live event is the process of ingesting live video feeds and broadcasting them through an RTMPS protocol or Smooth Streaming. For more information about Media Services Live Events, see Live events and live outputs in Media Services

How do I create a Media Services Live Event?

The first steps is to choose an on premises encoder. We have provided examples for creating a Live Event with Wirecast and OBS. If you would rather start with an overview of Media Services Live Events, see Live Event Types.

How do I do live transcription with a Media Services Live Event?

Azure Media Service delivers video, audio, and text in different protocols. When you publish your live stream using MPEG-DASH or HLS/CMAF, then along with video and audio, our service delivers the transcribed text in IMSC1.1 compatible TTML. For more information about Live Transcription, see Live transcription

What is a Media Services Streaming Endpoint?

In Media Services, a Streaming Endpoint represents a dynamic (just-in-time) packaging and origin service that can deliver your live and on-demand content directly to a client player app using one of the common streaming media protocols (HLS or DASH). In addition, the Streaming Endpoint provides dynamic (just-in-time) encryption to industry-leading DRMs. For more information about Streaming Endpoints, see Streaming Endpoints (Origin) in Azure Media Services

What is a Media Services Streaming Locator?

To make videos in the available to clients for playback, you create a Streaming Locator and then build streaming URLs. Streaming Locators are also used to apply Streaming Policies that contain rules for how the media files are consumed.

How do I create a Media Services Streaming Locator?

To build a streaming URL, you first create a Streaming Locator. You then concatenate the Streaming Endpoint host name and the Streaming Locator path. See Create a streaming locator and build URLs.

What is a streaming policy?

Streaming Policies enable you to define streaming protocols and encryption options for your Streaming Locators. Media Services v3 provides some predefined Streaming Policies. See Streaming Policies for more information.

How do I create a Media Services streaming policy?

See Streaming Policies for a list of predefined policies you can use to get started.

How do I deliver my media content with dynamic encryption?

Dynamic encryption is securing your media from the time it leaves your computer all the way through storage, processing, and delivery. With Media Services, you can deliver your live and on-demand content encrypted dynamically with Advanced Encryption Standard (AES-128) or any of the three major digital rights management (DRM) systems: Microsoft PlayReady, Google Widevine, and Apple FairPlay. See Protect your content with Media Services dynamic encryption.

How do I monitor my Media Services resources?

Use Azure Monitor to keep track of what is happening with your Media Services resources. For more information, see Monitor Media Services. How to guides include Monitor Media Services metrics and Monitor Media Services diagnostic logs.

How do I monitor my Media Services Live Event?

Which video players can I use with Media Services?

Does Media Services support high availability?

More information about Media Services and high availability is located in High Availability with Media Services and Video on Demand (VOD).

Where can I find some sample Media Services architectures?

Easy! Read Media Services architectures or visit the Azure Architecture Center.

How do I migrate from Media Services v2 to Media Services v3?

We have created a comprehensive guide for migration from v3 to v3. We are very interested in knowing about your migration experience and needs so please feel free to provide feedback via GitHub issue or support ticket.

How do I use a Managed Identity to encrypt data to Media Services?

Take a look at the Use a Key Vault key to encrypt data into a Media Services account tutorial for using the CLI to pair Media Services with Key Vault to encrypt your data.

How do I use a Managed Identity to give Media Services access to a restricted Storage account?

If you would like to access a storage account when the storage account is configured to block requests from unknown IP addresses, follow the steps in Access storage with a Media Services Managed Identity.