Search code examples
azureazure-storageazure-media-services

Azure Media Services: How to change the naming convention of the containers


Azure Media Services creates a storage container after a job is finished encoding a video file. The name of the container starts with asset followed by a unique identifier. Is it possible to configure this behavior so that I get to use a different naming convention?

There is a similar old question here, but it was asked many years ago. I want to know if there has been a change since then.


Solution

  • You can Creates or updates an Asset in the Media Services account by rest api.

    If you use .net sdk you can refer to CreateOutputAssetAsync method.

    Suggestion

    Understand what the create job does, and then you can use the code to call the api to achieve it.

    Related posts:

    Azure Media Services (v3) - specific output asset container name