diff options
author | Vignesh Venkatasubramanian <vigneshv@google.com> | 2014-08-25 15:03:45 -0700 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-08-29 04:25:29 +0200 |
commit | 4c9204783ad2ca6a6519988dfba77b78d4e83370 (patch) | |
tree | 68a140bb55904832d7f21ab47bc96a3781959edb /tests/ref | |
parent | 22652dc2b8d61d6a48e3f7815fa7f4b0adf0f12f (diff) | |
download | ffmpeg-4c9204783ad2ca6a6519988dfba77b78d4e83370.tar.gz |
fate: Add basic tests for WebM Dash Manifest
Add fate tests that test out the functionality of WebM DASH
Manifest XML generation. This patch contains the vpx.mak file
changes and the reference gold XML files.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests/ref')
-rw-r--r-- | tests/ref/fate/webm-dash-manifest | 48 | ||||
-rw-r--r-- | tests/ref/fate/webm-dash-manifest-unaligned-audio-streams | 30 | ||||
-rw-r--r-- | tests/ref/fate/webm-dash-manifest-unaligned-video-streams | 30 |
3 files changed, 108 insertions, 0 deletions
diff --git a/tests/ref/fate/webm-dash-manifest b/tests/ref/fate/webm-dash-manifest new file mode 100644 index 0000000000..1c1a6793e1 --- /dev/null +++ b/tests/ref/fate/webm-dash-manifest @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="UTF-8"?> +<MPD + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns="urn:mpeg:DASH:schema:MPD:2011" + xsi:schemaLocation="urn:mpeg:DASH:schema:MPD:2011" + type="static" + mediaPresentationDuration="PT32.501S" + minBufferTime="PT1S" + profiles="urn:webm:dash:profile:webm-on-demand:2012"> +<Period id="0" start="PT0S" duration="PT32.501S" > +<AdaptationSet id="0" mimeType="video/webm" codecs="vp8" lang="eng" width="640" height="360" bitstreamSwitching="true" subsegmentAlignment="true" subsegmentStartsWithSAP="1"> +<Representation id="0" bandwidth="302355"> +<BaseURL>dash_video1.webm</BaseURL> +<SegmentBase + indexRange="1115974-1116097"> +<Initialization + range="0-441" /> +</SegmentBase> +</Representation> +<Representation id="1" bandwidth="302355"> +<BaseURL>dash_video2.webm</BaseURL> +<SegmentBase + indexRange="1115782-1115886"> +<Initialization + range="0-249" /> +</SegmentBase> +</Representation> +</AdaptationSet> +<AdaptationSet id="1" mimeType="audio/webm" codecs="vorbis" lang="eng" audioSamplingRate="44100" bitstreamSwitching="true" subsegmentAlignment="false" subsegmentStartsWithSAP="1"> +<Representation id="0" bandwidth="82867"> +<BaseURL>dash_audio1.webm</BaseURL> +<SegmentBase + indexRange="335488-335612"> +<Initialization + range="0-4103" /> +</SegmentBase> +</Representation> +<Representation id="1" bandwidth="82814"> +<BaseURL>dash_audio2.webm</BaseURL> +<SegmentBase + indexRange="335312-335432"> +<Initialization + range="0-3927" /> +</SegmentBase> +</Representation> +</AdaptationSet> +</Period> +</MPD> diff --git a/tests/ref/fate/webm-dash-manifest-unaligned-audio-streams b/tests/ref/fate/webm-dash-manifest-unaligned-audio-streams new file mode 100644 index 0000000000..5e1743e7bf --- /dev/null +++ b/tests/ref/fate/webm-dash-manifest-unaligned-audio-streams @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"?> +<MPD + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns="urn:mpeg:DASH:schema:MPD:2011" + xsi:schemaLocation="urn:mpeg:DASH:schema:MPD:2011" + type="static" + mediaPresentationDuration="PT32.501S" + minBufferTime="PT1S" + profiles="urn:webm:dash:profile:webm-on-demand:2012"> +<Period id="0" start="PT0S" duration="PT32.501S" > +<AdaptationSet id="0" mimeType="audio/webm" codecs="vorbis" lang="eng" audioSamplingRate="44100" bitstreamSwitching="false" subsegmentAlignment="false" subsegmentStartsWithSAP="1"> +<Representation id="0" bandwidth="82867"> +<BaseURL>dash_audio1.webm</BaseURL> +<SegmentBase + indexRange="335488-335612"> +<Initialization + range="0-4103" /> +</SegmentBase> +</Representation> +<Representation id="1" bandwidth="83502"> +<BaseURL>dash_audio3.webm</BaseURL> +<SegmentBase + indexRange="335312-335432"> +<Initialization + range="0-3927" /> +</SegmentBase> +</Representation> +</AdaptationSet> +</Period> +</MPD> diff --git a/tests/ref/fate/webm-dash-manifest-unaligned-video-streams b/tests/ref/fate/webm-dash-manifest-unaligned-video-streams new file mode 100644 index 0000000000..3576b605cb --- /dev/null +++ b/tests/ref/fate/webm-dash-manifest-unaligned-video-streams @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"?> +<MPD + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns="urn:mpeg:DASH:schema:MPD:2011" + xsi:schemaLocation="urn:mpeg:DASH:schema:MPD:2011" + type="static" + mediaPresentationDuration="PT32.48S" + minBufferTime="PT1S" + profiles="urn:webm:dash:profile:webm-on-demand:2012"> +<Period id="0" start="PT0S" duration="PT32.48S" > +<AdaptationSet id="0" mimeType="video/webm" codecs="vp8" lang="eng" width="640" height="360" bitstreamSwitching="true" subsegmentAlignment="false" subsegmentStartsWithSAP="0"> +<Representation id="0" bandwidth="302355"> +<BaseURL>dash_video1.webm</BaseURL> +<SegmentBase + indexRange="1115974-1116097"> +<Initialization + range="0-441" /> +</SegmentBase> +</Representation> +<Representation id="1" bandwidth="321574"> +<BaseURL>dash_video3.webm</BaseURL> +<SegmentBase + indexRange="1116070-1116461"> +<Initialization + range="0-249" /> +</SegmentBase> +</Representation> +</AdaptationSet> +</Period> +</MPD> |