Commit eefcf8d6 authored by Edward Hervey's avatar Edward Hervey 🤘 Committed by Edward Hervey
Browse files

testsuites: Update and rename dashif testsuite to adaptive

This now contains more than just DASH-IF streams and eventually could
also contain HLS/MSS/... streams
parent 5ae7be07
<file duration="3600040000000" frame-detection="0" uri="http://rdmedia.bbc.co.uk/dash/ondemand/testcard/1/client_manifest-audio.mpd" seekable="true">
<streams caps="application/dash+xml">
<stream type="audio" caps="audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)1190, rate=(int)48000, channels=(int)2" id="eea7ee5df9eb174ca0b51ecf372ff7a61fe8b967a3a4cb8d278594bf6e301ba0/audio_00/001">
<tags>
<tag content="taglist, audio-codec=(string)&quot;MPEG-4\ AAC\ audio&quot;, maximum-bitrate=(uint)130912, bitrate=(uint)125368, language-code=(string)en, datetime=(datetime)2014-10-03T15:29:29Z, container-format=(string)&quot;ISO\ fMP4&quot;, nominal-bitrate=(uint)127550;"/>
</tags>
</stream>
<stream type="audio" caps="audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)4, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)11b0, rate=(int)48000, channels=(int)6, channel-mask=(bitmask)0x0000000000000000" id="eea7ee5df9eb174ca0b51ecf372ff7a61fe8b967a3a4cb8d278594bf6e301ba0/audio_01/001">
<tags>
<tag content="taglist, audio-codec=(string)&quot;MPEG-4\ AAC\ audio&quot;, maximum-bitrate=(uint)330992, bitrate=(uint)317376, language-code=(string)en, datetime=(datetime)2013-12-10T11:45:12Z, container-format=(string)&quot;ISO\ fMP4&quot;, nominal-bitrate=(uint)319091;"/>
</tags>
</stream>
</streams>
<tags>
<tag content="taglist, audio-codec=(string)&quot;MPEG-4\ AAC\ audio&quot;, maximum-bitrate=(uint)130912, bitrate=(uint)125368, language-code=(string)en, datetime=(datetime)2014-10-03T15:29:29Z, container-format=(string)&quot;ISO\ fMP4&quot;, nominal-bitrate=(uint)127550;"/>
</tags>
</file>
\ No newline at end of file
# Ignore caps changing issues (aacparse and container reporting bogus streams)
change-severity, issue-id=caps::field-unexpected-value, new-severity=warning
change-severity, issue-id=buffer::wrong-flow-return, new-severity=warning
<file duration="3600040000000" frame-detection="0" uri="http://rdmedia.bbc.co.uk/dash/ondemand/testcard/1/client_manifest-ctv-events.mpd" seekable="true">
<streams caps="application/dash+xml">
<stream type="video" caps="video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)2.1, profile=(string)constrained-baseline, codec_data=(buffer)0142c015ffe100236742c0159194181df9701100000300010000030032e080011260007a13b2cc03e2c5cb01000468c923c8, width=(int)384, height=(int)216, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)99/4, interlace-mode=(string)progressive, parsed=(boolean)true" id="170484ee480f5047144274be7b46179f16f0ba245beed3b533721f7596aeebc0/video_00/001">
<tags>
<tag content="taglist, video-codec=(string)&quot;H.264\ /\ AVC&quot;, datetime=(datetime)2015-01-07T19:00:27Z, container-format=(string)&quot;ISO\ fMP4&quot;, nominal-bitrate=(uint)177402;"/>
</tags>
</stream>
<stream type="audio" caps="audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)1190, rate=(int)48000, channels=(int)2" id="170484ee480f5047144274be7b46179f16f0ba245beed3b533721f7596aeebc0/audio_00/001">
<tags>
<tag content="taglist, audio-codec=(string)&quot;MPEG-4\ AAC\ audio&quot;, maximum-bitrate=(uint)130912, bitrate=(uint)125368, language-code=(string)en, datetime=(datetime)2014-10-03T15:29:29Z, container-format=(string)&quot;ISO\ fMP4&quot;, nominal-bitrate=(uint)127550;"/>
</tags>
</stream>
<stream type="audio" caps="audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)4, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)11b0, rate=(int)48000, channels=(int)6, channel-mask=(bitmask)0x0000000000000000" id="170484ee480f5047144274be7b46179f16f0ba245beed3b533721f7596aeebc0/audio_01/001">
<tags>
<tag content="taglist, audio-codec=(string)&quot;MPEG-4\ AAC\ audio&quot;, maximum-bitrate=(uint)330992, bitrate=(uint)317376, language-code=(string)en, datetime=(datetime)2013-12-10T11:45:12Z, container-format=(string)&quot;ISO\ fMP4&quot;, nominal-bitrate=(uint)319091;"/>
</tags>
</stream>
</streams>
<tags>
<tag content="taglist, audio-codec=(string)&quot;MPEG-4\ AAC\ audio&quot;, maximum-bitrate=(uint)130912, bitrate=(uint)125368, language-code=(string)en, datetime=(datetime)2014-10-03T15:29:29Z, container-format=(string)&quot;ISO\ fMP4&quot;, nominal-bitrate=(uint)127550, video-codec=(string)&quot;H.264\ /\ AVC&quot;;"/>
</tags>
</file>
\ No newline at end of file
# Ignore caps changing issues (aacparse and container reporting bogus streams)
change-severity, issue-id=caps::field-unexpected-value, new-severity=warning
change-severity, issue-id=buffer::wrong-flow-return, new-severity=warning
<file duration="3600040000000" frame-detection="0" uri="http://rdmedia.bbc.co.uk/dash/ondemand/testcard/1/client_manifest-events.mpd" seekable="true">
<streams caps="application/dash+xml">
<stream type="video" caps="video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)2.1, profile=(string)constrained-baseline, codec_data=(buffer)0142c015ffe100216742c015a650c3fef01100000300040000030032e0801e40007a13b9c803e2c5cb01000468c923c8, width=(int)192, height=(int)108, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)6000/1001, interlace-mode=(string)progressive, parsed=(boolean)true" id="b8f2cc46c54982d4d234c19f49c79e2920639a3ec464d93aecadc025ccd96ff6/video_00/001">
<tags>
<tag content="taglist, video-codec=(string)&quot;H.264\ /\ AVC&quot;, datetime=(datetime)2015-01-07T18:59:48Z, container-format=(string)&quot;ISO\ fMP4&quot;, nominal-bitrate=(uint)22706;"/>
</tags>
</stream>
<stream type="audio" caps="audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)1, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)131056e598, rate=(int)24000, channels=(int)2" id="b8f2cc46c54982d4d234c19f49c79e2920639a3ec464d93aecadc025ccd96ff6/audio_00/001">
<tags>
<tag content="taglist, audio-codec=(string)&quot;MPEG-4\ AAC\ audio&quot;, maximum-bitrate=(uint)70976, bitrate=(uint)62688, language-code=(string)en, datetime=(datetime)2013-09-05T14:51:47Z, container-format=(string)&quot;ISO\ fMP4&quot;, nominal-bitrate=(uint)48712;"/>
</tags>
</stream>
<stream type="audio" caps="audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)1190, rate=(int)48000, channels=(int)2" id="b8f2cc46c54982d4d234c19f49c79e2920639a3ec464d93aecadc025ccd96ff6/audio_01/001">
<tags>
<tag content="taglist, audio-codec=(string)&quot;MPEG-4\ AAC\ audio&quot;, maximum-bitrate=(uint)130912, bitrate=(uint)125368, language-code=(string)en, datetime=(datetime)2014-10-03T15:29:29Z, container-format=(string)&quot;ISO\ fMP4&quot;, nominal-bitrate=(uint)127550;"/>
</tags>
</stream>
<stream type="audio" caps="audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)4, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)11b0, rate=(int)48000, channels=(int)6, channel-mask=(bitmask)0x0000000000000000" id="b8f2cc46c54982d4d234c19f49c79e2920639a3ec464d93aecadc025ccd96ff6/audio_02/001">
<tags>
<tag content="taglist, audio-codec=(string)&quot;MPEG-4\ AAC\ audio&quot;, maximum-bitrate=(uint)330992, bitrate=(uint)317376, language-code=(string)en, datetime=(datetime)2013-12-10T11:45:12Z, container-format=(string)&quot;ISO\ fMP4&quot;, nominal-bitrate=(uint)319091;"/>
</tags>
</stream>
</streams>
<tags>
<tag content="taglist, audio-codec=(string)&quot;MPEG-4\ AAC\ audio&quot;, maximum-bitrate=(uint)130912, bitrate=(uint)125368, language-code=(string)en, datetime=(datetime)2014-10-03T15:29:29Z, container-format=(string)&quot;ISO\ fMP4&quot;, nominal-bitrate=(uint)127550, video-codec=(string)&quot;H.264\ /\ AVC&quot;;"/>
</tags>
</file>
\ No newline at end of file
# Ignore caps changing issues (aacparse and container reporting bogus streams)
change-severity, issue-id=caps::field-unexpected-value, new-severity=warning
<file duration="1491220992000000000" frame-detection="0" uri="http://vm2.dashif.org/livesim/testpic_2s/Manifest.mpd#t=posix:now" seekable="false">
<file duration="1491220992000000000" frame-detection="0" uri="http://vm2.dashif.org/livesim/testpic_2s/Manifest.mpd#t=posix:now" seekable="true" live="true">
<streams caps="application/dash+xml">
<stream type="audio" caps="audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)1190, rate=(int)48000, channels=(int)2" id="d1358c4723f528093c4780910d03b80d31a2e7e0abe0d072edccbc09a727f987/audio_00/001">
<tags>
......
# Ignore caps changing issues (aacparse and container reporting bogus streams)
change-severity, issue-id=caps::field-unexpected-value, new-severity=warning
<file duration="13900000000000" frame-detection="0" uri="http://dash-live-streams.appspot.com/dash/manifest_e.mpd?acodec=mp4a&amp;depth=300" seekable="true" live="true">
<streams caps="application/dash+xml">
<stream type="video" caps="video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)3.1, profile=(string)constrained-baseline, codec_data=(buffer)0142c01fffe100186742c01fd9008025a4880000030008000003018078c1924001000468cb8cb2, width=(int)896, height=(int)504, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)95/4, interlace-mode=(string)progressive, parsed=(boolean)true" id="cf079ead59dbefbc80d158dfd398a06180d7279f68e0c4a957c2312fe503809a/video_00/001">
<tags>
<tag content="taglist, video-codec=(string)&quot;H.264\ /\ AVC&quot;, language-code=(string)en, datetime=(datetime)2015-08-03T08:03:11Z, container-format=(string)&quot;ISO\ fMP4&quot;, nominal-bitrate=(uint)153574;"/>
</tags>
</stream>
<stream type="audio" caps="audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)119056e500, rate=(int)48000, channels=(int)2" id="cf079ead59dbefbc80d158dfd398a06180d7279f68e0c4a957c2312fe503809a/audio_00/002">
<tags>
<tag content="taglist, audio-codec=(string)&quot;MPEG-4\ AAC\ audio&quot;, maximum-bitrate=(uint)450000, bitrate=(uint)96235, language-code=(string)en, encoder=(string)Lavf56.40.101, container-format=(string)&quot;ISO\ fMP4&quot;, nominal-bitrate=(uint)98056, minimum-bitrate=(uint)102375;"/>
</tags>
</stream>
</streams>
<tags>
<tag content="taglist, audio-codec=(string)&quot;MPEG-4\ AAC\ audio&quot;, maximum-bitrate=(uint)450000, bitrate=(uint)96235, language-code=(string)en, encoder=(string)Lavf56.40.101, container-format=(string)&quot;ISO\ fMP4&quot;, nominal-bitrate=(uint)98056, video-codec=(string)&quot;H.264\ /\ AVC&quot;, datetime=(datetime)2015-08-03T08:03:11Z, minimum-bitrate=(uint)102375;"/>
</tags>
</file>
\ No newline at end of file
......@@ -20,7 +20,7 @@
# Boston, MA 02110-1301, USA.
"""
The GstValidate DASH-IF test-vectors testsuite
The GstValidate adaptive streams test-vectors testsuite
"""
import os
......@@ -36,9 +36,9 @@ BLACKLIST = [
]
def setup_tests(test_manager, options):
print("Setting up GstValidate DASH-IF test-vectors tests")
print("Setting up GstValidate Adaptive Streaming test-vectors tests")
assets_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "medias", "dash-if"))
assets_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "medias", "adaptivecontent"))
options.add_paths(assets_dir)
test_manager.set_default_blacklist(BLACKLIST)
#test_manager.add_expected_issues(EXPECTED_ISSUES)
......@@ -46,10 +46,14 @@ def setup_tests(test_manager, options):
scenarios = test_manager.get_scenarios()
# Don't test generic tests that are already covered by the base validate runner
scenarios.remove("change_state_intensive")
# Scrubbing is a tad pointless/intensive for these suites
# Scrubbing is a tad pointless/intensive for these suites (already covered elsewhere)
scenarios.remove("scrub_forward_seeking")
# Add keyunit trick mode testing
scenarios.append("trick_mode_seeks")
# Add live/seekable scenarios
scenarios.append("seek_end_live")
scenarios.append("full_live_rewind")
scenarios.append("play_15s_live")
test_manager.set_scenarios(scenarios)
return True
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment