Debian Codegraph @

src/test/manifests/mpd/adaptation_set_switching.mpd

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <MPD _xmlns:ns2="http://www.w3.org/1999/xlink" mediaPresentationDuration="PT1H45M47.904S" minBufferTime="PT10S" profiles="urn:mpeg:dash:profile:isoff-on-demand:2011" type="static" xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:_xmlns="xmlns">
3 <Period duration="PT1H45M47.904S">
4 <!-- 4 below should merge, despite id 6 has different codec -->
5 <AdaptationSet id="0" group="0" contentType="video">
6 <SegmentTemplate duration="2" initialization="$RepresentationID$/init.mp4" media="$RepresentationID$/$Number$.m4s" startNumber="0" />
7 <Representation id="1" bandwidth="300000" codecs="avc1.64001e" frameRate="60/2" height="720" sar="1:1" width="1080" />
8 <SupplementalProperty schemeIdUri="urn:mpeg:dash:adaptation-set-switching:2016" value="1,2,6"/>
9 </AdaptationSet>
10 <AdaptationSet id="1" group="0" contentType="video">
11 <SegmentTemplate duration="2" initialization="$RepresentationID$/init.mp4" media="$RepresentationID$/$Number$.m4s" startNumber="0" />
12 <Representation id="2" bandwidth="1000000" codecs="avc1.64001e" frameRate="60/2" height="1080" sar="1:1" width="1920" />
13 <SupplementalProperty schemeIdUri="urn:mpeg:dash:adaptation-set-switching:2016" value="0,2,6"/>
14 </AdaptationSet>
15 <AdaptationSet id="2" group="0" contentType="video">
16 <SegmentTemplate duration="2" initialization="$RepresentationID$/init.mp4" media="$RepresentationID$/$Number$.m4s" startNumber="0" />
17 <Representation id="3" bandwidth="1000" codecs="avc1.64001e" frameRate="60/2" height="480" sar="1:1" width="720" />
18 <SupplementalProperty schemeIdUri="urn:mpeg:dash:adaptation-set-switching:2016" value="0,1,6"/>
19 </AdaptationSet>
20 <AdaptationSet id="6" group="0" contentType="video">
21 <SegmentTemplate duration="2" initialization="$RepresentationID$/init.mp4" media="$RepresentationID$/$Number$.m4s" startNumber="0" />
22 <Representation id="4" bandwidth="1474186" codecs="hev1.2.4.L93.90" frameRate="60/2" height="720" sar="1:1" width="1280" />
23 <SupplementalProperty schemeIdUri="urn:mpeg:dash:adaptation-set-switching:2016" value="0,1,2"/>
24 </AdaptationSet>
25
26 <!-- 2 below should merge -->
27 <AdaptationSet id="0" group="1" contentType="video">
28 <SegmentTemplate duration="2" initialization="$RepresentationID$/init.mp4" media="$RepresentationID$/$Number$.m4s" startNumber="0" />
29 <Representation id="5" bandwidth="300000" codecs="avc1.64001e" frameRate="60/2" height="720" sar="1:1" width="1080" />
30 <SupplementalProperty schemeIdUri="urn:mpeg:dash:adaptation-set-switching:2016" value="1"/>
31 </AdaptationSet>
32 <AdaptationSet id="1" group="1" contentType="video">
33 <SegmentTemplate duration="2" initialization="$RepresentationID$/init.mp4" media="$RepresentationID$/$Number$.m4s" startNumber="0" />
34 <Representation id="6" bandwidth="1000000" codecs="avc1.64001e" frameRate="60/2" height="1080" sar="1:1" width="1920" />
35 <SupplementalProperty schemeIdUri="urn:mpeg:dash:adaptation-set-switching:2016" value="0"/>
36 </AdaptationSet>
37
38 <!-- Wont merge as id 99 doesnt exist -->
39 <AdaptationSet id="2" group="1" contentType="video">
40 <SegmentTemplate duration="2" initialization="$RepresentationID$/init.mp4" media="$RepresentationID$/$Number$.m4s" startNumber="0" />
41 <Representation id="7" bandwidth="1000" codecs="avc1.64001e" frameRate="60/2" height="480" sar="1:1" width="720" />
42 <SupplementalProperty schemeIdUri="urn:mpeg:dash:adaptation-set-switching:2016" value="99"/>
43 </AdaptationSet>
44
45 <!-- Wont merge as id 1 doesnt list my id -->
46 <AdaptationSet id="2" group="1" contentType="video">
47 <SegmentTemplate duration="2" initialization="$RepresentationID$/init.mp4" media="$RepresentationID$/$Number$.m4s" startNumber="0" />
48 <Representation id="8" bandwidth="1000" codecs="avc1.64001e" frameRate="60/2" height="480" sar="1:1" width="720" />
49 <SupplementalProperty schemeIdUri="urn:mpeg:dash:adaptation-set-switching:2016" value="1"/>
50 </AdaptationSet>
51
52 <!-- Wont merge as no adaptation-set-switching -->
53 <AdaptationSet id="3" group="1" contentType="video">
54 <SegmentTemplate duration="2" initialization="$RepresentationID$/init.mp4" media="$RepresentationID$/$Number$.m4s" startNumber="0" />
55 <Representation id="9" bandwidth="1000" codecs="avc1.64001e" frameRate="60/2" height="480" sar="1:1" width="720" />
56 </AdaptationSet>
57 </Period>
58 </MPD>