edfc0e02 by Tom Johnson

update manifest tests for segment.timeRanges

1 parent a8a64770
1 { 1 {
2 "allowCache": true, 2 "allowCache": true,
3 "targetDuration": 10,
4 "totalDuration": 40,
5 "mediaSequence": 0, 3 "mediaSequence": 0,
6 "playlistType": "VOD", 4 "playlistType": "VOD",
7 "segments": [{ 5 "segments": [
6 {
8 "duration": 10, 7 "duration": 10,
8 "timeRange": {
9 "end": 10,
10 "start": 0
11 },
9 "uri": "http://example.com/00001.ts" 12 "uri": "http://example.com/00001.ts"
10 }, { 13 },
14 {
11 "duration": 10, 15 "duration": 10,
16 "timeRange": {
17 "end": 20,
18 "start": 10
19 },
12 "uri": "https://example.com/00002.ts" 20 "uri": "https://example.com/00002.ts"
13 }, { 21 },
22 {
14 "duration": 10, 23 "duration": 10,
24 "timeRange": {
25 "end": 30,
26 "start": 20
27 },
15 "uri": "//example.com/00003.ts" 28 "uri": "//example.com/00003.ts"
16 }, { 29 },
30 {
17 "duration": 10, 31 "duration": 10,
32 "timeRange": {
33 "end": 40,
34 "start": 30
35 },
18 "uri": "http://example.com/00004.ts" 36 "uri": "http://example.com/00004.ts"
19 }] 37 }
38 ],
39 "targetDuration": 10,
40 "totalDuration": 40
20 } 41 }
...\ No newline at end of file ...\ No newline at end of file
......
1 { 1 {
2 "targetDuration": 10,
3 "totalDuration": 161.4167,
4 "allowCache": true, 2 "allowCache": true,
5 "mediaSequence": 0, 3 "mediaSequence": 0,
6 "playlistType": "VOD", 4 "playlistType": "VOD",
7 "segments": [{ 5 "segments": [
8 "duration": 10, 6 {
9 "byterange": { 7 "byterange": {
10 "length": 522828, 8 "length": 522828,
11 "offset": 0 9 "offset": 0
12 }, 10 },
13 "uri": "hls_450k_video.ts"
14 }, {
15 "duration": 10, 11 "duration": 10,
12 "timeRange": {
13 "end": 10,
14 "start": 0
15 },
16 "uri": "hls_450k_video.ts"
17 },
18 {
16 "byterange": { 19 "byterange": {
17 "length": 587500, 20 "length": 587500,
18 "offset": 522828 21 "offset": 522828
19 }, 22 },
20 "uri": "hls_450k_video.ts"
21 }, {
22 "duration": 10, 23 "duration": 10,
24 "timeRange": {
25 "end": 20,
26 "start": 10
27 },
28 "uri": "hls_450k_video.ts"
29 },
30 {
23 "byterange": { 31 "byterange": {
24 "length": 713084, 32 "length": 713084,
25 "offset": 1110328 33 "offset": 1110328
26 }, 34 },
27 "uri": "hls_450k_video.ts"
28 }, {
29 "duration": 10, 35 "duration": 10,
36 "timeRange": {
37 "end": 30,
38 "start": 20
39 },
40 "uri": "hls_450k_video.ts"
41 },
42 {
30 "byterange": { 43 "byterange": {
31 "length": 476580, 44 "length": 476580,
32 "offset": 1823412 45 "offset": 1823412
33 }, 46 },
34 "uri": "hls_450k_video.ts"
35 }, {
36 "duration": 10, 47 "duration": 10,
48 "timeRange": {
49 "end": 40,
50 "start": 30
51 },
52 "uri": "hls_450k_video.ts"
53 },
54 {
37 "byterange": { 55 "byterange": {
38 "length": 535612, 56 "length": 535612,
39 "offset": 2299992 57 "offset": 2299992
40 }, 58 },
41 "uri": "hls_450k_video.ts"
42 }, {
43 "duration": 10, 59 "duration": 10,
60 "timeRange": {
61 "end": 50,
62 "start": 40
63 },
64 "uri": "hls_450k_video.ts"
65 },
66 {
44 "byterange": { 67 "byterange": {
45 "length": 207176, 68 "length": 207176,
46 "offset": 2835604 69 "offset": 2835604
47 }, 70 },
48 "uri": "hls_450k_video.ts"
49 }, {
50 "duration": 10, 71 "duration": 10,
72 "timeRange": {
73 "end": 60,
74 "start": 50
75 },
76 "uri": "hls_450k_video.ts"
77 },
78 {
51 "byterange": { 79 "byterange": {
52 "length": 455900, 80 "length": 455900,
53 "offset": 3042780 81 "offset": 3042780
54 }, 82 },
55 "uri": "hls_450k_video.ts"
56 }, {
57 "duration": 10, 83 "duration": 10,
84 "timeRange": {
85 "end": 70,
86 "start": 60
87 },
88 "uri": "hls_450k_video.ts"
89 },
90 {
58 "byterange": { 91 "byterange": {
59 "length": 657248, 92 "length": 657248,
60 "offset": 3498680 93 "offset": 3498680
61 }, 94 },
62 "uri": "hls_450k_video.ts"
63 }, {
64 "duration": 10, 95 "duration": 10,
96 "timeRange": {
97 "end": 80,
98 "start": 70
99 },
100 "uri": "hls_450k_video.ts"
101 },
102 {
65 "byterange": { 103 "byterange": {
66 "length": 571708, 104 "length": 571708,
67 "offset": 4155928 105 "offset": 4155928
68 }, 106 },
69 "uri": "hls_450k_video.ts"
70 }, {
71 "duration": 10, 107 "duration": 10,
108 "timeRange": {
109 "end": 90,
110 "start": 80
111 },
112 "uri": "hls_450k_video.ts"
113 },
114 {
72 "byterange": { 115 "byterange": {
73 "length": 485040, 116 "length": 485040,
74 "offset": 4727636 117 "offset": 4727636
75 }, 118 },
76 "uri": "hls_450k_video.ts"
77 }, {
78 "duration": 10, 119 "duration": 10,
120 "timeRange": {
121 "end": 100,
122 "start": 90
123 },
124 "uri": "hls_450k_video.ts"
125 },
126 {
79 "byterange": { 127 "byterange": {
80 "length": 709136, 128 "length": 709136,
81 "offset": 5212676 129 "offset": 5212676
82 }, 130 },
83 "uri": "hls_450k_video.ts"
84 }, {
85 "duration": 10, 131 "duration": 10,
132 "timeRange": {
133 "end": 110,
134 "start": 100
135 },
136 "uri": "hls_450k_video.ts"
137 },
138 {
86 "byterange": { 139 "byterange": {
87 "length": 730004, 140 "length": 730004,
88 "offset": 5921812 141 "offset": 5921812
89 }, 142 },
90 "uri": "hls_450k_video.ts"
91 }, {
92 "duration": 10, 143 "duration": 10,
144 "timeRange": {
145 "end": 120,
146 "start": 110
147 },
148 "uri": "hls_450k_video.ts"
149 },
150 {
93 "byterange": { 151 "byterange": {
94 "length": 456276, 152 "length": 456276,
95 "offset": 6651816 153 "offset": 6651816
96 }, 154 },
97 "uri": "hls_450k_video.ts"
98 }, {
99 "duration": 10, 155 "duration": 10,
156 "timeRange": {
157 "end": 130,
158 "start": 120
159 },
160 "uri": "hls_450k_video.ts"
161 },
162 {
100 "byterange": { 163 "byterange": {
101 "length": 468684, 164 "length": 468684,
102 "offset": 7108092 165 "offset": 7108092
103 }, 166 },
104 "uri": "hls_450k_video.ts"
105 }, {
106 "duration": 10, 167 "duration": 10,
168 "timeRange": {
169 "end": 140,
170 "start": 130
171 },
172 "uri": "hls_450k_video.ts"
173 },
174 {
107 "byterange": { 175 "byterange": {
108 "length": 444996, 176 "length": 444996,
109 "offset": 7576776 177 "offset": 7576776
110 }, 178 },
111 "uri": "hls_450k_video.ts"
112 }, {
113 "duration": 10, 179 "duration": 10,
180 "timeRange": {
181 "end": 150,
182 "start": 140
183 },
184 "uri": "hls_450k_video.ts"
185 },
186 {
114 "byterange": { 187 "byterange": {
115 "length": 331444, 188 "length": 331444,
116 "offset": 8021772 189 "offset": 8021772
117 }, 190 },
191 "duration": 10,
192 "timeRange": {
193 "end": 160,
194 "start": 150
195 },
118 "uri": "hls_450k_video.ts" 196 "uri": "hls_450k_video.ts"
119 }, { 197 },
120 "duration": 1.4167, 198 {
121 "byterange": { 199 "byterange": {
122 "length": 44556, 200 "length": 44556,
123 "offset": 8353216 201 "offset": 8353216
124 }, 202 },
203 "duration": 1.4167,
204 "timeRange": {
205 "end": 161.4167,
206 "start": 160
207 },
125 "uri": "hls_450k_video.ts" 208 "uri": "hls_450k_video.ts"
126 }] 209 }
210 ],
211 "targetDuration": 10,
212 "totalDuration": 161.4167
127 } 213 }
...\ No newline at end of file ...\ No newline at end of file
......
1 { 1 {
2 "allowCache": true, 2 "allowCache": true,
3 "targetDuration": 10,
4 "totalDuration": 161.4167,
5 "mediaSequence": 0, 3 "mediaSequence": 0,
6 "playlistType": "VOD", 4 "playlistType": "VOD",
7 "segments": [{ 5 "segments": [
6 {
8 "duration": 10, 7 "duration": 10,
8 "timeRange": {
9 "end": 10,
10 "start": 0
11 },
9 "uri": "hls_450k_video.ts" 12 "uri": "hls_450k_video.ts"
10 }, { 13 },
11 "duration": 10, 14 {
12 "byterange": { 15 "byterange": {
13 "length": 587500, 16 "length": 587500,
14 "offset": 522828 17 "offset": 522828
15 }, 18 },
16 "uri": "hls_450k_video.ts"
17 }, {
18 "duration": 10, 19 "duration": 10,
20 "timeRange": {
21 "end": 20,
22 "start": 10
23 },
24 "uri": "hls_450k_video.ts"
25 },
26 {
19 "byterange": { 27 "byterange": {
20 "length": 713084, 28 "length": 713084,
21 "offset": 0 29 "offset": 0
22 }, 30 },
23 "uri": "hls_450k_video2.ts"
24 }, {
25 "duration": 10, 31 "duration": 10,
32 "timeRange": {
33 "end": 30,
34 "start": 20
35 },
36 "uri": "hls_450k_video2.ts"
37 },
38 {
26 "byterange": { 39 "byterange": {
27 "length": 476580, 40 "length": 476580,
28 "offset": 1823412 41 "offset": 1823412
29 }, 42 },
30 "uri": "hls_450k_video.ts"
31 }, {
32 "duration": 10, 43 "duration": 10,
44 "timeRange": {
45 "end": 40,
46 "start": 30
47 },
48 "uri": "hls_450k_video.ts"
49 },
50 {
33 "byterange": { 51 "byterange": {
34 "length": 535612, 52 "length": 535612,
35 "offset": 2299992 53 "offset": 2299992
36 }, 54 },
37 "uri": "hls_450k_video.ts"
38 }, {
39 "duration": 10, 55 "duration": 10,
56 "timeRange": {
57 "end": 50,
58 "start": 40
59 },
60 "uri": "hls_450k_video.ts"
61 },
62 {
40 "byterange": { 63 "byterange": {
41 "length": 207176, 64 "length": 207176,
42 "offset": 2835604 65 "offset": 2835604
43 }, 66 },
44 "uri": "hls_450k_video.ts"
45 }, {
46 "duration": 10, 67 "duration": 10,
68 "timeRange": {
69 "end": 60,
70 "start": 50
71 },
72 "uri": "hls_450k_video.ts"
73 },
74 {
47 "byterange": { 75 "byterange": {
48 "length": 455900, 76 "length": 455900,
49 "offset": 3042780 77 "offset": 3042780
50 }, 78 },
51 "uri": "hls_450k_video.ts"
52 }, {
53 "duration": 10, 79 "duration": 10,
80 "timeRange": {
81 "end": 70,
82 "start": 60
83 },
84 "uri": "hls_450k_video.ts"
85 },
86 {
54 "byterange": { 87 "byterange": {
55 "length": 657248, 88 "length": 657248,
56 "offset": 3498680 89 "offset": 3498680
57 }, 90 },
58 "uri": "hls_450k_video.ts"
59 }, {
60 "duration": 10, 91 "duration": 10,
92 "timeRange": {
93 "end": 80,
94 "start": 70
95 },
96 "uri": "hls_450k_video.ts"
97 },
98 {
61 "byterange": { 99 "byterange": {
62 "length": 571708, 100 "length": 571708,
63 "offset": 4155928 101 "offset": 4155928
64 }, 102 },
65 "uri": "hls_450k_video.ts"
66 }, {
67 "duration": 10, 103 "duration": 10,
104 "timeRange": {
105 "end": 90,
106 "start": 80
107 },
108 "uri": "hls_450k_video.ts"
109 },
110 {
68 "byterange": { 111 "byterange": {
69 "length": 485040, 112 "length": 485040,
70 "offset": 4727636 113 "offset": 4727636
71 }, 114 },
72 "uri": "hls_450k_video.ts"
73 }, {
74 "duration": 10, 115 "duration": 10,
116 "timeRange": {
117 "end": 100,
118 "start": 90
119 },
120 "uri": "hls_450k_video.ts"
121 },
122 {
75 "byterange": { 123 "byterange": {
76 "length": 709136, 124 "length": 709136,
77 "offset": 5212676 125 "offset": 5212676
78 }, 126 },
79 "uri": "hls_450k_video.ts"
80 }, {
81 "duration": 10, 127 "duration": 10,
128 "timeRange": {
129 "end": 110,
130 "start": 100
131 },
132 "uri": "hls_450k_video.ts"
133 },
134 {
82 "byterange": { 135 "byterange": {
83 "length": 730004, 136 "length": 730004,
84 "offset": 5921812 137 "offset": 5921812
85 }, 138 },
86 "uri": "hls_450k_video.ts"
87 }, {
88 "duration": 10, 139 "duration": 10,
140 "timeRange": {
141 "end": 120,
142 "start": 110
143 },
144 "uri": "hls_450k_video.ts"
145 },
146 {
89 "byterange": { 147 "byterange": {
90 "length": 456276, 148 "length": 456276,
91 "offset": 6651816 149 "offset": 6651816
92 }, 150 },
93 "uri": "hls_450k_video.ts"
94 }, {
95 "duration": 10, 151 "duration": 10,
152 "timeRange": {
153 "end": 130,
154 "start": 120
155 },
156 "uri": "hls_450k_video.ts"
157 },
158 {
96 "byterange": { 159 "byterange": {
97 "length": 468684, 160 "length": 468684,
98 "offset": 7108092 161 "offset": 7108092
99 }, 162 },
100 "uri": "hls_450k_video.ts"
101 }, {
102 "duration": 10, 163 "duration": 10,
164 "timeRange": {
165 "end": 140,
166 "start": 130
167 },
168 "uri": "hls_450k_video.ts"
169 },
170 {
103 "byterange": { 171 "byterange": {
104 "length": 444996, 172 "length": 444996,
105 "offset": 7576776 173 "offset": 7576776
106 }, 174 },
107 "uri": "hls_450k_video.ts"
108 }, {
109 "duration": 10, 175 "duration": 10,
176 "timeRange": {
177 "end": 150,
178 "start": 140
179 },
180 "uri": "hls_450k_video.ts"
181 },
182 {
110 "byterange": { 183 "byterange": {
111 "length": 331444, 184 "length": 331444,
112 "offset": 8021772 185 "offset": 8021772
113 }, 186 },
187 "duration": 10,
188 "timeRange": {
189 "end": 160,
190 "start": 150
191 },
114 "uri": "hls_450k_video.ts" 192 "uri": "hls_450k_video.ts"
115 }, { 193 },
116 "duration": 1.4167, 194 {
117 "byterange": { 195 "byterange": {
118 "length": 44556, 196 "length": 44556,
119 "offset": 8353216 197 "offset": 8353216
120 }, 198 },
199 "duration": 1.4167,
200 "timeRange": {
201 "end": 161.4167,
202 "start": 160
203 },
121 "uri": "hls_450k_video.ts" 204 "uri": "hls_450k_video.ts"
122 }] 205 }
206 ],
207 "targetDuration": 10,
208 "totalDuration": 161.4167
123 } 209 }
...\ No newline at end of file ...\ No newline at end of file
......
1 { 1 {
2 "targetDuration": 10,
3 "totalDuration": 10,
4 "allowCache": false, 2 "allowCache": false,
5 "mediaSequence": 0, 3 "mediaSequence": 0,
6 "playlistType": "VOD", 4 "playlistType": "VOD",
7 "segments": [{ 5 "segments": [
8 "duration": 10, 6 {
9 "byterange": { 7 "byterange": {
10 "length": 522828, 8 "length": 522828,
11 "offset": 0 9 "offset": 0
12 }, 10 },
11 "duration": 10,
12 "timeRange": {
13 "end": 10,
14 "start": 0
15 },
13 "uri": "hls_450k_video.ts" 16 "uri": "hls_450k_video.ts"
14 }] 17 }
18 ],
19 "targetDuration": 10,
20 "totalDuration": 10
15 } 21 }
...\ No newline at end of file ...\ No newline at end of file
......
1 { 1 {
2 "allowCache": true, 2 "allowCache": true,
3 "targetDuration": 10,
4 "totalDuration": 40,
5 "mediaSequence": 0, 3 "mediaSequence": 0,
6 "playlistType": "VOD", 4 "playlistType": "VOD",
7 "segments": [{ 5 "segments": [
6 {
8 "duration": 10, 7 "duration": 10,
8 "timeRange": {
9 "end": 10,
10 "start": 0
11 },
9 "uri": "/00001.ts" 12 "uri": "/00001.ts"
10 }, { 13 },
14 {
11 "duration": 10, 15 "duration": 10,
16 "timeRange": {
17 "end": 20,
18 "start": 10
19 },
12 "uri": "/subdir/00002.ts" 20 "uri": "/subdir/00002.ts"
13 }, { 21 },
22 {
14 "duration": 10, 23 "duration": 10,
24 "timeRange": {
25 "end": 30,
26 "start": 20
27 },
15 "uri": "/00003.ts" 28 "uri": "/00003.ts"
16 }, { 29 },
30 {
17 "duration": 10, 31 "duration": 10,
32 "timeRange": {
33 "end": 40,
34 "start": 30
35 },
18 "uri": "/00004.ts" 36 "uri": "/00004.ts"
19 }] 37 }
38 ],
39 "targetDuration": 10,
40 "totalDuration": 40
20 } 41 }
...\ No newline at end of file ...\ No newline at end of file
......
1 { 1 {
2 "targetDuration": 10,
3 "totalDuration": 10,
4 "allowCache": true, 2 "allowCache": true,
5 "mediaSequence": 0, 3 "mediaSequence": 0,
6 "playlistType": "VOD", 4 "playlistType": "VOD",
7 "segments": [{ 5 "segments": [
8 "duration": 10, 6 {
9 "byterange": { 7 "byterange": {
10 "length": 522828, 8 "length": 522828,
11 "offset": 0 9 "offset": 0
12 }, 10 },
11 "duration": 10,
12 "timeRange": {
13 "end": 10,
14 "start": 0
15 },
13 "uri": "hls_450k_video.ts" 16 "uri": "hls_450k_video.ts"
14 }] 17 }
18 ],
19 "targetDuration": 10,
20 "totalDuration": 10
15 } 21 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -2,19 +2,40 @@ ...@@ -2,19 +2,40 @@
2 "allowCache": true, 2 "allowCache": true,
3 "mediaSequence": 0, 3 "mediaSequence": 0,
4 "playlistType": "VOD", 4 "playlistType": "VOD",
5 "targetDuration": 8, 5 "segments": [
6 "totalDuration": 24.32, 6 {
7 "segments": [{
8 "duration": 6.64, 7 "duration": 6.64,
8 "timeRange": {
9 "end": 6.64,
10 "start": 0
11 },
9 "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts" 12 "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
10 }, { 13 },
14 {
11 "duration": 6.08, 15 "duration": 6.08,
16 "timeRange": {
17 "end": 12.719999999999999,
18 "start": 6.64
19 },
12 "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts" 20 "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
13 }, { 21 },
22 {
14 "duration": 6.6, 23 "duration": 6.6,
24 "timeRange": {
25 "end": 19.32,
26 "start": 12.719999999999999
27 },
15 "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts" 28 "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
16 }, { 29 },
30 {
17 "duration": 5, 31 "duration": 5,
32 "timeRange": {
33 "end": 24.32,
34 "start": 19.32
35 },
18 "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts" 36 "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
19 }] 37 }
38 ],
39 "targetDuration": 8,
40 "totalDuration": 24.32
20 } 41 }
...\ No newline at end of file ...\ No newline at end of file
......
1 { 1 {
2 "allowCache": true, 2 "allowCache": true,
3 "targetDuration": 10,
4 "totalDuration": 58,
5 "mediaSequence": 0, 3 "mediaSequence": 0,
6 "playlistType": "VOD", 4 "playlistType": "VOD",
7 "segments": [{ 5 "segments": [
6 {
8 "duration": 10, 7 "duration": 10,
8 "timeRange": {
9 "end": 10,
10 "start": 0
11 },
9 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00001.ts" 12 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00001.ts"
10 }, { 13 },
14 {
11 "duration": 10, 15 "duration": 10,
16 "timeRange": {
17 "end": 20,
18 "start": 10
19 },
12 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00002.ts" 20 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00002.ts"
13 }, { 21 },
22 {
14 "duration": 10, 23 "duration": 10,
24 "timeRange": {
25 "end": 30,
26 "start": 20
27 },
15 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00003.ts" 28 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00003.ts"
16 }, { 29 },
30 {
17 "duration": 10, 31 "duration": 10,
32 "timeRange": {
33 "end": 40,
34 "start": 30
35 },
18 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00004.ts" 36 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00004.ts"
19 }, { 37 },
38 {
20 "duration": 10, 39 "duration": 10,
40 "timeRange": {
41 "end": 50,
42 "start": 40
43 },
21 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00005.ts" 44 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00005.ts"
22 }, { 45 },
46 {
23 "duration": 8, 47 "duration": 8,
48 "timeRange": {
49 "end": 58,
50 "start": 50
51 },
24 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00006.ts" 52 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00006.ts"
25 }] 53 }
54 ],
55 "targetDuration": 10,
56 "totalDuration": 58
26 } 57 }
...\ No newline at end of file ...\ No newline at end of file
......
1 { 1 {
2 "allowCache": true, 2 "allowCache": true,
3 "targetDuration": 10,
4 "totalDuration": 58,
5 "mediaSequence": 0, 3 "mediaSequence": 0,
6 "playlistType": "EVENT", 4 "playlistType": "EVENT",
7 "segments": [{ 5 "segments": [
6 {
8 "duration": 10, 7 "duration": 10,
8 "timeRange": {
9 "end": 10,
10 "start": 0
11 },
9 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00001.ts" 12 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00001.ts"
10 }, { 13 },
14 {
11 "duration": 10, 15 "duration": 10,
16 "timeRange": {
17 "end": 20,
18 "start": 10
19 },
12 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00002.ts" 20 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00002.ts"
13 }, { 21 },
22 {
14 "duration": 10, 23 "duration": 10,
24 "timeRange": {
25 "end": 30,
26 "start": 20
27 },
15 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00003.ts" 28 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00003.ts"
16 }, { 29 },
30 {
17 "duration": 10, 31 "duration": 10,
32 "timeRange": {
33 "end": 40,
34 "start": 30
35 },
18 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00004.ts" 36 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00004.ts"
19 }, { 37 },
38 {
20 "duration": 10, 39 "duration": 10,
40 "timeRange": {
41 "end": 50,
42 "start": 40
43 },
21 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00005.ts" 44 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00005.ts"
22 }, { 45 },
46 {
23 "duration": 8, 47 "duration": 8,
48 "timeRange": {
49 "end": 58,
50 "start": 50
51 },
24 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00006.ts" 52 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00006.ts"
25 }] 53 }
54 ],
55 "targetDuration": 10,
56 "totalDuration": 58
26 } 57 }
...\ No newline at end of file ...\ No newline at end of file
......
1 { 1 {
2 "allowCache": true, 2 "allowCache": true,
3 "targetDuration": 10,
4 "totalDuration": 164.7,
5 "mediaSequence": 0, 3 "mediaSequence": 0,
6 "playlistType": "VOD", 4 "playlistType": "VOD",
7 "segments": [{ 5 "segments": [
8 "duration": 10, 6 {
9 "byterange": { 7 "byterange": {
10 "length": 522828, 8 "length": 522828,
11 "offset": 0 9 "offset": 0
12 }, 10 },
11 "duration": 10,
12 "timeRange": {
13 "end": 10,
14 "start": 0
15 },
13 "uri": "hls_450k_video.ts" 16 "uri": "hls_450k_video.ts"
14 }, { 17 },
18 {
15 "byterange": { 19 "byterange": {
16 "length": 587500, 20 "length": 587500,
17 "offset": 522828 21 "offset": 522828
18 }, 22 },
23 "timeRange": {
24 "end": NaN,
25 "start": 10
26 },
19 "uri": "hls_450k_video.ts" 27 "uri": "hls_450k_video.ts"
20 }, { 28 },
21 "duration": 5, 29 {
22 "byterange": { 30 "byterange": {
23 "length": 713084, 31 "length": 713084,
24 "offset": 1110328 32 "offset": 1110328
25 }, 33 },
34 "duration": 5,
35 "timeRange": {
36 "end": NaN,
37 "start": NaN
38 },
26 "uri": "hls_450k_video.ts" 39 "uri": "hls_450k_video.ts"
27 }, { 40 },
28 "duration": 9.7, 41 {
29 "byterange": { 42 "byterange": {
30 "length": 476580, 43 "length": 476580,
31 "offset": 1823412 44 "offset": 1823412
32 }, 45 },
46 "duration": 9.7,
47 "timeRange": {
48 "end": NaN,
49 "start": NaN
50 },
33 "uri": "hls_450k_video.ts" 51 "uri": "hls_450k_video.ts"
34 }, { 52 },
35 "duration": 10, 53 {
36 "byterange": { 54 "byterange": {
37 "length": 535612, 55 "length": 535612,
38 "offset": 2299992 56 "offset": 2299992
39 }, 57 },
40 "uri": "hls_450k_video.ts"
41 }, {
42 "duration": 10, 58 "duration": 10,
59 "timeRange": {
60 "end": NaN,
61 "start": NaN
62 },
63 "uri": "hls_450k_video.ts"
64 },
65 {
43 "byterange": { 66 "byterange": {
44 "length": 207176, 67 "length": 207176,
45 "offset": 2835604 68 "offset": 2835604
46 }, 69 },
47 "uri": "hls_450k_video.ts"
48 }, {
49 "duration": 10, 70 "duration": 10,
71 "timeRange": {
72 "end": NaN,
73 "start": NaN
74 },
75 "uri": "hls_450k_video.ts"
76 },
77 {
50 "byterange": { 78 "byterange": {
51 "length": 455900, 79 "length": 455900,
52 "offset": 3042780 80 "offset": 3042780
53 }, 81 },
54 "uri": "hls_450k_video.ts"
55 }, {
56 "duration": 10, 82 "duration": 10,
83 "timeRange": {
84 "end": NaN,
85 "start": NaN
86 },
87 "uri": "hls_450k_video.ts"
88 },
89 {
57 "byterange": { 90 "byterange": {
58 "length": 657248, 91 "length": 657248,
59 "offset": 3498680 92 "offset": 3498680
60 }, 93 },
61 "uri": "hls_450k_video.ts"
62 }, {
63 "duration": 10, 94 "duration": 10,
95 "timeRange": {
96 "end": NaN,
97 "start": NaN
98 },
99 "uri": "hls_450k_video.ts"
100 },
101 {
64 "byterange": { 102 "byterange": {
65 "length": 571708, 103 "length": 571708,
66 "offset": 4155928 104 "offset": 4155928
67 }, 105 },
68 "uri": "hls_450k_video.ts"
69 }, {
70 "duration": 10, 106 "duration": 10,
107 "timeRange": {
108 "end": NaN,
109 "start": NaN
110 },
111 "uri": "hls_450k_video.ts"
112 },
113 {
71 "byterange": { 114 "byterange": {
72 "length": 485040, 115 "length": 485040,
73 "offset": 4727636 116 "offset": 4727636
74 }, 117 },
75 "uri": "hls_450k_video.ts"
76 }, {
77 "duration": 10, 118 "duration": 10,
119 "timeRange": {
120 "end": NaN,
121 "start": NaN
122 },
123 "uri": "hls_450k_video.ts"
124 },
125 {
78 "byterange": { 126 "byterange": {
79 "length": 709136, 127 "length": 709136,
80 "offset": 5212676 128 "offset": 5212676
81 }, 129 },
82 "uri": "hls_450k_video.ts"
83 }, {
84 "duration": 10, 130 "duration": 10,
131 "timeRange": {
132 "end": NaN,
133 "start": NaN
134 },
135 "uri": "hls_450k_video.ts"
136 },
137 {
85 "byterange": { 138 "byterange": {
86 "length": 730004, 139 "length": 730004,
87 "offset": 5921812 140 "offset": 5921812
88 }, 141 },
89 "uri": "hls_450k_video.ts"
90 }, {
91 "duration": 10, 142 "duration": 10,
143 "timeRange": {
144 "end": NaN,
145 "start": NaN
146 },
147 "uri": "hls_450k_video.ts"
148 },
149 {
92 "byterange": { 150 "byterange": {
93 "length": 456276, 151 "length": 456276,
94 "offset": 6651816 152 "offset": 6651816
95 }, 153 },
96 "uri": "hls_450k_video.ts"
97 }, {
98 "duration": 10, 154 "duration": 10,
155 "timeRange": {
156 "end": NaN,
157 "start": NaN
158 },
159 "uri": "hls_450k_video.ts"
160 },
161 {
99 "byterange": { 162 "byterange": {
100 "length": 468684, 163 "length": 468684,
101 "offset": 7108092 164 "offset": 7108092
102 }, 165 },
103 "uri": "hls_450k_video.ts"
104 }, {
105 "duration": 10, 166 "duration": 10,
167 "timeRange": {
168 "end": NaN,
169 "start": NaN
170 },
171 "uri": "hls_450k_video.ts"
172 },
173 {
106 "byterange": { 174 "byterange": {
107 "length": 444996, 175 "length": 444996,
108 "offset": 7576776 176 "offset": 7576776
109 }, 177 },
110 "uri": "hls_450k_video.ts"
111 }, {
112 "duration": 10, 178 "duration": 10,
179 "timeRange": {
180 "end": NaN,
181 "start": NaN
182 },
183 "uri": "hls_450k_video.ts"
184 },
185 {
113 "byterange": { 186 "byterange": {
114 "length": 331444, 187 "length": 331444,
115 "offset": 8021772 188 "offset": 8021772
116 }, 189 },
190 "duration": 10,
191 "timeRange": {
192 "end": NaN,
193 "start": NaN
194 },
117 "uri": "hls_450k_video.ts" 195 "uri": "hls_450k_video.ts"
118 }, { 196 },
197 {
119 "byterange": { 198 "byterange": {
120 "length": 44556, 199 "length": 44556,
121 "offset": 8353216 200 "offset": 8353216
122 }, 201 },
123 "uri": "hls_450k_video.ts" 202 "uri": "hls_450k_video.ts"
124 }] 203 }
204 ],
205 "targetDuration": 10,
206 "totalDuration": 164.7
125 } 207 }
...\ No newline at end of file ...\ No newline at end of file
......
1 { 1 {
2 "targetDuration": 10,
3 "totalDuration": 10,
4 "allowCache": true, 2 "allowCache": true,
5 "mediaSequence": 0, 3 "mediaSequence": 0,
6 "playlistType": "VOD", 4 "playlistType": "VOD",
7 "segments": [{ 5 "segments": [
8 "duration": 10, 6 {
9 "byterange": { 7 "byterange": {
10 "length": 522828, 8 "length": 522828,
11 "offset": 0 9 "offset": 0
12 }, 10 },
11 "duration": 10,
12 "timeRange": {
13 "end": 10,
14 "start": 0
15 },
13 "uri": "hls_450k_video.ts" 16 "uri": "hls_450k_video.ts"
14 }] 17 }
18 ],
19 "targetDuration": 10,
20 "totalDuration": 10
15 } 21 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -2,19 +2,40 @@ ...@@ -2,19 +2,40 @@
2 "allowCache": true, 2 "allowCache": true,
3 "mediaSequence": 0, 3 "mediaSequence": 0,
4 "playlistType": "VOD", 4 "playlistType": "VOD",
5 "targetDuration": 8, 5 "segments": [
6 "totalDuration": 24.32, 6 {
7 "segments": [{
8 "duration": 6.64, 7 "duration": 6.64,
8 "timeRange": {
9 "end": 6.64,
10 "start": 0
11 },
9 "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts" 12 "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
10 }, { 13 },
14 {
11 "duration": 6.08, 15 "duration": 6.08,
16 "timeRange": {
17 "end": 12.719999999999999,
18 "start": 6.64
19 },
12 "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts" 20 "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
13 }, { 21 },
22 {
14 "duration": 6.6, 23 "duration": 6.6,
24 "timeRange": {
25 "end": 19.32,
26 "start": 12.719999999999999
27 },
15 "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts" 28 "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
16 }, { 29 },
30 {
17 "duration": 5, 31 "duration": 5,
32 "timeRange": {
33 "end": 24.32,
34 "start": 19.32
35 },
18 "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts" 36 "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
19 }] 37 }
38 ],
39 "targetDuration": 8,
40 "totalDuration": 24.32
20 } 41 }
...\ No newline at end of file ...\ No newline at end of file
......
1 { 1 {
2 "allowCache": true, 2 "allowCache": true,
3 "targetDuration": 10,
4 "totalDuration": 58,
5 "mediaSequence": 0, 3 "mediaSequence": 0,
6 "playlistType": "VOD", 4 "playlistType": "VOD",
7 "segments": [{ 5 "segments": [
6 {
8 "duration": 10, 7 "duration": 10,
8 "timeRange": {
9 "end": 10,
10 "start": 0
11 },
9 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00001.ts" 12 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00001.ts"
10 }, { 13 },
14 {
11 "duration": 10, 15 "duration": 10,
16 "timeRange": {
17 "end": 20,
18 "start": 10
19 },
12 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00002.ts" 20 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00002.ts"
13 }, { 21 },
22 {
14 "duration": 10, 23 "duration": 10,
24 "timeRange": {
25 "end": 30,
26 "start": 20
27 },
15 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00003.ts" 28 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00003.ts"
16 }, { 29 },
30 {
17 "duration": 10, 31 "duration": 10,
32 "timeRange": {
33 "end": 40,
34 "start": 30
35 },
18 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00004.ts" 36 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00004.ts"
19 }, { 37 },
38 {
20 "duration": 10, 39 "duration": 10,
40 "timeRange": {
41 "end": 50,
42 "start": 40
43 },
21 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00005.ts" 44 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00005.ts"
22 }, { 45 },
46 {
23 "duration": 8, 47 "duration": 8,
48 "timeRange": {
49 "end": 58,
50 "start": 50
51 },
24 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00006.ts" 52 "uri": "/test/ts-files/zencoder/haze/Haze_Mantel_President_encoded_1200-00006.ts"
25 }] 53 }
54 ],
55 "targetDuration": 10,
56 "totalDuration": 58
26 } 57 }
...\ No newline at end of file ...\ No newline at end of file
......
1 { 1 {
2 "allowCache": true, 2 "allowCache": true,
3 "mediaSequence": 0, 3 "mediaSequence": 0,
4 "totalDuration": 161.4167,
5 "playlistType": "VOD", 4 "playlistType": "VOD",
6 "segments": [{ 5 "segments": [
7 "duration": 10, 6 {
8 "byterange": { 7 "byterange": {
9 "length": 522828, 8 "length": 522828,
10 "offset": 0 9 "offset": 0
11 }, 10 },
12 "uri": "hls_450k_video.ts"
13 }, {
14 "duration": 10, 11 "duration": 10,
12 "timeRange": {
13 "end": 10,
14 "start": 0
15 },
16 "uri": "hls_450k_video.ts"
17 },
18 {
15 "byterange": { 19 "byterange": {
16 "length": 587500, 20 "length": 587500,
17 "offset": 522828 21 "offset": 522828
18 }, 22 },
19 "uri": "hls_450k_video.ts"
20 }, {
21 "duration": 10, 23 "duration": 10,
24 "timeRange": {
25 "end": 20,
26 "start": 10
27 },
28 "uri": "hls_450k_video.ts"
29 },
30 {
22 "byterange": { 31 "byterange": {
23 "length": 713084, 32 "length": 713084,
24 "offset": 1110328 33 "offset": 1110328
25 }, 34 },
26 "uri": "hls_450k_video.ts"
27 }, {
28 "duration": 10, 35 "duration": 10,
36 "timeRange": {
37 "end": 30,
38 "start": 20
39 },
40 "uri": "hls_450k_video.ts"
41 },
42 {
29 "byterange": { 43 "byterange": {
30 "length": 476580, 44 "length": 476580,
31 "offset": 1823412 45 "offset": 1823412
32 }, 46 },
33 "uri": "hls_450k_video.ts"
34 }, {
35 "duration": 10, 47 "duration": 10,
48 "timeRange": {
49 "end": 40,
50 "start": 30
51 },
52 "uri": "hls_450k_video.ts"
53 },
54 {
36 "byterange": { 55 "byterange": {
37 "length": 535612, 56 "length": 535612,
38 "offset": 2299992 57 "offset": 2299992
39 }, 58 },
40 "uri": "hls_450k_video.ts"
41 }, {
42 "duration": 10, 59 "duration": 10,
60 "timeRange": {
61 "end": 50,
62 "start": 40
63 },
64 "uri": "hls_450k_video.ts"
65 },
66 {
43 "byterange": { 67 "byterange": {
44 "length": 207176, 68 "length": 207176,
45 "offset": 2835604 69 "offset": 2835604
46 }, 70 },
47 "uri": "hls_450k_video.ts"
48 }, {
49 "duration": 10, 71 "duration": 10,
72 "timeRange": {
73 "end": 60,
74 "start": 50
75 },
76 "uri": "hls_450k_video.ts"
77 },
78 {
50 "byterange": { 79 "byterange": {
51 "length": 455900, 80 "length": 455900,
52 "offset": 3042780 81 "offset": 3042780
53 }, 82 },
54 "uri": "hls_450k_video.ts"
55 }, {
56 "duration": 10, 83 "duration": 10,
84 "timeRange": {
85 "end": 70,
86 "start": 60
87 },
88 "uri": "hls_450k_video.ts"
89 },
90 {
57 "byterange": { 91 "byterange": {
58 "length": 657248, 92 "length": 657248,
59 "offset": 3498680 93 "offset": 3498680
60 }, 94 },
61 "uri": "hls_450k_video.ts"
62 }, {
63 "duration": 10, 95 "duration": 10,
96 "timeRange": {
97 "end": 80,
98 "start": 70
99 },
100 "uri": "hls_450k_video.ts"
101 },
102 {
64 "byterange": { 103 "byterange": {
65 "length": 571708, 104 "length": 571708,
66 "offset": 4155928 105 "offset": 4155928
67 }, 106 },
68 "uri": "hls_450k_video.ts"
69 }, {
70 "duration": 10, 107 "duration": 10,
108 "timeRange": {
109 "end": 90,
110 "start": 80
111 },
112 "uri": "hls_450k_video.ts"
113 },
114 {
71 "byterange": { 115 "byterange": {
72 "length": 485040, 116 "length": 485040,
73 "offset": 4727636 117 "offset": 4727636
74 }, 118 },
75 "uri": "hls_450k_video.ts"
76 }, {
77 "duration": 10, 119 "duration": 10,
120 "timeRange": {
121 "end": 100,
122 "start": 90
123 },
124 "uri": "hls_450k_video.ts"
125 },
126 {
78 "byterange": { 127 "byterange": {
79 "length": 709136, 128 "length": 709136,
80 "offset": 5212676 129 "offset": 5212676
81 }, 130 },
82 "uri": "hls_450k_video.ts"
83 }, {
84 "duration": 10, 131 "duration": 10,
132 "timeRange": {
133 "end": 110,
134 "start": 100
135 },
136 "uri": "hls_450k_video.ts"
137 },
138 {
85 "byterange": { 139 "byterange": {
86 "length": 730004, 140 "length": 730004,
87 "offset": 5921812 141 "offset": 5921812
88 }, 142 },
89 "uri": "hls_450k_video.ts"
90 }, {
91 "duration": 10, 143 "duration": 10,
144 "timeRange": {
145 "end": 120,
146 "start": 110
147 },
148 "uri": "hls_450k_video.ts"
149 },
150 {
92 "byterange": { 151 "byterange": {
93 "length": 456276, 152 "length": 456276,
94 "offset": 6651816 153 "offset": 6651816
95 }, 154 },
96 "uri": "hls_450k_video.ts"
97 }, {
98 "duration": 10, 155 "duration": 10,
156 "timeRange": {
157 "end": 130,
158 "start": 120
159 },
160 "uri": "hls_450k_video.ts"
161 },
162 {
99 "byterange": { 163 "byterange": {
100 "length": 468684, 164 "length": 468684,
101 "offset": 7108092 165 "offset": 7108092
102 }, 166 },
103 "uri": "hls_450k_video.ts"
104 }, {
105 "duration": 10, 167 "duration": 10,
168 "timeRange": {
169 "end": 140,
170 "start": 130
171 },
172 "uri": "hls_450k_video.ts"
173 },
174 {
106 "byterange": { 175 "byterange": {
107 "length": 444996, 176 "length": 444996,
108 "offset": 7576776 177 "offset": 7576776
109 }, 178 },
110 "uri": "hls_450k_video.ts"
111 }, {
112 "duration": 10, 179 "duration": 10,
180 "timeRange": {
181 "end": 150,
182 "start": 140
183 },
184 "uri": "hls_450k_video.ts"
185 },
186 {
113 "byterange": { 187 "byterange": {
114 "length": 331444, 188 "length": 331444,
115 "offset": 8021772 189 "offset": 8021772
116 }, 190 },
191 "duration": 10,
192 "timeRange": {
193 "end": 160,
194 "start": 150
195 },
117 "uri": "hls_450k_video.ts" 196 "uri": "hls_450k_video.ts"
118 }, { 197 },
119 "duration": 1.4167, 198 {
120 "byterange": { 199 "byterange": {
121 "length": 44556, 200 "length": 44556,
122 "offset": 8353216 201 "offset": 8353216
123 }, 202 },
203 "duration": 1.4167,
204 "timeRange": {
205 "end": 161.4167,
206 "start": 160
207 },
124 "uri": "hls_450k_video.ts" 208 "uri": "hls_450k_video.ts"
125 }] 209 }
210 ],
211 "totalDuration": 161.4167
126 } 212 }
...\ No newline at end of file ...\ No newline at end of file
127
......
1 { 1 {
2 "allowCache": true, 2 "allowCache": true,
3 "targetDuration": 10,
4 "totalDuration": 40,
5 "mediaSequence": 0, 3 "mediaSequence": 0,
6 "playlistType": "VOD", 4 "playlistType": "VOD",
7 "segments": [{ 5 "segments": [
6 {
8 "duration": 10, 7 "duration": 10,
8 "timeRange": {
9 "end": 10,
10 "start": 0
11 },
9 "uri": "00001.ts" 12 "uri": "00001.ts"
10 }, { 13 },
14 {
11 "duration": 10, 15 "duration": 10,
16 "timeRange": {
17 "end": 20,
18 "start": 10
19 },
12 "uri": "00002.ts" 20 "uri": "00002.ts"
13 }, { 21 },
22 {
14 "duration": 10, 23 "duration": 10,
24 "timeRange": {
25 "end": 30,
26 "start": 20
27 },
15 "uri": "00003.ts" 28 "uri": "00003.ts"
16 }, { 29 },
30 {
17 "duration": 10, 31 "duration": 10,
32 "timeRange": {
33 "end": 40,
34 "start": 30
35 },
18 "uri": "00004.ts" 36 "uri": "00004.ts"
19 }] 37 }
38 ],
39 "targetDuration": 10,
40 "totalDuration": 40
20 } 41 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -2,19 +2,40 @@ ...@@ -2,19 +2,40 @@
2 "allowCache": true, 2 "allowCache": true,
3 "mediaSequence": 0, 3 "mediaSequence": 0,
4 "playlistType": "VOD", 4 "playlistType": "VOD",
5 "totalDuration": 24.32, 5 "segments": [
6 "targetDuration": 8, 6 {
7 "segments": [{
8 "duration": 6.64, 7 "duration": 6.64,
8 "timeRange": {
9 "end": 6.64,
10 "start": 0
11 },
9 "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts" 12 "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
10 }, { 13 },
14 {
11 "duration": 6.08, 15 "duration": 6.08,
16 "timeRange": {
17 "end": 12.719999999999999,
18 "start": 6.64
19 },
12 "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts" 20 "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
13 }, { 21 },
22 {
14 "duration": 6.6, 23 "duration": 6.6,
24 "timeRange": {
25 "end": 19.32,
26 "start": 12.719999999999999
27 },
15 "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts" 28 "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
16 }, { 29 },
30 {
17 "duration": 5, 31 "duration": 5,
32 "timeRange": {
33 "end": 24.32,
34 "start": 19.32
35 },
18 "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts" 36 "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
19 }] 37 }
38 ],
39 "targetDuration": 8,
40 "totalDuration": 24.32
20 } 41 }
...\ No newline at end of file ...\ No newline at end of file
......
1 { 1 {
2 "allowCache": true, 2 "allowCache": true,
3 "mediaSequence": 0, 3 "mediaSequence": 0,
4 "totalDuration": 24.32,
5 "playlistType": "VOD", 4 "playlistType": "VOD",
6 "targetDuration": 8, 5 "segments": [
7 "segments": [{ 6 {
8 "duration": 6.64, 7 "duration": 6.64,
8 "timeRange": {
9 "end": 6.64,
10 "start": 0
11 },
9 "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts" 12 "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
10 }, { 13 },
14 {
11 "duration": 6.08, 15 "duration": 6.08,
16 "timeRange": {
17 "end": 12.719999999999999,
18 "start": 6.64
19 },
12 "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts" 20 "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
13 }, { 21 },
22 {
14 "duration": 6.6, 23 "duration": 6.6,
24 "timeRange": {
25 "end": 19.32,
26 "start": 12.719999999999999
27 },
15 "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts" 28 "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
16 }, { 29 },
30 {
17 "duration": 5, 31 "duration": 5,
32 "timeRange": {
33 "end": 24.32,
34 "start": 19.32
35 },
18 "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts" 36 "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
19 }] 37 }
38 ],
39 "targetDuration": 8,
40 "totalDuration": 24.32
20 } 41 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -2,16 +2,25 @@ ...@@ -2,16 +2,25 @@
2 "allowCache": true, 2 "allowCache": true,
3 "mediaSequence": 0, 3 "mediaSequence": 0,
4 "playlistType": "VOD", 4 "playlistType": "VOD",
5 "targetDuration": 8, 5 "segments": [
6 "totalDuration": 30.64, 6 {
7 "segments": [{
8 "duration": 6.64, 7 "duration": 6.64,
8 "timeRange": {
9 "end": 6.64,
10 "start": 0
11 },
9 "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts" 12 "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
10 }, { 13 },
14 {
11 "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts" 15 "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
12 }, { 16 },
17 {
13 "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts" 18 "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
14 }, { 19 },
20 {
15 "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts" 21 "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
16 }] 22 }
23 ],
24 "targetDuration": 8,
25 "totalDuration": 30.64
17 } 26 }
...\ No newline at end of file ...\ No newline at end of file
......
1 { 1 {
2 "allowCache": true, 2 "allowCache": true,
3 "mediaSequence": -11, 3 "mediaSequence": -11,
4 "totalDuration": 24.32,
5 "playlistType": "VOD", 4 "playlistType": "VOD",
6 "targetDuration": 8, 5 "segments": [
7 "segments": [{ 6 {
8 "duration": 6.64, 7 "duration": 6.64,
8 "timeRange": {
9 "end": 6.64,
10 "start": 0
11 },
9 "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts" 12 "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
10 }, { 13 },
14 {
11 "duration": 6.08, 15 "duration": 6.08,
16 "timeRange": {
17 "end": 12.719999999999999,
18 "start": 6.64
19 },
12 "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts" 20 "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
13 }, { 21 },
22 {
14 "duration": 6.6, 23 "duration": 6.6,
24 "timeRange": {
25 "end": 19.32,
26 "start": 12.719999999999999
27 },
15 "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts" 28 "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
16 }, { 29 },
30 {
17 "duration": 5, 31 "duration": 5,
32 "timeRange": {
33 "end": 24.32,
34 "start": 19.32
35 },
18 "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts" 36 "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
19 }] 37 }
38 ],
39 "targetDuration": 8,
40 "totalDuration": 24.32
20 } 41 }
...\ No newline at end of file ...\ No newline at end of file
......
1 { 1 {
2 "allowCache": true, 2 "allowCache": true,
3 "targetDuration": 10,
4 "totalDuration": 161.4167,
5 "mediaSequence": 0, 3 "mediaSequence": 0,
6 "playlistType": "VOD", 4 "playlistType": "VOD",
7 "segments": [{ 5 "segments": [
8 "duration": 10, 6 {
9 "byterange": { 7 "byterange": {
10 "length": 522828, 8 "length": 522828,
11 "offset": 0 9 "offset": 0
12 }, 10 },
13 "uri": "hls_450k_video.ts"
14 }, {
15 "duration": 10, 11 "duration": 10,
12 "timeRange": {
13 "end": 10,
14 "start": 0
15 },
16 "uri": "hls_450k_video.ts"
17 },
18 {
16 "byterange": { 19 "byterange": {
17 "length": 587500, 20 "length": 587500,
18 "offset": 522828 21 "offset": 522828
19 }, 22 },
20 "uri": "hls_450k_video.ts"
21 }, {
22 "duration": 10, 23 "duration": 10,
24 "timeRange": {
25 "end": 20,
26 "start": 10
27 },
28 "uri": "hls_450k_video.ts"
29 },
30 {
23 "byterange": { 31 "byterange": {
24 "length": 713084, 32 "length": 713084,
25 "offset": 1110328 33 "offset": 1110328
26 }, 34 },
27 "uri": "hls_450k_video.ts"
28 }, {
29 "duration": 10, 35 "duration": 10,
36 "timeRange": {
37 "end": 30,
38 "start": 20
39 },
40 "uri": "hls_450k_video.ts"
41 },
42 {
30 "byterange": { 43 "byterange": {
31 "length": 476580, 44 "length": 476580,
32 "offset": 1823412 45 "offset": 1823412
33 }, 46 },
34 "uri": "hls_450k_video.ts"
35 }, {
36 "duration": 10, 47 "duration": 10,
48 "timeRange": {
49 "end": 40,
50 "start": 30
51 },
52 "uri": "hls_450k_video.ts"
53 },
54 {
37 "byterange": { 55 "byterange": {
38 "length": 535612, 56 "length": 535612,
39 "offset": 2299992 57 "offset": 2299992
40 }, 58 },
41 "uri": "hls_450k_video.ts"
42 }, {
43 "duration": 10, 59 "duration": 10,
60 "timeRange": {
61 "end": 50,
62 "start": 40
63 },
64 "uri": "hls_450k_video.ts"
65 },
66 {
44 "byterange": { 67 "byterange": {
45 "length": 207176, 68 "length": 207176,
46 "offset": 2835604 69 "offset": 2835604
47 }, 70 },
48 "uri": "hls_450k_video.ts"
49 }, {
50 "duration": 10, 71 "duration": 10,
72 "timeRange": {
73 "end": 60,
74 "start": 50
75 },
76 "uri": "hls_450k_video.ts"
77 },
78 {
51 "byterange": { 79 "byterange": {
52 "length": 455900, 80 "length": 455900,
53 "offset": 3042780 81 "offset": 3042780
54 }, 82 },
55 "uri": "hls_450k_video.ts"
56 }, {
57 "duration": 10, 83 "duration": 10,
84 "timeRange": {
85 "end": 70,
86 "start": 60
87 },
88 "uri": "hls_450k_video.ts"
89 },
90 {
58 "byterange": { 91 "byterange": {
59 "length": 657248, 92 "length": 657248,
60 "offset": 3498680 93 "offset": 3498680
61 }, 94 },
62 "uri": "hls_450k_video.ts"
63 }, {
64 "duration": 10, 95 "duration": 10,
96 "timeRange": {
97 "end": 80,
98 "start": 70
99 },
100 "uri": "hls_450k_video.ts"
101 },
102 {
65 "byterange": { 103 "byterange": {
66 "length": 571708, 104 "length": 571708,
67 "offset": 4155928 105 "offset": 4155928
68 }, 106 },
69 "uri": "hls_450k_video.ts"
70 }, {
71 "duration": 10, 107 "duration": 10,
108 "timeRange": {
109 "end": 90,
110 "start": 80
111 },
112 "uri": "hls_450k_video.ts"
113 },
114 {
72 "byterange": { 115 "byterange": {
73 "length": 485040, 116 "length": 485040,
74 "offset": 4727636 117 "offset": 4727636
75 }, 118 },
76 "uri": "hls_450k_video.ts"
77 }, {
78 "duration": 10, 119 "duration": 10,
120 "timeRange": {
121 "end": 100,
122 "start": 90
123 },
124 "uri": "hls_450k_video.ts"
125 },
126 {
79 "byterange": { 127 "byterange": {
80 "length": 709136, 128 "length": 709136,
81 "offset": 5212676 129 "offset": 5212676
82 }, 130 },
83 "uri": "hls_450k_video.ts"
84 }, {
85 "duration": 10, 131 "duration": 10,
132 "timeRange": {
133 "end": 110,
134 "start": 100
135 },
136 "uri": "hls_450k_video.ts"
137 },
138 {
86 "byterange": { 139 "byterange": {
87 "length": 730004, 140 "length": 730004,
88 "offset": 5921812 141 "offset": 5921812
89 }, 142 },
90 "uri": "hls_450k_video.ts"
91 }, {
92 "duration": 10, 143 "duration": 10,
144 "timeRange": {
145 "end": 120,
146 "start": 110
147 },
148 "uri": "hls_450k_video.ts"
149 },
150 {
93 "byterange": { 151 "byterange": {
94 "length": 456276, 152 "length": 456276,
95 "offset": 6651816 153 "offset": 6651816
96 }, 154 },
97 "uri": "hls_450k_video.ts"
98 }, {
99 "duration": 10, 155 "duration": 10,
156 "timeRange": {
157 "end": 130,
158 "start": 120
159 },
160 "uri": "hls_450k_video.ts"
161 },
162 {
100 "byterange": { 163 "byterange": {
101 "length": 468684, 164 "length": 468684,
102 "offset": 7108092 165 "offset": 7108092
103 }, 166 },
104 "uri": "hls_450k_video.ts"
105 }, {
106 "duration": 10, 167 "duration": 10,
168 "timeRange": {
169 "end": 140,
170 "start": 130
171 },
172 "uri": "hls_450k_video.ts"
173 },
174 {
107 "byterange": { 175 "byterange": {
108 "length": 444996, 176 "length": 444996,
109 "offset": 7576776 177 "offset": 7576776
110 }, 178 },
111 "uri": "hls_450k_video.ts"
112 }, {
113 "duration": 10, 179 "duration": 10,
180 "timeRange": {
181 "end": 150,
182 "start": 140
183 },
184 "uri": "hls_450k_video.ts"
185 },
186 {
114 "byterange": { 187 "byterange": {
115 "length": 331444, 188 "length": 331444,
116 "offset": 8021772 189 "offset": 8021772
117 }, 190 },
191 "duration": 10,
192 "timeRange": {
193 "end": 160,
194 "start": 150
195 },
118 "uri": "hls_450k_video.ts" 196 "uri": "hls_450k_video.ts"
119 }, { 197 },
120 "duration": 1.4167, 198 {
121 "byterange": { 199 "byterange": {
122 "length": 44556, 200 "length": 44556,
123 "offset": 8353216 201 "offset": 8353216
124 }, 202 },
203 "duration": 1.4167,
204 "timeRange": {
205 "end": 161.4167,
206 "start": 160
207 },
125 "uri": "hls_450k_video.ts" 208 "uri": "hls_450k_video.ts"
126 }] 209 }
210 ],
211 "targetDuration": 10,
212 "totalDuration": 161.4167
127 } 213 }
...\ No newline at end of file ...\ No newline at end of file
128
......
...@@ -2,19 +2,40 @@ ...@@ -2,19 +2,40 @@
2 "allowCache": true, 2 "allowCache": true,
3 "mediaSequence": 11, 3 "mediaSequence": 11,
4 "playlistType": "VOD", 4 "playlistType": "VOD",
5 "targetDuration": 8, 5 "segments": [
6 "totalDuration": 24.32, 6 {
7 "segments": [{
8 "duration": 6.64, 7 "duration": 6.64,
8 "timeRange": {
9 "end": 6.64,
10 "start": 0
11 },
9 "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts" 12 "uri": "/test/ts-files/tvy7/8a5e2822668b5370f4eb1438b2564fb7ab12ffe1-hi720.ts"
10 }, { 13 },
14 {
11 "duration": 6.08, 15 "duration": 6.08,
16 "timeRange": {
17 "end": 12.719999999999999,
18 "start": 6.64
19 },
12 "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts" 20 "uri": "/test/ts-files/tvy7/56be1cef869a1c0cc8e38864ad1add17d187f051-hi720.ts"
13 }, { 21 },
22 {
14 "duration": 6.6, 23 "duration": 6.6,
24 "timeRange": {
25 "end": 19.32,
26 "start": 12.719999999999999
27 },
15 "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts" 28 "uri": "/test/ts-files/tvy7/549c8c77f55f049741a06596e5c1e01dacaa46d0-hi720.ts"
16 }, { 29 },
30 {
17 "duration": 5, 31 "duration": 5,
32 "timeRange": {
33 "end": 24.32,
34 "start": 19.32
35 },
18 "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts" 36 "uri": "/test/ts-files/tvy7/6cfa378684ffeb1c455a64dae6c103290a1f53d4-hi720.ts"
19 }] 37 }
38 ],
39 "targetDuration": 8,
40 "totalDuration": 24.32
20 } 41 }
...\ No newline at end of file ...\ No newline at end of file
......