-
Notifications
You must be signed in to change notification settings - Fork 344
/
Copy pathqunit-media-data.js
70 lines (69 loc) · 3.05 KB
/
qunit-media-data.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
var testFiles = [
{ // 0
desc: "non-fragmented MP4 file with single MPEG-AVC stream",
// Use absolute URL for unit testing by Travis, Karma ...
url: mediaTestBaseUrl + 'mp4/h264bl.mp4',
moovEnd: 68189,
info_: {"duration":360000,"timescale":600,"isFragmented":false,"isProgressive":true,"hasIOD":true,"brands":["isom","isom"],"created":new Date("2014-04-10T18:23:58.000Z"),"modified":new Date("2014-04-10T18:23:58.000Z"),"tracks":[{"id":1,"references":[],"created":new Date("2012-02-13T23:07:31.000Z"),"modified":new Date("2014-04-10T18:23:59.000Z"),"movie_duration":360000,"layer":0,"alternate_group":0,"volume":0,"matrix":{"0":65536,"1":0,"2":0,"3":0,"4":65536,"5":0,"6":0,"7":0,"8":1073741824},"track_width":320,"track_height":180,"timescale":25000,"duration":15000000,"codec":"avc1.42c00d","language":"und","nb_samples":15000,"video":{"width":320,"height":180}}],"audioTracks":[],"videoTracks":[{"id":1,"references":[],"created":new Date("2012-02-13T23:07:31.000Z"),"modified":new Date("2014-04-10T18:23:59.000Z"),"movie_duration":360000,"layer":0,"alternate_group":0,"volume":0,"matrix":{"0":65536,"1":0,"2":0,"3":0,"4":65536,"5":0,"6":0,"7":0,"8":1073741824},"track_width":320,"track_height":180,"timescale":25000,"duration":15000000,"codec":"avc1.42c00d","language":"und","nb_samples":15000,"video":{"width":320,"height":180}}],"subtitleTracks":[],"metadataTracks":[],"hintTracks":[]},
},
{ // 1
desc: "fragmented MP4 file with single MPEG-AVC stream",
url: mediaTestBaseUrl + 'mp4/a.mp4'
},
{ // 2
desc: "non-fragmented MP4 file with MPEG-4 AAC stream",
url: mediaTestBaseUrl + 'mp4/aaclow.mp4'
},
{ // 3
desc: "non-fragmented MP4 file with two AVC video streams",
url: mediaTestBaseUrl + 'mp4/2v.mp4'
},
{ // 4
desc: "non-fragmented MP4 file with AVC, AAC and WebVTT",
url: mediaTestBaseUrl + 'mp4/avw.mp4'
},
{ // 5
desc: "non-fragmented MP4 file with 1 WebVTT stream",
url: mediaTestBaseUrl + 'mp4/subtitle-srt-wvtt.mp4'
},
{ // 6
desc: "non-fragmented MP4 file with 1 text:tx3g stream",
url: mediaTestBaseUrl + 'mp4/subtitle-srt-tx3g.mp4'
},
{ // 7
desc: "non-fragmented MP4 file with 1 text:stse stream",
url: mediaTestBaseUrl + 'mp4/anim-svg.mp4'
},
{ // 8
desc: "non-fragmented MP4 file with 1 subt:stpp stream",
url: mediaTestBaseUrl + 'mp4/subtitle-ttml-stpp.mp4'
},
{ // 9
desc: "non-fragmented MP4 file with single AVC stream, moov is last box",
url: mediaTestBaseUrl + 'mp4/moov_last.mp4',
mdatStart: 40,
mdatSize: 1309934,
moovSize: 19070
},
// { // 10
// desc: "long movie",
// url: mediaTestBaseUrl + 'mp4/Bad.Influence.se4ep13.mp4'
// },
{ // 11
desc: "Incomplete file from torrent",
url: mediaTestBaseUrl + 'mp4/as2-incomplete.mp4'
}
/*,
{ // 12
desc: "File with negative CTS-DTS offsets",
url: mediaTestBaseUrl + 'mp4/negctts.mp4'
},
{ // 13
desc: "File with no default flags in fragments",
url: mediaTestBaseUrl + 'mp4/noFragsDefault.mp4'
},
{ // 14
desc: "File with negative CTS-DTS offsets and no default flags in fragments",
url: mediaTestBaseUrl + 'mp4/negctts_noFragsDefault.mp4'
}
*/];