在Blob存储中将vtt用于字幕/字幕源

问题描述:

我有一个应用程序可以上传,编码,索引和发布在观看者"网站上播放的视频我的网络应用中的HTML页面. vtt最终位于blob存储中,我想告诉Azure Media Play使用该blob存储位置中的vtt文件. 我是否需要在blob存储中为vtt创建一个定位器,然后将发布的网址设置为字幕/字幕轨道的来源?我还需要做其他事情吗?

I have an app that upload, encodes, indexes and published a video that plays on a "viewer" HTML page in my web app.  The vtt ends up in blob storage and I'd like to tell the Azure Media Play to use the vtt file from that blob storage location.  Do I need to create a locator for the vtt in blob storage and then set the published Url as the source of the captions/subtitle track?  Do I need to do anything else?

如果我确实需要为Blob存储中的VTT文件创建定位器,该怎么做?我查看了索引器作业的

If I do need to create a locator for the VTT file in blob storage, how do I do that?  I looked at job.OutputMediaAssets of the indexer job and there is only one asset but when I look at the file in the blob container there are several.  So how to I create a locator for the vtt file in that blob container from C# code?

-Russ

您是否为视频使用了任何类型的内容保护方案/DRM?链接

Are you using any type of content protection schemes/DRM for your video? The link here is an example that ships with the Azure Media Player demo page, where the VTT files are also published for delivery via progressive download through the Streaming Endpoint. 

您还可以在PC上安装https://aka.ms/amse,因此无需编写代码即可试用您的​​方案.

You can also install https://aka.ms/amse on a PC, so you can try out your scenario without writing code.