@pixwel/pixwel-sdk 2.1.30 → 2.1.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/coverage/clover.xml +494 -506
- package/coverage/coverage-final.json +15 -15
- package/coverage/lcov-report/Ass.js.html +228 -228
- package/coverage/lcov-report/Asset.js.html +27 -27
- package/coverage/lcov-report/AssetType.js.html +1 -1
- package/coverage/lcov-report/Encode.js.html +1 -1
- package/coverage/lcov-report/File.js.html +1 -1
- package/coverage/lcov-report/Filename.js.html +1 -1
- package/coverage/lcov-report/Ingest.js.html +122 -95
- package/coverage/lcov-report/IngestFile.js.html +1 -1
- package/coverage/lcov-report/Model.js.html +136 -136
- package/coverage/lcov-report/Order.js.html +28 -28
- package/coverage/lcov-report/Srt.js.html +108 -108
- package/coverage/lcov-report/Sub.js.html +47 -47
- package/coverage/lcov-report/Tag.js.html +1 -1
- package/coverage/lcov-report/TimeFormat.js.html +62 -62
- package/coverage/lcov-report/fileType.js.html +4 -4
- package/coverage/lcov-report/index.html +87 -87
- package/coverage/lcov.info +942 -963
- package/dist/src/Ingest.js +38 -13
- package/package.json +1 -1
- package/src/Ingest.js +33 -24
- package/test/Ingest.spec.js +269 -60
package/test/Ingest.spec.js
CHANGED
|
@@ -26,11 +26,11 @@ describe("Ingest", () => {
|
|
|
26
26
|
});
|
|
27
27
|
});
|
|
28
28
|
describe("renderFilename", () => {
|
|
29
|
-
it("renders
|
|
29
|
+
it("renders EncodeName for interlaced HD 1080i2398", function() {
|
|
30
30
|
let data = {
|
|
31
31
|
asset: {
|
|
32
|
-
name: "
|
|
33
|
-
slug: "
|
|
32
|
+
name: "HELLO",
|
|
33
|
+
slug: "HELLO",
|
|
34
34
|
type: "trailer.intl",
|
|
35
35
|
mediaType: "video",
|
|
36
36
|
project: {
|
|
@@ -46,15 +46,216 @@ describe("Ingest", () => {
|
|
|
46
46
|
download: {
|
|
47
47
|
enabled: false,
|
|
48
48
|
tags: {
|
|
49
|
-
Extra: ["
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
49
|
+
Extra: ["REDUX"],
|
|
50
|
+
Framerate: "23.98",
|
|
51
|
+
Codec: "prores",
|
|
52
|
+
Resolution: "1920x1080",
|
|
53
|
+
"Frame Mode": "interlaced",
|
|
54
|
+
Text: "txtd2",
|
|
55
|
+
SubDub: {
|
|
56
|
+
sub: null,
|
|
57
|
+
dub: null
|
|
58
|
+
},
|
|
59
|
+
Standard: "ntsc",
|
|
60
|
+
Usage: "broadcast",
|
|
61
|
+
Aspect: "16:9"
|
|
62
|
+
},
|
|
63
|
+
embargo: { enabled: false },
|
|
64
|
+
country: "US",
|
|
65
|
+
language: "ENG"
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
let ingest = new Ingest(data);
|
|
70
|
+
let allTags = [];
|
|
71
|
+
let allTypes = [];
|
|
72
|
+
let extension = "mp4";
|
|
73
|
+
let name = ingest.renderFilename({ allTags, allTypes, extension });
|
|
74
|
+
expect(name).toBe(
|
|
75
|
+
"TESTPROJECT_ITR-HELLO_ENG-US_TXTD2_REDUX_PRORES_1080i2398.mp4"
|
|
76
|
+
);
|
|
77
|
+
});
|
|
78
|
+
it("renders EncodeName for progressive HD 1080p2398", function() {
|
|
79
|
+
let data = {
|
|
80
|
+
asset: {
|
|
81
|
+
name: "HELLO",
|
|
82
|
+
slug: "HELLO",
|
|
83
|
+
type: "trailer.intl",
|
|
84
|
+
mediaType: "video",
|
|
85
|
+
project: {
|
|
86
|
+
filePrefix: "TESTPROJECT"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
filename: {
|
|
90
|
+
file: {
|
|
91
|
+
ext: "mp4"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
selected: {
|
|
95
|
+
download: {
|
|
96
|
+
enabled: false,
|
|
97
|
+
tags: {
|
|
98
|
+
Extra: ["REDUX"],
|
|
99
|
+
Framerate: "23.98",
|
|
100
|
+
Codec: "prores",
|
|
101
|
+
Resolution: "1920x1080",
|
|
54
102
|
"Frame Mode": "progressive",
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
103
|
+
Text: "txtd2",
|
|
104
|
+
SubDub: {
|
|
105
|
+
sub: null,
|
|
106
|
+
dub: null
|
|
107
|
+
},
|
|
108
|
+
Standard: "ntsc",
|
|
109
|
+
Usage: "broadcast",
|
|
110
|
+
Aspect: "16:9"
|
|
111
|
+
},
|
|
112
|
+
embargo: { enabled: false },
|
|
113
|
+
country: "US",
|
|
114
|
+
language: "ENG"
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
let ingest = new Ingest(data);
|
|
119
|
+
let allTags = [];
|
|
120
|
+
let allTypes = [];
|
|
121
|
+
let extension = "mp4";
|
|
122
|
+
let name = ingest.renderFilename({ allTags, allTypes, extension });
|
|
123
|
+
expect(name).toBe(
|
|
124
|
+
"TESTPROJECT_ITR-HELLO_ENG-US_TXTD2_REDUX_PRORES_1080p2398.mp4"
|
|
125
|
+
);
|
|
126
|
+
});
|
|
127
|
+
it("renders EncodeName for progressive SD NTSC-16X9_486p2997", function() {
|
|
128
|
+
let data = {
|
|
129
|
+
asset: {
|
|
130
|
+
name: "HELLO",
|
|
131
|
+
slug: "HELLO",
|
|
132
|
+
type: "trailer.intl",
|
|
133
|
+
mediaType: "video",
|
|
134
|
+
project: {
|
|
135
|
+
filePrefix: "TESTPROJECT"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
filename: {
|
|
139
|
+
file: {
|
|
140
|
+
ext: "mp4"
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
selected: {
|
|
144
|
+
download: {
|
|
145
|
+
enabled: false,
|
|
146
|
+
tags: {
|
|
147
|
+
Extra: ["REDUX"],
|
|
148
|
+
Framerate: "29.97",
|
|
149
|
+
Codec: "prores",
|
|
150
|
+
Resolution: "720x486",
|
|
151
|
+
"Frame Mode": "progressive",
|
|
152
|
+
Text: "txtd2",
|
|
153
|
+
SubDub: {
|
|
154
|
+
sub: null,
|
|
155
|
+
dub: null
|
|
156
|
+
},
|
|
157
|
+
Standard: "ntsc",
|
|
158
|
+
Usage: "broadcast",
|
|
159
|
+
Aspect: "16:9"
|
|
160
|
+
},
|
|
161
|
+
embargo: { enabled: false },
|
|
162
|
+
country: "US",
|
|
163
|
+
language: "ENG"
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
let ingest = new Ingest(data);
|
|
168
|
+
let allTags = [];
|
|
169
|
+
let allTypes = [];
|
|
170
|
+
let extension = "mp4";
|
|
171
|
+
let name = ingest.renderFilename({ allTags, allTypes, extension });
|
|
172
|
+
expect(name).toBe(
|
|
173
|
+
"TESTPROJECT_ITR-HELLO_ENG-US_TXTD2_REDUX_PRORES_NTSC-16X9_486p2997.mp4"
|
|
174
|
+
);
|
|
175
|
+
});
|
|
176
|
+
it("renders EncodeName for progressive SD NTSC-4X3_486p2997", function() {
|
|
177
|
+
let data = {
|
|
178
|
+
asset: {
|
|
179
|
+
name: "HELLO",
|
|
180
|
+
slug: "HELLO",
|
|
181
|
+
type: "trailer.intl",
|
|
182
|
+
mediaType: "video",
|
|
183
|
+
project: {
|
|
184
|
+
filePrefix: "TESTPROJECT"
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
filename: {
|
|
188
|
+
file: {
|
|
189
|
+
ext: "mp4"
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
selected: {
|
|
193
|
+
download: {
|
|
194
|
+
enabled: false,
|
|
195
|
+
tags: {
|
|
196
|
+
Extra: ["REDUX"],
|
|
197
|
+
Framerate: "29.97",
|
|
198
|
+
Codec: "prores",
|
|
199
|
+
Resolution: "720x486",
|
|
200
|
+
"Frame Mode": "progressive",
|
|
201
|
+
Text: "txtd2",
|
|
202
|
+
SubDub: {
|
|
203
|
+
sub: null,
|
|
204
|
+
dub: null
|
|
205
|
+
},
|
|
206
|
+
Standard: "ntsc",
|
|
207
|
+
Usage: "broadcast",
|
|
208
|
+
Aspect: "4:3"
|
|
209
|
+
},
|
|
210
|
+
embargo: { enabled: false },
|
|
211
|
+
country: "US",
|
|
212
|
+
language: "ENG"
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
};
|
|
216
|
+
let ingest = new Ingest(data);
|
|
217
|
+
let allTags = [];
|
|
218
|
+
let allTypes = [];
|
|
219
|
+
let extension = "mp4";
|
|
220
|
+
let name = ingest.renderFilename({ allTags, allTypes, extension });
|
|
221
|
+
expect(name).toBe(
|
|
222
|
+
"TESTPROJECT_ITR-HELLO_ENG-US_TXTD2_REDUX_PRORES_NTSC-4X3_486p2997.mp4"
|
|
223
|
+
);
|
|
224
|
+
});
|
|
225
|
+
it("renders EncodeName for HD 1080pi0000", function() {
|
|
226
|
+
let data = {
|
|
227
|
+
asset: {
|
|
228
|
+
name: "HELLO",
|
|
229
|
+
slug: "HELLO",
|
|
230
|
+
type: "trailer.intl",
|
|
231
|
+
mediaType: "video",
|
|
232
|
+
project: {
|
|
233
|
+
filePrefix: "TESTPROJECT"
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
filename: {
|
|
237
|
+
file: {
|
|
238
|
+
ext: "mp4"
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
selected: {
|
|
242
|
+
download: {
|
|
243
|
+
enabled: false,
|
|
244
|
+
tags: {
|
|
245
|
+
Extra: ["GENERIC"],
|
|
246
|
+
Codec: "prores",
|
|
247
|
+
Resolution: "1920x1080",
|
|
248
|
+
"Frame Mode": "progressive",
|
|
249
|
+
Text: "txtd",
|
|
250
|
+
SubDub: {
|
|
251
|
+
sub: null,
|
|
252
|
+
dub: null
|
|
253
|
+
},
|
|
254
|
+
undefined: "1080p2397",
|
|
255
|
+
Framerate: "23.98",
|
|
256
|
+
Standard: "ntsc",
|
|
257
|
+
Usage: "broadcast",
|
|
258
|
+
Aspect: "16:9"
|
|
58
259
|
},
|
|
59
260
|
embargo: { enabled: false },
|
|
60
261
|
country: "US",
|
|
@@ -67,7 +268,7 @@ describe("Ingest", () => {
|
|
|
67
268
|
let allTypes = [];
|
|
68
269
|
let extension = "mp4";
|
|
69
270
|
let name = ingest.renderFilename({ allTags, allTypes, extension });
|
|
70
|
-
expect(name).toBe("TESTPROJECT_ITR-
|
|
271
|
+
expect(name).toBe("TESTPROJECT_ITR-HELLO_ENG-US_TXTD_GENERIC_PRORES_1080p2398.mp4");
|
|
71
272
|
});
|
|
72
273
|
it("renders language only for dual-language codes", function() {
|
|
73
274
|
let data = {
|
|
@@ -90,9 +291,11 @@ describe("Ingest", () => {
|
|
|
90
291
|
language: "PFR-FLE",
|
|
91
292
|
country: "US",
|
|
92
293
|
tags: {
|
|
294
|
+
Aspect: '4:3',
|
|
93
295
|
Text: "txtd",
|
|
94
296
|
Extra: ["COMING-SOON", "HOJE"],
|
|
95
|
-
Codec: "
|
|
297
|
+
Codec: "h264",
|
|
298
|
+
Standard: 'ntsc',
|
|
96
299
|
Resolution: "640x480",
|
|
97
300
|
Framerate: "23.98",
|
|
98
301
|
"Frame Mode": "progressive"
|
|
@@ -106,7 +309,7 @@ describe("Ingest", () => {
|
|
|
106
309
|
let extension = "mp4";
|
|
107
310
|
let name = ingest.renderFilename({ allTags, allTypes, extension });
|
|
108
311
|
expect(name).toBe(
|
|
109
|
-
"TESTPROJECT_ITR-TEST-ASSET-A_PFR-FLE_TXTD_COMING-
|
|
312
|
+
"TESTPROJECT_ITR-TEST-ASSET-A_PFR-FLE_TXTD_COMING-SOON_HOJE_H264_480p2398.mp4"
|
|
110
313
|
);
|
|
111
314
|
});
|
|
112
315
|
it("throws exception if missing Framerate", function() {
|
|
@@ -243,6 +446,8 @@ describe("Ingest", () => {
|
|
|
243
446
|
tags: {
|
|
244
447
|
Text: "txtd",
|
|
245
448
|
Codec: "prores",
|
|
449
|
+
Aspect: '4:3',
|
|
450
|
+
Standard: 'ntsc',
|
|
246
451
|
Resolution: "640x480",
|
|
247
452
|
Framerate: "23.98",
|
|
248
453
|
"Frame Mode": "progressive"
|
|
@@ -279,8 +484,10 @@ describe("Ingest", () => {
|
|
|
279
484
|
download: {
|
|
280
485
|
language: "ENG",
|
|
281
486
|
tags: {
|
|
487
|
+
Aspect: '4:3',
|
|
488
|
+
Standard: 'ntsc',
|
|
282
489
|
Text: "txtd",
|
|
283
|
-
Codec: "
|
|
490
|
+
Codec: "h264",
|
|
284
491
|
Resolution: "640x480",
|
|
285
492
|
Framerate: "23.98",
|
|
286
493
|
"Frame Mode": "progressive"
|
|
@@ -294,7 +501,7 @@ describe("Ingest", () => {
|
|
|
294
501
|
let extension = "mp4";
|
|
295
502
|
let name = ingest.renderFilename({ allTags, allTypes, extension });
|
|
296
503
|
expect(name).toBe(
|
|
297
|
-
"TESTPROJECT_DTR-TEST-ASSET-
|
|
504
|
+
"TESTPROJECT_DTR-TEST-ASSET-A_ENG_TXTD_H264_480p2398.mp4"
|
|
298
505
|
);
|
|
299
506
|
});
|
|
300
507
|
it("renders generic trailer type", function() {
|
|
@@ -317,8 +524,10 @@ describe("Ingest", () => {
|
|
|
317
524
|
download: {
|
|
318
525
|
language: "ENG",
|
|
319
526
|
tags: {
|
|
527
|
+
Aspect: '4:3',
|
|
528
|
+
Standard: 'ntsc',
|
|
320
529
|
Text: "txtd",
|
|
321
|
-
Codec: "
|
|
530
|
+
Codec: "h264",
|
|
322
531
|
Resolution: "640x480",
|
|
323
532
|
Framerate: "23.98",
|
|
324
533
|
"Frame Mode": "progressive"
|
|
@@ -332,7 +541,7 @@ describe("Ingest", () => {
|
|
|
332
541
|
let extension = "mp4";
|
|
333
542
|
let name = ingest.renderFilename({ allTags, allTypes, extension });
|
|
334
543
|
expect(name).toBe(
|
|
335
|
-
"TESTPROJECT_TR-GENERIC-
|
|
544
|
+
"TESTPROJECT_TR-GENERIC-TRAILER_ENG_TXTD_H264_480p2398.mp4"
|
|
336
545
|
);
|
|
337
546
|
});
|
|
338
547
|
it("throws an error if asset type does not exist", function() {
|
|
@@ -386,6 +595,8 @@ describe("Ingest", () => {
|
|
|
386
595
|
download: {
|
|
387
596
|
language: "ENG",
|
|
388
597
|
tags: {
|
|
598
|
+
Aspect: '4:3',
|
|
599
|
+
Standard: 'ntsc',
|
|
389
600
|
Text: "txtd",
|
|
390
601
|
Codec: "prores",
|
|
391
602
|
Resolution: "640x480",
|
|
@@ -494,6 +705,8 @@ describe("Ingest", () => {
|
|
|
494
705
|
download: {
|
|
495
706
|
language: "ENG",
|
|
496
707
|
tags: {
|
|
708
|
+
Aspect: '4:3',
|
|
709
|
+
Standard: 'ntsc',
|
|
497
710
|
Text: "txtd",
|
|
498
711
|
Codec: "prores",
|
|
499
712
|
Resolution: "640x480",
|
|
@@ -547,7 +760,9 @@ describe("Ingest", () => {
|
|
|
547
760
|
language: "ENG",
|
|
548
761
|
country: "WW",
|
|
549
762
|
tags: {
|
|
550
|
-
|
|
763
|
+
Aspect: '16:9',
|
|
764
|
+
Standard: 'ntsc',
|
|
765
|
+
Resolution: "1920x1080",
|
|
551
766
|
"Frame Mode": "progressive",
|
|
552
767
|
Framerate: "29.97",
|
|
553
768
|
Text: "txtd",
|
|
@@ -563,7 +778,7 @@ describe("Ingest", () => {
|
|
|
563
778
|
let extension = "mp4";
|
|
564
779
|
let name = ingest.renderFilename({ allTags, allTypes, extension });
|
|
565
780
|
expect(name).toBe(
|
|
566
|
-
"TESTPROJECT_ITR-TEST-ASSET-A_ENG_TXTD_COMING-
|
|
781
|
+
"TESTPROJECT_ITR-TEST-ASSET-A_ENG_TXTD_COMING-SOON_HOJE_PRORES_1080p2997.mp4"
|
|
567
782
|
);
|
|
568
783
|
|
|
569
784
|
ingest.selected.download = {
|
|
@@ -572,6 +787,7 @@ describe("Ingest", () => {
|
|
|
572
787
|
tags: {
|
|
573
788
|
Usage: "online",
|
|
574
789
|
Aspect: "16:9",
|
|
790
|
+
Standard: 'ntsc',
|
|
575
791
|
Codec: "h264",
|
|
576
792
|
Resolution: "1920x1080",
|
|
577
793
|
"Frame Mode": "progressive",
|
|
@@ -607,6 +823,8 @@ describe("Ingest", () => {
|
|
|
607
823
|
language: "ENG",
|
|
608
824
|
country: "WW",
|
|
609
825
|
tags: {
|
|
826
|
+
Aspect: '4:3',
|
|
827
|
+
Standard: 'ntsc',
|
|
610
828
|
Text: "txtd",
|
|
611
829
|
Extra: ["COMING-SOON", "HOJE"],
|
|
612
830
|
Codec: "prores",
|
|
@@ -651,6 +869,8 @@ describe("Ingest", () => {
|
|
|
651
869
|
sub: true,
|
|
652
870
|
dub: false
|
|
653
871
|
},
|
|
872
|
+
Aspect: '4:3',
|
|
873
|
+
Standard: 'ntsc',
|
|
654
874
|
Extra: ["COMING-SOON", "HOJE"],
|
|
655
875
|
Codec: "PRORES",
|
|
656
876
|
Resolution: "640x480",
|
|
@@ -701,6 +921,8 @@ describe("Ingest", () => {
|
|
|
701
921
|
language: "ENG",
|
|
702
922
|
country: "WW",
|
|
703
923
|
tags: {
|
|
924
|
+
Aspect: '16:9',
|
|
925
|
+
Standard: 'ntsc',
|
|
704
926
|
Resolution: "1920x1080",
|
|
705
927
|
"Frame Mode": "progressive",
|
|
706
928
|
Framerate: "29.97",
|
|
@@ -720,45 +942,6 @@ describe("Ingest", () => {
|
|
|
720
942
|
"TESTPROJECT_ITR-TEST-ASSET-A_ENG_TXTD_COMING-SOON_HOJE_PRORES_1080p2997.mp4"
|
|
721
943
|
);
|
|
722
944
|
});
|
|
723
|
-
it("renders `set` tags when all tags in `set` are specified but retains `codec`", function() {
|
|
724
|
-
let data = {
|
|
725
|
-
asset: {
|
|
726
|
-
name: "Test Asset A",
|
|
727
|
-
slug: "test-asset-a",
|
|
728
|
-
type: "trailer.intl",
|
|
729
|
-
mediaType: "video",
|
|
730
|
-
project: {
|
|
731
|
-
filePrefix: "TESTPROJECT"
|
|
732
|
-
}
|
|
733
|
-
},
|
|
734
|
-
filename: {
|
|
735
|
-
file: {
|
|
736
|
-
ext: "mp4"
|
|
737
|
-
}
|
|
738
|
-
},
|
|
739
|
-
selected: {
|
|
740
|
-
download: {
|
|
741
|
-
language: "ENG",
|
|
742
|
-
tags: {
|
|
743
|
-
Codec: "h264",
|
|
744
|
-
Resolution: "1920x1080",
|
|
745
|
-
Usage: "online",
|
|
746
|
-
Text: "txtd",
|
|
747
|
-
Framerate: "23.98",
|
|
748
|
-
"Frame Mode": "progressive"
|
|
749
|
-
}
|
|
750
|
-
}
|
|
751
|
-
}
|
|
752
|
-
};
|
|
753
|
-
let ingest = new Ingest(data);
|
|
754
|
-
let allTags = [];
|
|
755
|
-
let allTypes = [{ name: "film-clip.intl" }];
|
|
756
|
-
let extension = "mp4";
|
|
757
|
-
let name = ingest.renderFilename({ allTags, allTypes, extension });
|
|
758
|
-
expect(name).toBe(
|
|
759
|
-
"TESTPROJECT_ITR-TEST-ASSET-A_ENG_TXTD_H264_1080p2398.mp4"
|
|
760
|
-
);
|
|
761
|
-
});
|
|
762
945
|
it("throws exception if missing Frame Mode", function() {
|
|
763
946
|
let data = {
|
|
764
947
|
asset: {
|
|
@@ -863,6 +1046,8 @@ describe("Ingest", () => {
|
|
|
863
1046
|
language: "ENG",
|
|
864
1047
|
country: "US",
|
|
865
1048
|
tags: {
|
|
1049
|
+
Aspect: '4:3',
|
|
1050
|
+
Standard: 'ntsc',
|
|
866
1051
|
Text: "txtd",
|
|
867
1052
|
Extra: ["COMING-SOON", "HOJE"],
|
|
868
1053
|
Codec: "PRORES",
|
|
@@ -903,6 +1088,8 @@ describe("Ingest", () => {
|
|
|
903
1088
|
version: "rev",
|
|
904
1089
|
language: "ENG",
|
|
905
1090
|
tags: {
|
|
1091
|
+
Aspect: '4:3',
|
|
1092
|
+
Standard: 'ntsc',
|
|
906
1093
|
Text: "txtd",
|
|
907
1094
|
Codec: "prores",
|
|
908
1095
|
Resolution: "640x480",
|
|
@@ -941,6 +1128,8 @@ describe("Ingest", () => {
|
|
|
941
1128
|
download: {
|
|
942
1129
|
language: "ENG",
|
|
943
1130
|
tags: {
|
|
1131
|
+
Aspect: '4:3',
|
|
1132
|
+
Standard: 'ntsc',
|
|
944
1133
|
Text: "txtd",
|
|
945
1134
|
Codec: "prores",
|
|
946
1135
|
Resolution: "640x480",
|
|
@@ -980,6 +1169,8 @@ describe("Ingest", () => {
|
|
|
980
1169
|
language: "ENG",
|
|
981
1170
|
country: "WW",
|
|
982
1171
|
tags: {
|
|
1172
|
+
Aspect: '4:3',
|
|
1173
|
+
Standard: 'ntsc',
|
|
983
1174
|
Text: "txtd",
|
|
984
1175
|
Extra: ["COMING-SOON", "HOJE"],
|
|
985
1176
|
Codec: "PRORES",
|
|
@@ -1040,10 +1231,16 @@ describe("Ingest", () => {
|
|
|
1040
1231
|
language: "ENG",
|
|
1041
1232
|
country: "US",
|
|
1042
1233
|
tags: {
|
|
1234
|
+
Aspect: '4:3',
|
|
1235
|
+
Standard: 'ntsc',
|
|
1043
1236
|
Codec: "prores",
|
|
1044
1237
|
Resolution: "1024x768",
|
|
1045
1238
|
Framerate: "24",
|
|
1046
1239
|
"Frame Mode": "progressive"
|
|
1240
|
+
},
|
|
1241
|
+
embargo: {
|
|
1242
|
+
enabled: true,
|
|
1243
|
+
end: 1574834400
|
|
1047
1244
|
}
|
|
1048
1245
|
}
|
|
1049
1246
|
}
|
|
@@ -1059,12 +1256,24 @@ describe("Ingest", () => {
|
|
|
1059
1256
|
asset: "a1b2c3",
|
|
1060
1257
|
contextTag: "FRIDAY",
|
|
1061
1258
|
country: "US",
|
|
1259
|
+
embargo: {
|
|
1260
|
+
end: 1574834400,
|
|
1261
|
+
event: false
|
|
1262
|
+
},
|
|
1062
1263
|
ingest: "a1b2c3",
|
|
1063
1264
|
language: "ENG",
|
|
1064
1265
|
name: "PROJECT_TV-SPOT-INTL_ASSET_ENG-US_FRIDAY_PRORES_768p24.mp4",
|
|
1065
1266
|
path:
|
|
1066
1267
|
"paramount/project/tv-spot.intl/PROJECT_TV-SPOT-INTL_ASSET_ENG-US_FRIDAY_PRORES_768p24.mp4",
|
|
1067
|
-
tags: [
|
|
1268
|
+
tags: [
|
|
1269
|
+
"4:3",
|
|
1270
|
+
"ntsc",
|
|
1271
|
+
"prores",
|
|
1272
|
+
"1024x768",
|
|
1273
|
+
"24",
|
|
1274
|
+
"progressive",
|
|
1275
|
+
"FRIDAY"
|
|
1276
|
+
],
|
|
1068
1277
|
verified: true,
|
|
1069
1278
|
workRequest: "a1b2c3"
|
|
1070
1279
|
};
|