Upload media for streaming or encoding
Warning
Azure Media Services will be retired June 30th, 2024. For more information, see the AMS Retirement Guide.
In Media Services, you upload your digital files (media) into a blob container associated with an asset. The Asset entity can contain video, audio, images, thumbnail collections, text tracks and closed caption files (and the metadata about these files). Once the files are uploaded into the asset's container, your content is stored securely in the cloud for further processing and streaming.
Collect values
Before you get started, you'll need to collect or think about a few values.
- The local file path to the file you want to upload
- The asset ID for the asset (container)
- The name you want to use for the uploaded file including the extension
- The name of the storage account you are using
- The access key for your storage account
File naming
Reserved characters
- Media Services uses the value of the asset file name when building URLs for streaming content. For this reason, percent-encoding is not allowed. The value of the name property cannot have any of the following percent-encoding-reserved characters: !*'();:@&=+$,/?%#[]". Also, there can only be one '.' for the file name extension.
- The length of the name should not be greater than 260 characters.
Note
Media Services doesn't limit the file size for uploading videos.
- Navigate to the Media Services account you want to work with.
- Select Assets.
- Select the + Upload. The Upload a video asset screen appears.
- Select the folder icon next to the Upload files field.
- Select the media files to upload. An asset naming field will appear. You can change the name or use the default name. If more than one media file is uploaded, more than one asset will be created. An asset naming field will appear for each.
- Select I agree and upload. The upload begins. When the upload is finished, the new asset(s) will be listed in the Assets screen.