manifest - MPEG-DASH - AdaptationSet 中的内容如何分离?

标签 manifest mpeg-dash adaptive-bitrate

我正在尝试理解 MPD 格式。我阅读了标准中有关AdaptationSet的信息,但我不太明白如何将Representations分离成不同的AdaptationSet。

标准指出:

根据表示中存在的媒体内容组件的媒体内容组件属性将表示排列成适应集,即

the language as described by the @lang attribute, 
the media component type described by the @contentType attribute, 
the picture aspect ratio as described by the @par attribute, 
the role property as described by the Role elements, 
the accessibility property as described by the Accessibility elements, 
the viewpoint property as described by the Viewpoint elements, 
the rating property as described by the Rating elements.*

例如:http://www-itec.aau.at/~cmueller/libdashtest/showcases/redbull_segment_template.mpd

有五个 AdaptationSet,我认为媒体组件类型 (contentType) 对于所有这些都是视频,尽管我不明白属性的值 contentType="RedBull 320x240"contentType="RedBull 480x360"等,并且前两个适应集的图片长宽比相等,后三个适应集也相等。对于其他提到的属性(角色、观点等),没有提供任何信息。

另一个例子:http://ftp-itec.uni-klu.ac.at/dash/conformance/mp4-full-gdr/mp4-full-gdr-mpd-AV-BS.mpd ,对于同一 AdaptationSet 中的每个表示,codecs 的值是不同的。因此,该属性不会影响不同AdaptationSet中的分离。

有什么帮助吗?

谢谢!

最佳答案

我将尝试通过一个示例来阐明这一点:想象一个包含音频和视频的流。该视频有两种不同的质量级别(假设 480p 时为 500kbps,1080p 时为 2Mbps),我们将其称为“表示”。音频进一步分为两种不同的语言(英语和西类牙语),两种语言仅具有一种质量级别/表示形式。

要在 MPD 中描述这一点,您需要三个 AdaptationSet - 一个用于视频,两个用于音频,因为您可以选择两种语言,但只能选择一种视频。视频 AdaptationSet 将包含两个 Representation 元素,可以平滑切换,因为它们显示相同的内容(仅以不同的质量级别)。对于音频,您需要不同的 AdaptationSet(可以根据 lang 属性进行区分),因为英语和西类牙语的音轨不一样。如果每个音轨只有一个质量级别,则 AdaptationSet 中将只有一个 Representation 元素。

我希望这能让您更清楚 - 您可能还想看看不同的 MPD,例如您可以在 dashjs 找到它们。或者在 MP4Box 的帮助下自己创建一些内容(和 MPD)或更方便地使用 portal.bitcodin.com/portal .

关于manifest - MPEG-DASH - AdaptationSet 中的内容如何分离?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28746761/

相关文章:

android - 为什么以编程方式设置主题会产生与通过 list 不同的结果?

JavaFX : Need help understanding project hierarchy issues

streaming - 与加密流相比,DRM 的附加值是多少?

javascript - 非顺序地加载 MPEG-DASH 片段以进行搜索

audio - 具有多个音频和文本轨道/流的视频 URL 流?

java - Spark 作业返回后不久,推测任务是否可以继续运行?

java - 无法实例化检测 ComponentInfo

javascript - 通过 Dash 将原始 h.264 数据编码到浏览器

android - Android是否支持HLS Adaptive Bitrate Streaming

ffmpeg - 如何计算在 iPhone 上显示视频的最佳尺寸和比特率?