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