Is it possible to create a Media Services asset and Sas Locator for video files that already exists in Azure Blob Storage? The storage account is the same one that is associated with that Media Services account. Assets.Create() creates a container for each video file. I have several hundred related video clips per container. I would like to create AccessPolicies for them and a locator so that the URL to the assets can be protected. The same AccessPolicies would apply to the entire container of video clips. This way I could delete the container and get rid of 100 blobs at once.
The logic behind the Asset.create() will creat a container for each file because it might generate multiple files per Asset When you transcode the video using Media services the service will prepare a new file for optional streaming and or multi bitrate So you might end with 10 files per Asset If you do it with out a container you will end up with a crazy mass in your container
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With