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

时间:2015-02-26 15:46:11

标签: manifest mpeg-dash adaptive-bitrate

我正在尝试了解MPD格式。我在标准中阅读了有关AdaptationSet的信息,但我不太清楚如何将表示法分成不同的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

有五个AdaptationSets,我认为媒体组件类型(contentType)是所有它们的视频,虽然我不理解属性 contentType =“RedBull 320x240”的值 contentType =“RedBull 480x360”等,图片宽高比对于前两个adaptationSet是相等的,并且它对于最后三个AdaptationSet是相等的。对于其他提及的属性(角色,观点等),不提供任何信息。

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

任何帮助?

谢谢!

1 个答案:

答案 0 :(得分:1)

我将尝试根据一个示例说清楚:想象一下带有音频和视频的流。该视频有两种不同的质量等级(比如480p时为500kbps,1080p时为2Mbps),我们将其称为“表示”。音频进一步分为两种不同的语言(英语和西班牙语),两种语言只有一种质量等级/表示。

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

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