Search code examples
azureazure-media-services

How to Add Metadata to assets in Azure Media Services?


I am using Azure Media Services and uploading, encoding and streaming videos. Question is, is there a way to attach video titles, descriptions and tags somewhere in Azure Media Services API?

Additional details: When I process an asset, a new container in Azure Blob Storage is created, and when I click on the blob itself, it has "User Defined Fields" - aka metadata, I could use those, but I am not sure if they are exposed to Azure Media API at all and how to access them.

I searched all over MS documentation and found nothing :/


Solution

  • Thank you for your answer @George, I have spent a week trying and searching and tried what you suggested, but in the end, I came to a conclusion that Azure Media API is not a storage, indexer or anything bud a media processing service, and should be used as such. [Duh...]

    So what I deed is introduce SQL database to my abstraction layer that kept all my data for my assets, indexing, etc. That has also helped me to speed up my system, because I no longer make calls to AMS to list my assets - I keep track of them in my database with titles, descriptions, tags, child-parent hierarchy, etc.