如何在 Azure 媒体服务的清单中包含字幕?

How to include subtitles in Azure Media Services' manifest?

我使用门户将视频上传到输入资产并将其编码为输出资产。在输出资产上,我通过“上传字幕”按钮上传了一个 .vtt 文件。我可以用 https://ampdemo.azureedge.net/, using the manifest URL and an extra URL for the .vtt file in the "Tracks" options. However other video players don't seem to support captions/subtitles via an extra URL (for example in Android or here). Is there a way to somehow include the captions/subtitles in the manifest? I see manifests from other sources including subtitles. For example, https://d3rlna7iyyu8wu.cloudfront.net/skip_armstrong/skip_armstrong_stereo_subs.m3u8 (can be played here 中的 captions/subtitles 重现视频。

遗憾的是,无法将字幕添加到清单本身。但是,您指出了 Bitmovin 播放器,它实际上支持 https://bitmovin.com/docs/player/articles/subtitle-and-closed-captions-support. Here's some example code that includes the VTT link https://cdn.bitmovin.com/player/web/8/docs/interfaces/core_config.sourceconfig.html

的 VTT 字幕