![]() ![]() Note that CreateEmptyAsset, StartBlobContainerCopyToAsset, and MonitorBlobContainerCopyStatus are Azure Functions.Īzure Media Services has out-of-the-box presents for us to do our tests, but in a real-world scenario, a media company will likely have their custom-defined list of transcoding profiles. ![]() The process is first to create an “empty asset” and then copy the blob content over. Interestingly, AMSv3, at this point, does not have a quick API call to convert a file into a recognized media asset. As recommended in this article, the way is to use the “properties only” trigger and then use an additional Get blob content action. ![]() But since media files usually are quite large, we need to ensure that the file is segmented in chunks. This one is easy I used the Azure Blob Storage trigger to monitor for new files uploaded to my /mezzanine Azure storage container. Monitor an Azure Storage Account for New Uploads CASE LOGIC MEDIA SHUTTLE CODEI used Azure functions to execute code that is not available in Logic Apps. In implementing this logic app, I used a lot of connectors, including a connector to Azure Functions. Send to Azure Video Indexer for Video AI insights.Create an Asset in Azure Media Services.Monitor an Azure Storage account for new uploads.In this particular case, we are using logic apps to: CASE LOGIC MEDIA SHUTTLE HOW TOSo the main challenge is how to upload a mezzanine file and get it recognized as a media asset by Azure Media Services, and this is where logic apps come in.Īzure Logic Apps is a cloud service that helps you schedule, automate, and orchestrate tasks, business processes, and workflows when you need to integrate apps, data, systems, and services across enterprises or organizations. Internally, AMS handles this by mapping each asset to an Azure Blob container, which contains all of these files. An asset from a storage perspective will contain multiple files, such as its metadata, multiple bitrate files, etc. It is not a single blob in Azure Storage. Given that this process already exists, the idea here is to add/modify the upload destination to an Azure Storage instead and expect it to be processed in Azure Media Services.Īn Asset is a core concept specific to Azure Media Services (AMS). These files are then typically uploaded to a CDN for content distribution. Media companies will have an existing process for the creation of mezzanine files. CASE LOGIC MEDIA SHUTTLE FREEĬreate an Azure Function App and deploy the functions found in the advanced-vod-workflow folder.Īlso, if you prefer to skip reading the logic app documentation below, feel free to clone the repo above and go straight to the code. So I forked the v3 repository, which you can check out here. I also had to add some more functions to suit my needs. In doing so, I had to refactor some functions and split them into two.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |