多种音频,流畅直播

发布于 2024-10-09 16:00:05 字数 285 浏览 0 评论 0原文

我找不到任何解释如何为实时平滑流提供多个音频流的文档。

例如,在 Microsoft PDC 的流中,有可能选择语言。

SMF 是否提供此功能?如果是的话,怎么样?我的 isml 文件会是什么样子?

I could not find any document which explains how to provide multiple audio streams for Live Smooth Streaming.

For example, in Microsoft PDC's streams, it is possible to select languages.

Does SMF provide this feature? If it is, how? How my isml file will look like?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

李不 2024-10-16 16:00:05

链接提供了示例平滑流式传输中的音频的多种语言。
如果您正在寻找此内容,请注意,与视频不同,平滑流目前不支持音频的多个比特率。

This link gives a sample for multiple languages for Audio in Smooth streaming.
If you are looking for this, please note that unlike video smooth streaming currently does not support multiple bit rates for audio.

妄断弥空 2024-10-16 16:00:05

SmoothStreamingMediaElement.ManifestMerge 事件允许添加额外的流到打开媒体时加载的清单。这称为清单合并,如下所述:

http ://msdn.microsoft.com/en-us/library/ff432455%28v=vs.90%29.aspx

在 SMF 中,您可以通过 IAdaptiveMediaPlugin.VisualElement 接口访问 SSME。
因此,如果您有两个实时流端点:

AudioAndVideo.isml/Manifest(标准音频和视频流)

Audio2.isml/Manifest(带有虚拟视频流的第二个音频流),

您可以打开第一个端点并将其与第二个音频流合并一。这需要 Expression Encoder 的两次编码会话。

There is SmoothStreamingMediaElement.ManifestMerge event that enables adding additional streams to manifest loaded when opening media. This is called manifest merging and is described here:

http://msdn.microsoft.com/en-us/library/ff432455%28v=vs.90%29.aspx

In SMF you can access SSME by IAdaptiveMediaPlugin.VisualElement interface.
So if you have two live streaming endpoints:

AudioAndVideo.isml/Manifest (standard audio and video streams)

Audio2.isml/Manifest (second audio stream with dummy video streams)

you could open the first one and merge it with audio stream from the second one. This requires two encoding sessions of Expression Encoder.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文