MP4Box Multiple representations causing error

馋奶兔 提交于 2019-12-13 05:58:40

问题


I'm trying to create a dash file with three representations using mp4box however upon creating the file I have tried to validate it and received this

    <svrl:failed-assert test="if (not(@duration) and not(child::dash:SegmentTimeline)) then false() else true()"
location="/*[local-name()='MPD' and namespace-uri()='urn:mpeg:dash:schema:mpd:2011']/*[local-name()='Period' and namespace-uri()='urn:mpeg:dash:schema:mpd:2011']/*[local-name()='AdaptationSet' and namespace-uri()='urn:mpeg:dash:schema:mpd:2011']/*[local-name()='SegmentTemplate' and namespace-uri()='urn:mpeg:dash:schema:mpd:2011']">

If more than one Media Segment is present the duration attribute or SegmentTimeline element shall be present.

Does anyone know what Might be causing this? The stream does play with my application for whats it's worth..


回答1:


Without the command line you used, the exact version of MP4Box you used, and the full MPD and/or media, it's hard to determine what went wrong. The sentence you quote is indeed part of a conformance check from the MPEG DASH conformance standard. It may be a bug with MP4Box, but it may also have been fixed already. I suggest you file an issue here giving as much information as possible.



来源:https://stackoverflow.com/questions/31659253/mp4box-multiple-representations-causing-error

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!