Create an Asset

media services logo v3


Looking for Media Services v2 documentation?
Having trouble? See the Troubleshooting guide for solutions to issues with using Media Services.
Code samples can be found on the Samples page.

This article shows how to create a Media Services Asset. You will use an asset to hold media content for encoding and streaming. To learn more about Media Services assets, read Assets in Azure Media Services v3

Prerequisites

Follow the steps in Create a Media Services account to create the needed Media Services account and resource group to create an asset.

Methods

Use the following methods to create a Media Services asset.

Creating assets in the portal is as simple as uploading a file.

Upload videos

You should have a media services account, a storage account, and a default streaming endpoint.

  1. Navigate to the Media Services account you want to work with.
  2. Select Assets. Assets are the containers that are used to house your media content.
  3. Select Upload. The Upload new assets screen will appear.
  4. Select the storage account you created for the Media Services account from the Storage account dropdown menu. It should be selected by default.
  5. Select the file folder icon next to the Upload files field.
  6. Select the media files you want to use. An asset will be created for every video you upload. The name of the asset will start with the name of the video and will be appended with a unique identifier. You could upload the same video twice and it will be located in two different assets.
  7. You must agree to the statement "I have all the rights to use the content/file, and agree that it will be handled per the Online Services Terms and the Microsoft Privacy Statement." Select I agree and upload.
  8. Select Continue upload and close, or Close if you want to watch the video upload progress.
  9. Repeat this process for each of the files you want to stream.