@imferno/node 3.0.2-beta.33b16ba → 3.0.2-beta.51b7476

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.
Files changed (4) hide show
  1. package/README.md +1 -1
  2. package/codes.d.ts +150 -14
  3. package/codes.js +150 -14
  4. package/package.json +7 -7
package/README.md CHANGED
@@ -118,7 +118,7 @@ console.log(getVersion()); // e.g. "2.0.0"
118
118
  | Option | Type | Description |
119
119
  |--------|------|-------------|
120
120
  | `coreSpec` | `"auto" \| "v2013" \| "v2016" \| "v2020"` | Core constraints spec version |
121
- | `app2eSpec` | `"auto" \| "none" \| "v2020" \| "v2021" \| "v2023"` | Application spec version |
121
+ | `app2eSpec` | `"auto" \| "none" \| "v2014" \| "v2016" \| "v2020" \| "v2023" \| "v2026"` | Application spec version |
122
122
  | `skipDiskChecks` | `boolean` | Skip file manifest and MXF checks (`buildReportFromPath` only) |
123
123
  | `rules` | `Record<string, "error" \| "warn" \| "info" \| "off">` | ESLint-style per-rule severity overrides |
124
124
 
package/codes.d.ts CHANGED
@@ -3,6 +3,11 @@ export declare const codes: {
3
3
  readonly ST429_9_2014: {
4
4
  readonly VolindexMissing: "ST429-9:2014:7/VolindexMissing";
5
5
  readonly MalformedXml: "ST429-9:2014:7/MalformedXml";
6
+ readonly PathNotRelative: "ST429-9:2014:A.2/PathNotRelative";
7
+ readonly PathCharacters: "ST429-9:2014:A.2/PathCharacters";
8
+ readonly PathTooLong: "ST429-9:2014:A.2/PathTooLong";
9
+ readonly PathTooManySegments: "ST429-9:2014:A.2/PathTooManySegments";
10
+ readonly PathDuplicate: "ST429-9:2014:A.2/PathDuplicate";
6
11
  };
7
12
  readonly ST377_1_2011: {
8
13
  readonly NotMxf: "ST377-1:2011:5/NotMxf";
@@ -12,6 +17,7 @@ export declare const codes: {
12
17
  readonly NonHeaderFirstPartition: "ST377-1:2011:6.4/NonHeaderFirstPartition";
13
18
  readonly HeaderPartitionOpen: "ST377-1:2011:8.3.3/HeaderPartitionOpen";
14
19
  readonly MissingHeaderMetadata: "ST377-1:2011:8.3.3/MissingHeaderMetadata";
20
+ readonly StructuralComponentDurationMissing: "ST377-1:2011:B.8/StructuralComponentDurationMissing";
15
21
  };
16
22
  readonly ST2067_2_2020: {
17
23
  readonly AssetMap: "ST2067-2:2020:7/AssetMap";
@@ -22,6 +28,7 @@ export declare const codes: {
22
28
  readonly FileNotFound: "ST2067-2:2020:8.3/FileNotFound";
23
29
  readonly ChecksumMismatch: "ST2067-2:2020:8.3/ChecksumMismatch";
24
30
  readonly UnresolvedUuid: "ST2067-2:2020:7/UnresolvedUuid";
31
+ readonly TrackFileNotInPackage: "ST2067-2:2020:7.1/TrackFileNotInPackage";
25
32
  readonly DuplicateUuid: "ST2067-2:2020:7/DuplicateUuid";
26
33
  readonly IoError: "IMF:General/IoError";
27
34
  readonly EssenceDescriptorList: "ST2067-2:2020:6.4.2/EssenceDescriptorList";
@@ -191,15 +198,90 @@ export declare const codes: {
191
198
  readonly CplNotFound: "ST2067-9:2018:7.3.1.1/CplNotFound";
192
199
  readonly DuplicateCplId: "ST2067-9:2018:7.3.1.1/DuplicateCplId";
193
200
  };
201
+ readonly ST2067_21_2014: {
202
+ readonly ColorSystem: "ST2067-21:2014:6.1/ColorSystem";
203
+ readonly BlackRefLevel: "ST2067-21:2014:6.1.4/BlackRefLevel";
204
+ readonly WhiteRefLevel: "ST2067-21:2014:6.1.4/WhiteRefLevel";
205
+ readonly ColorRange: "ST2067-21:2014:6.1.4/ColorRange";
206
+ readonly ApplicationIdentification: "ST2067-21:2014:7/ApplicationIdentification";
207
+ readonly AppIdMismatch: "ST2067-21:2014:7/AppIdMismatch";
208
+ };
209
+ readonly ST2067_21_2016: {
210
+ readonly ColorSystem: "ST2067-21:2016:6.1/ColorSystem";
211
+ readonly ComponentRefValues: "ST2067-21:2016:6.2/ComponentRefValues";
212
+ readonly BlackRefLevel: "ST2067-21:2016:6.3/BlackRefLevel";
213
+ readonly WhiteRefLevel: "ST2067-21:2016:6.3/WhiteRefLevel";
214
+ readonly ColorRange: "ST2067-21:2016:6.3/ColorRange";
215
+ readonly ApplicationIdentification: "ST2067-21:2016:7.1/ApplicationIdentification";
216
+ readonly AppIdMismatch: "ST2067-21:2016:7.1/AppIdMismatch";
217
+ readonly MaxCLLMaxFALL: "ST2067-21:2016:7.2/MaxCLLMaxFALL";
218
+ };
194
219
  readonly ST2067_21_2020: {
220
+ readonly FrameRate: "ST2067-21:2020:5.2/FrameRate";
221
+ readonly Resolution: "ST2067-21:2020:5.2/Resolution";
222
+ readonly ColorSystem: "ST2067-21:2020:6.2/ColorSystem";
223
+ readonly RequiredStoredWidth: "ST2067-21:2020:6.2/Required-StoredWidth";
224
+ readonly RequiredStoredHeight: "ST2067-21:2020:6.2/Required-StoredHeight";
225
+ readonly RequiredSampleRate: "ST2067-21:2020:6.2/Required-SampleRate";
226
+ readonly RequiredFrameLayout: "ST2067-21:2020:6.2/Required-FrameLayout";
227
+ readonly RequiredColorPrimaries: "ST2067-21:2020:6.2/Required-ColorPrimaries";
228
+ readonly RequiredTransferCharacteristic: "ST2067-21:2020:6.2/Required-TransferCharacteristic";
229
+ readonly RequiredPictureCompression: "ST2067-21:2020:6.2/Required-PictureCompression";
230
+ readonly RequiredComponentDepth: "ST2067-21:2020:6.2/Required-ComponentDepth";
231
+ readonly AlphaTransparency: "ST2067-21:2020:6.2.1/AlphaTransparency";
232
+ readonly CodingEquationsMissing: "ST2067-21:2020:6.2.1/CodingEquationsMissing";
233
+ readonly ColorPrimariesMissing: "ST2067-21:2020:6.2.1/ColorPrimariesMissing";
234
+ readonly FieldDominance: "ST2067-21:2020:6.2.1/FieldDominance";
235
+ readonly FrameLayout: "ST2067-21:2020:6.2.1/FrameLayout";
236
+ readonly FrameLayoutInterlaced: "ST2067-21:2020:6.2.1/FrameLayoutInterlaced";
237
+ readonly ImageAlignmentOffset: "ST2067-21:2020:6.2.1/ImageAlignmentOffset";
238
+ readonly ImageEndOffset: "ST2067-21:2020:6.2.1/ImageEndOffset";
239
+ readonly ImageStartOffset: "ST2067-21:2020:6.2.1/ImageStartOffset";
240
+ readonly SampledHeight: "ST2067-21:2020:6.2.1/SampledHeight";
241
+ readonly SampledWidth: "ST2067-21:2020:6.2.1/SampledWidth";
242
+ readonly SampledXOffset: "ST2067-21:2020:6.2.1/SampledXOffset";
243
+ readonly SampledYOffset: "ST2067-21:2020:6.2.1/SampledYOffset";
244
+ readonly StoredF2Offset: "ST2067-21:2020:6.2.1/StoredF2Offset";
245
+ readonly TransferCharacteristicMissing: "ST2067-21:2020:6.2.1/TransferCharacteristicMissing";
246
+ readonly TransferCharacteristicUnknown: "ST2067-21:2020:6.2.2/TransferCharacteristicUnknown";
247
+ readonly CodingEquationsUnknown: "ST2067-21:2020:6.2.3/CodingEquationsUnknown";
248
+ readonly ColorPrimariesUnknown: "ST2067-21:2020:6.2.4/ColorPrimariesUnknown";
249
+ readonly J2KRequired: "ST2067-21:2020:6.2.5/J2KRequired";
250
+ readonly AlphaMaxRef: "ST2067-21:2020:6.3/AlphaMaxRef";
251
+ readonly AlphaMinRef: "ST2067-21:2020:6.3/AlphaMinRef";
252
+ readonly ComponentMaxRef: "ST2067-21:2020:6.3/ComponentMaxRef";
253
+ readonly ComponentMinRef: "ST2067-21:2020:6.3/ComponentMinRef";
254
+ readonly Palette: "ST2067-21:2020:6.3/Palette";
255
+ readonly PaletteLayout: "ST2067-21:2020:6.3/PaletteLayout";
256
+ readonly ScanningDirection: "ST2067-21:2020:6.3/ScanningDirection";
257
+ readonly ComponentRefValues: "ST2067-21:2020:6.3.2/ComponentRefValues";
258
+ readonly AlphaSampleDepth: "ST2067-21:2020:6.4/AlphaSampleDepth";
259
+ readonly ColorSiting: "ST2067-21:2020:6.4/ColorSiting";
260
+ readonly ComponentDepth: "ST2067-21:2020:6.4/ComponentDepth";
261
+ readonly HorizontalSubsampling: "ST2067-21:2020:6.4/HorizontalSubsampling";
262
+ readonly PaddingBits: "ST2067-21:2020:6.4/PaddingBits";
263
+ readonly ReversedByteOrder: "ST2067-21:2020:6.4/ReversedByteOrder";
264
+ readonly VerticalSubsampling: "ST2067-21:2020:6.4/VerticalSubsampling";
265
+ readonly BlackRefLevel: "ST2067-21:2020:6.4.3/BlackRefLevel";
266
+ readonly ColorRange: "ST2067-21:2020:6.4.3/ColorRange";
267
+ readonly WhiteRefLevel: "ST2067-21:2020:6.4.3/WhiteRefLevel";
268
+ readonly CodingStyle: "ST2067-21:2020:6.5.2/CodingStyle";
269
+ readonly J2CLayout: "ST2067-21:2020:6.5.2/J2CLayout";
270
+ readonly JPEG2000SubDescriptor: "ST2067-21:2020:6.5.2/JPEG2000SubDescriptor";
271
+ readonly J2KHTNotAllowed: "ST2067-21:2020:6.2.5/J2K-HT-Not-Allowed";
272
+ readonly J2K4KResolution: "ST2067-21:2020:6.2.5/J2K-4K-Resolution";
273
+ readonly J2K2KResolution: "ST2067-21:2020:6.2.5/J2K-2K-Resolution";
274
+ readonly J2KBCPResolution: "ST2067-21:2020:6.2.5/J2K-BCP-Resolution";
275
+ readonly J2KProfileNotAllowed: "ST2067-21:2020:6.2.5/J2K-Profile-Not-Allowed";
276
+ readonly ApplicationIdentification: "ST2067-21:2020:7.1/ApplicationIdentification";
277
+ readonly HomogeneousImageEssence: "ST2067-21:2020:7.2/HomogeneousImageEssence";
195
278
  readonly AppIdMismatch: "ST2067-21:2020:7.1/AppIdMismatch";
279
+ readonly SegmentDurationMultiple: "ST2067-21:2020:7.4/SegmentDurationMultiple";
280
+ readonly MaxCLLMaxFALL: "ST2067-21:2020:7.5/MaxCLLMaxFALL";
196
281
  };
197
282
  readonly ST2067_21_2023: {
198
283
  readonly FrameRate: "ST2067-21:2023:5.2/FrameRate";
199
284
  readonly Resolution: "ST2067-21:2023:5.2/Resolution";
200
- readonly EmptyLanguageTag: "ST2067-21:2023:5.3/EmptyLanguageTag";
201
- readonly MalformedLanguageTag: "ST2067-21:2023:5.3/MalformedLanguageTag";
202
- readonly RegionCode: "ST2067-21:2023:5.3/RegionCode";
203
285
  readonly ColorSystem: "ST2067-21:2023:6.2/ColorSystem";
204
286
  readonly RequiredStoredWidth: "ST2067-21:2023:6.2/Required-StoredWidth";
205
287
  readonly RequiredStoredHeight: "ST2067-21:2023:6.2/Required-StoredHeight";
@@ -209,8 +291,6 @@ export declare const codes: {
209
291
  readonly RequiredTransferCharacteristic: "ST2067-21:2023:6.2/Required-TransferCharacteristic";
210
292
  readonly RequiredPictureCompression: "ST2067-21:2023:6.2/Required-PictureCompression";
211
293
  readonly RequiredComponentDepth: "ST2067-21:2023:6.2/Required-ComponentDepth";
212
- readonly RequiredChannelCount: "ST2067-21:2023:6.5/Required-ChannelCount";
213
- readonly RequiredQuantizationBits: "ST2067-21:2023:6.5/Required-QuantizationBits";
214
294
  readonly AlphaTransparency: "ST2067-21:2023:6.2.1/AlphaTransparency";
215
295
  readonly CodingEquationsMissing: "ST2067-21:2023:6.2.1/CodingEquationsMissing";
216
296
  readonly ColorPrimariesMissing: "ST2067-21:2023:6.2.1/ColorPrimariesMissing";
@@ -248,27 +328,83 @@ export declare const codes: {
248
328
  readonly BlackRefLevel: "ST2067-21:2023:6.4.3/BlackRefLevel";
249
329
  readonly ColorRange: "ST2067-21:2023:6.4.3/ColorRange";
250
330
  readonly WhiteRefLevel: "ST2067-21:2023:6.4.3/WhiteRefLevel";
251
- readonly AudioSampleRate: "ST2067-21:2023:6.5/AudioSampleRate";
252
- readonly QuantizationBits: "ST2067-21:2023:6.5/QuantizationBits";
253
331
  readonly CodingStyle: "ST2067-21:2023:6.5.2/CodingStyle";
254
332
  readonly J2CLayout: "ST2067-21:2023:6.5.2/J2CLayout";
255
333
  readonly J2KExtendedCapabilities: "ST2067-21:2023:6.5.2/J2KExtendedCapabilities";
256
334
  readonly JPEG2000SubDescriptor: "ST2067-21:2023:6.5.2/JPEG2000SubDescriptor";
257
- readonly J2KHTNotAllowed: "ST2067-21:2023:6.2.5/J2K-HT-Not-Allowed";
258
335
  readonly J2K4KResolution: "ST2067-21:2023:6.2.5/J2K-4K-Resolution";
259
336
  readonly J2K2KResolution: "ST2067-21:2023:6.2.5/J2K-2K-Resolution";
260
337
  readonly J2KBCPResolution: "ST2067-21:2023:6.2.5/J2K-BCP-Resolution";
338
+ readonly J2KProfileNotAllowed: "ST2067-21:2023:6.2.5/J2K-Profile-Not-Allowed";
261
339
  readonly ApplicationIdentification: "ST2067-21:2023:7.1/ApplicationIdentification";
262
- readonly ContentMaturityRatingAgency: "ST2067-21:2023:7.1/ContentMaturityRating-Agency";
263
- readonly ContentMaturityRatingAgencyURI: "ST2067-21:2023:7.1/ContentMaturityRating-Agency-URI";
264
340
  readonly HomogeneousImageEssence: "ST2067-21:2023:7.2/HomogeneousImageEssence";
265
341
  readonly AppIdMismatch: "ST2067-21:2023:7.1/AppIdMismatch";
266
342
  readonly SegmentDurationMultiple: "ST2067-21:2023:7.4/SegmentDurationMultiple";
267
343
  readonly MaxCLLMaxFALL: "ST2067-21:2023:7.5/MaxCLLMaxFALL";
268
344
  };
269
- readonly ST2067_21_2025: {
270
- readonly FNTimedText: "ST2067-21:2025:5.6/FNTimedText";
271
- readonly HICTimedText: "ST2067-21:2025:5.6/HICTimedText";
345
+ readonly ST2067_21_2026: {
346
+ readonly FrameRate: "ST2067-21:2026:6.2.1/FrameRate";
347
+ readonly Resolution: "ST2067-21:2026:6.2.1/Resolution";
348
+ readonly ColorSystem: "ST2067-21:2026:7.2/ColorSystem";
349
+ readonly RequiredStoredWidth: "ST2067-21:2026:7.2.1.1/Required-StoredWidth";
350
+ readonly RequiredStoredHeight: "ST2067-21:2026:7.2.1.1/Required-StoredHeight";
351
+ readonly RequiredSampleRate: "ST2067-21:2026:7.2.1.1/Required-SampleRate";
352
+ readonly RequiredFrameLayout: "ST2067-21:2026:7.2.1.1/Required-FrameLayout";
353
+ readonly RequiredColorPrimaries: "ST2067-21:2026:7.2.1.1/Required-ColorPrimaries";
354
+ readonly RequiredTransferCharacteristic: "ST2067-21:2026:7.2.1.1/Required-TransferCharacteristic";
355
+ readonly RequiredPictureCompression: "ST2067-21:2026:7.2.1.1/Required-PictureCompression";
356
+ readonly RequiredComponentDepth: "ST2067-21:2026:7.4.1/Required-ComponentDepth";
357
+ readonly CodingEquationsMissing: "ST2067-21:2026:7.2.1.1/CodingEquationsMissing";
358
+ readonly ColorPrimariesMissing: "ST2067-21:2026:7.2.1.1/ColorPrimariesMissing";
359
+ readonly FieldDominance: "ST2067-21:2026:7.2.1.1/FieldDominance";
360
+ readonly FrameLayout: "ST2067-21:2026:7.2.1.4/FrameLayout";
361
+ readonly FrameLayoutInterlaced: "ST2067-21:2026:6.2.1/FrameLayoutInterlaced";
362
+ readonly ImageAlignmentOffset: "ST2067-21:2026:7.2.1.1/ImageAlignmentOffset";
363
+ readonly ImageEndOffset: "ST2067-21:2026:7.2.1.1/ImageEndOffset";
364
+ readonly ImageStartOffset: "ST2067-21:2026:7.2.1.1/ImageStartOffset";
365
+ readonly SampledHeight: "ST2067-21:2026:7.2.1.1/SampledHeight";
366
+ readonly SampledWidth: "ST2067-21:2026:7.2.1.1/SampledWidth";
367
+ readonly SampledXOffset: "ST2067-21:2026:7.2.1.1/SampledXOffset";
368
+ readonly SampledYOffset: "ST2067-21:2026:7.2.1.1/SampledYOffset";
369
+ readonly StoredF2Offset: "ST2067-21:2026:7.2.1.1/StoredF2Offset";
370
+ readonly TransferCharacteristicMissing: "ST2067-21:2026:7.2.1.1/TransferCharacteristicMissing";
371
+ readonly TransferCharacteristicUnknown: "ST2067-21:2026:7.2.2/TransferCharacteristicUnknown";
372
+ readonly CodingEquationsUnknown: "ST2067-21:2026:7.2.3/CodingEquationsUnknown";
373
+ readonly ColorPrimariesUnknown: "ST2067-21:2026:7.2.4/ColorPrimariesUnknown";
374
+ readonly J2KRequired: "ST2067-21:2026:7.2.5/J2KRequired";
375
+ readonly AlphaMaxRef: "ST2067-21:2026:7.3.1/AlphaMaxRef";
376
+ readonly AlphaMinRef: "ST2067-21:2026:7.3.1/AlphaMinRef";
377
+ readonly ComponentMaxRef: "ST2067-21:2026:7.3.1/ComponentMaxRef";
378
+ readonly ComponentMinRef: "ST2067-21:2026:7.3.1/ComponentMinRef";
379
+ readonly Palette: "ST2067-21:2026:7.3.1/Palette";
380
+ readonly PaletteLayout: "ST2067-21:2026:7.3.1/PaletteLayout";
381
+ readonly ScanningDirection: "ST2067-21:2026:7.3.1/ScanningDirection";
382
+ readonly ComponentRefValues: "ST2067-21:2026:7.3.2/ComponentRefValues";
383
+ readonly AlphaSampleDepth: "ST2067-21:2026:7.4.1/AlphaSampleDepth";
384
+ readonly ColorSiting: "ST2067-21:2026:7.4.1/ColorSiting";
385
+ readonly ComponentDepth: "ST2067-21:2026:7.4.1/ComponentDepth";
386
+ readonly HorizontalSubsampling: "ST2067-21:2026:7.4.2/HorizontalSubsampling";
387
+ readonly PaddingBits: "ST2067-21:2026:7.4.1/PaddingBits";
388
+ readonly ReversedByteOrder: "ST2067-21:2026:7.4.1/ReversedByteOrder";
389
+ readonly VerticalSubsampling: "ST2067-21:2026:7.4.1/VerticalSubsampling";
390
+ readonly BlackRefLevel: "ST2067-21:2026:7.4.3/BlackRefLevel";
391
+ readonly ColorRange: "ST2067-21:2026:7.4.3/ColorRange";
392
+ readonly WhiteRefLevel: "ST2067-21:2026:7.4.3/WhiteRefLevel";
393
+ readonly CodingStyle: "ST2067-21:2026:7.5.1/CodingStyle";
394
+ readonly J2CLayout: "ST2067-21:2026:7.5.2/J2CLayout";
395
+ readonly J2KExtendedCapabilities: "ST2067-21:2026:7.5.1/J2KExtendedCapabilities";
396
+ readonly JPEG2000SubDescriptor: "ST2067-21:2026:7.5.1/JPEG2000SubDescriptor";
397
+ readonly HTIRVParameterBMax: "ST2067-21:2026:H/HT-IRV-ParameterB-Max";
398
+ readonly HTIRVParameterBRecommended: "ST2067-21:2026:H/HT-IRV-ParameterB-Recommended";
399
+ readonly J2K4KResolution: "ST2067-21:2026:7.2.5/J2K-4K-Resolution";
400
+ readonly J2K2KResolution: "ST2067-21:2026:7.2.5/J2K-2K-Resolution";
401
+ readonly J2KBCPResolution: "ST2067-21:2026:7.2.5/J2K-BCP-Resolution";
402
+ readonly J2K8KResolution: "ST2067-21:2026:7.2.5/J2K-8K-Resolution";
403
+ readonly ApplicationIdentification: "ST2067-21:2026:8.1/ApplicationIdentification";
404
+ readonly AppIdMismatch: "ST2067-21:2026:8.1/AppIdMismatch";
405
+ readonly HomogeneousImageEssence: "ST2067-21:2026:8.2/HomogeneousImageEssence";
406
+ readonly SegmentDurationMultiple: "ST2067-21:2026:8.3.2/SegmentDurationMultiple";
407
+ readonly MaxCLLMaxFALL: "ST2067-21:2026:8.3.3/MaxCLLMaxFALL";
272
408
  };
273
409
  readonly ST2067_201_2019: {
274
410
  readonly CodecForbidden: "ST2067-201:2019:5.9/CodecForbidden";
@@ -307,7 +443,6 @@ export declare const codes: {
307
443
  readonly AudioSamplingRateInvalid: "ST2067-201:2021:5.9/AudioSamplingRateInvalid";
308
444
  readonly SoundCompressionMissing: "ST2067-201:2021:5.9/SoundCompressionMissing";
309
445
  readonly SoundCompressionInvalid: "ST2067-201:2021:5.9/SoundCompressionInvalid";
310
- readonly ChannelCountNotZero: "ST2067-201:2021:5.9/ChannelCountNotZero";
311
446
  readonly SubDescriptorMissing: "ST2067-201:2021:5.10.2/SubDescriptorMissing";
312
447
  readonly MCATagSymbolMissing: "ST2067-201:2021:5.10.4/MCATagSymbolMissing";
313
448
  readonly MCATagSymbolInvalid: "ST2067-201:2021:5.10.4/MCATagSymbolInvalid";
@@ -342,5 +477,6 @@ export declare const codes: {
342
477
  readonly ReadDirError: "IMFERNO:Package/ReadDirError";
343
478
  readonly DirEntryError: "IMFERNO:Package/DirEntryError";
344
479
  readonly PathTraversal: "IMFERNO:Package/PathTraversal";
480
+ readonly ApplicationProfileNotValidated: "IMFERNO:Package/ApplicationProfileNotValidated";
345
481
  }
346
482
  };
package/codes.js CHANGED
@@ -3,6 +3,11 @@ const codes = {
3
3
  ST429_9_2014: {
4
4
  VolindexMissing: "ST429-9:2014:7/VolindexMissing",
5
5
  MalformedXml: "ST429-9:2014:7/MalformedXml",
6
+ PathNotRelative: "ST429-9:2014:A.2/PathNotRelative",
7
+ PathCharacters: "ST429-9:2014:A.2/PathCharacters",
8
+ PathTooLong: "ST429-9:2014:A.2/PathTooLong",
9
+ PathTooManySegments: "ST429-9:2014:A.2/PathTooManySegments",
10
+ PathDuplicate: "ST429-9:2014:A.2/PathDuplicate",
6
11
  },
7
12
  ST377_1_2011: {
8
13
  NotMxf: "ST377-1:2011:5/NotMxf",
@@ -12,6 +17,7 @@ const codes = {
12
17
  NonHeaderFirstPartition: "ST377-1:2011:6.4/NonHeaderFirstPartition",
13
18
  HeaderPartitionOpen: "ST377-1:2011:8.3.3/HeaderPartitionOpen",
14
19
  MissingHeaderMetadata: "ST377-1:2011:8.3.3/MissingHeaderMetadata",
20
+ StructuralComponentDurationMissing: "ST377-1:2011:B.8/StructuralComponentDurationMissing",
15
21
  },
16
22
  ST2067_2_2020: {
17
23
  AssetMap: "ST2067-2:2020:7/AssetMap",
@@ -22,6 +28,7 @@ const codes = {
22
28
  FileNotFound: "ST2067-2:2020:8.3/FileNotFound",
23
29
  ChecksumMismatch: "ST2067-2:2020:8.3/ChecksumMismatch",
24
30
  UnresolvedUuid: "ST2067-2:2020:7/UnresolvedUuid",
31
+ TrackFileNotInPackage: "ST2067-2:2020:7.1/TrackFileNotInPackage",
25
32
  DuplicateUuid: "ST2067-2:2020:7/DuplicateUuid",
26
33
  IoError: "IMF:General/IoError",
27
34
  EssenceDescriptorList: "ST2067-2:2020:6.4.2/EssenceDescriptorList",
@@ -191,15 +198,90 @@ const codes = {
191
198
  CplNotFound: "ST2067-9:2018:7.3.1.1/CplNotFound",
192
199
  DuplicateCplId: "ST2067-9:2018:7.3.1.1/DuplicateCplId",
193
200
  },
201
+ ST2067_21_2014: {
202
+ ColorSystem: "ST2067-21:2014:6.1/ColorSystem",
203
+ BlackRefLevel: "ST2067-21:2014:6.1.4/BlackRefLevel",
204
+ WhiteRefLevel: "ST2067-21:2014:6.1.4/WhiteRefLevel",
205
+ ColorRange: "ST2067-21:2014:6.1.4/ColorRange",
206
+ ApplicationIdentification: "ST2067-21:2014:7/ApplicationIdentification",
207
+ AppIdMismatch: "ST2067-21:2014:7/AppIdMismatch",
208
+ },
209
+ ST2067_21_2016: {
210
+ ColorSystem: "ST2067-21:2016:6.1/ColorSystem",
211
+ ComponentRefValues: "ST2067-21:2016:6.2/ComponentRefValues",
212
+ BlackRefLevel: "ST2067-21:2016:6.3/BlackRefLevel",
213
+ WhiteRefLevel: "ST2067-21:2016:6.3/WhiteRefLevel",
214
+ ColorRange: "ST2067-21:2016:6.3/ColorRange",
215
+ ApplicationIdentification: "ST2067-21:2016:7.1/ApplicationIdentification",
216
+ AppIdMismatch: "ST2067-21:2016:7.1/AppIdMismatch",
217
+ MaxCLLMaxFALL: "ST2067-21:2016:7.2/MaxCLLMaxFALL",
218
+ },
194
219
  ST2067_21_2020: {
220
+ FrameRate: "ST2067-21:2020:5.2/FrameRate",
221
+ Resolution: "ST2067-21:2020:5.2/Resolution",
222
+ ColorSystem: "ST2067-21:2020:6.2/ColorSystem",
223
+ RequiredStoredWidth: "ST2067-21:2020:6.2/Required-StoredWidth",
224
+ RequiredStoredHeight: "ST2067-21:2020:6.2/Required-StoredHeight",
225
+ RequiredSampleRate: "ST2067-21:2020:6.2/Required-SampleRate",
226
+ RequiredFrameLayout: "ST2067-21:2020:6.2/Required-FrameLayout",
227
+ RequiredColorPrimaries: "ST2067-21:2020:6.2/Required-ColorPrimaries",
228
+ RequiredTransferCharacteristic: "ST2067-21:2020:6.2/Required-TransferCharacteristic",
229
+ RequiredPictureCompression: "ST2067-21:2020:6.2/Required-PictureCompression",
230
+ RequiredComponentDepth: "ST2067-21:2020:6.2/Required-ComponentDepth",
231
+ AlphaTransparency: "ST2067-21:2020:6.2.1/AlphaTransparency",
232
+ CodingEquationsMissing: "ST2067-21:2020:6.2.1/CodingEquationsMissing",
233
+ ColorPrimariesMissing: "ST2067-21:2020:6.2.1/ColorPrimariesMissing",
234
+ FieldDominance: "ST2067-21:2020:6.2.1/FieldDominance",
235
+ FrameLayout: "ST2067-21:2020:6.2.1/FrameLayout",
236
+ FrameLayoutInterlaced: "ST2067-21:2020:6.2.1/FrameLayoutInterlaced",
237
+ ImageAlignmentOffset: "ST2067-21:2020:6.2.1/ImageAlignmentOffset",
238
+ ImageEndOffset: "ST2067-21:2020:6.2.1/ImageEndOffset",
239
+ ImageStartOffset: "ST2067-21:2020:6.2.1/ImageStartOffset",
240
+ SampledHeight: "ST2067-21:2020:6.2.1/SampledHeight",
241
+ SampledWidth: "ST2067-21:2020:6.2.1/SampledWidth",
242
+ SampledXOffset: "ST2067-21:2020:6.2.1/SampledXOffset",
243
+ SampledYOffset: "ST2067-21:2020:6.2.1/SampledYOffset",
244
+ StoredF2Offset: "ST2067-21:2020:6.2.1/StoredF2Offset",
245
+ TransferCharacteristicMissing: "ST2067-21:2020:6.2.1/TransferCharacteristicMissing",
246
+ TransferCharacteristicUnknown: "ST2067-21:2020:6.2.2/TransferCharacteristicUnknown",
247
+ CodingEquationsUnknown: "ST2067-21:2020:6.2.3/CodingEquationsUnknown",
248
+ ColorPrimariesUnknown: "ST2067-21:2020:6.2.4/ColorPrimariesUnknown",
249
+ J2KRequired: "ST2067-21:2020:6.2.5/J2KRequired",
250
+ AlphaMaxRef: "ST2067-21:2020:6.3/AlphaMaxRef",
251
+ AlphaMinRef: "ST2067-21:2020:6.3/AlphaMinRef",
252
+ ComponentMaxRef: "ST2067-21:2020:6.3/ComponentMaxRef",
253
+ ComponentMinRef: "ST2067-21:2020:6.3/ComponentMinRef",
254
+ Palette: "ST2067-21:2020:6.3/Palette",
255
+ PaletteLayout: "ST2067-21:2020:6.3/PaletteLayout",
256
+ ScanningDirection: "ST2067-21:2020:6.3/ScanningDirection",
257
+ ComponentRefValues: "ST2067-21:2020:6.3.2/ComponentRefValues",
258
+ AlphaSampleDepth: "ST2067-21:2020:6.4/AlphaSampleDepth",
259
+ ColorSiting: "ST2067-21:2020:6.4/ColorSiting",
260
+ ComponentDepth: "ST2067-21:2020:6.4/ComponentDepth",
261
+ HorizontalSubsampling: "ST2067-21:2020:6.4/HorizontalSubsampling",
262
+ PaddingBits: "ST2067-21:2020:6.4/PaddingBits",
263
+ ReversedByteOrder: "ST2067-21:2020:6.4/ReversedByteOrder",
264
+ VerticalSubsampling: "ST2067-21:2020:6.4/VerticalSubsampling",
265
+ BlackRefLevel: "ST2067-21:2020:6.4.3/BlackRefLevel",
266
+ ColorRange: "ST2067-21:2020:6.4.3/ColorRange",
267
+ WhiteRefLevel: "ST2067-21:2020:6.4.3/WhiteRefLevel",
268
+ CodingStyle: "ST2067-21:2020:6.5.2/CodingStyle",
269
+ J2CLayout: "ST2067-21:2020:6.5.2/J2CLayout",
270
+ JPEG2000SubDescriptor: "ST2067-21:2020:6.5.2/JPEG2000SubDescriptor",
271
+ J2KHTNotAllowed: "ST2067-21:2020:6.2.5/J2K-HT-Not-Allowed",
272
+ J2K4KResolution: "ST2067-21:2020:6.2.5/J2K-4K-Resolution",
273
+ J2K2KResolution: "ST2067-21:2020:6.2.5/J2K-2K-Resolution",
274
+ J2KBCPResolution: "ST2067-21:2020:6.2.5/J2K-BCP-Resolution",
275
+ J2KProfileNotAllowed: "ST2067-21:2020:6.2.5/J2K-Profile-Not-Allowed",
276
+ ApplicationIdentification: "ST2067-21:2020:7.1/ApplicationIdentification",
277
+ HomogeneousImageEssence: "ST2067-21:2020:7.2/HomogeneousImageEssence",
195
278
  AppIdMismatch: "ST2067-21:2020:7.1/AppIdMismatch",
279
+ SegmentDurationMultiple: "ST2067-21:2020:7.4/SegmentDurationMultiple",
280
+ MaxCLLMaxFALL: "ST2067-21:2020:7.5/MaxCLLMaxFALL",
196
281
  },
197
282
  ST2067_21_2023: {
198
283
  FrameRate: "ST2067-21:2023:5.2/FrameRate",
199
284
  Resolution: "ST2067-21:2023:5.2/Resolution",
200
- EmptyLanguageTag: "ST2067-21:2023:5.3/EmptyLanguageTag",
201
- MalformedLanguageTag: "ST2067-21:2023:5.3/MalformedLanguageTag",
202
- RegionCode: "ST2067-21:2023:5.3/RegionCode",
203
285
  ColorSystem: "ST2067-21:2023:6.2/ColorSystem",
204
286
  RequiredStoredWidth: "ST2067-21:2023:6.2/Required-StoredWidth",
205
287
  RequiredStoredHeight: "ST2067-21:2023:6.2/Required-StoredHeight",
@@ -209,8 +291,6 @@ const codes = {
209
291
  RequiredTransferCharacteristic: "ST2067-21:2023:6.2/Required-TransferCharacteristic",
210
292
  RequiredPictureCompression: "ST2067-21:2023:6.2/Required-PictureCompression",
211
293
  RequiredComponentDepth: "ST2067-21:2023:6.2/Required-ComponentDepth",
212
- RequiredChannelCount: "ST2067-21:2023:6.5/Required-ChannelCount",
213
- RequiredQuantizationBits: "ST2067-21:2023:6.5/Required-QuantizationBits",
214
294
  AlphaTransparency: "ST2067-21:2023:6.2.1/AlphaTransparency",
215
295
  CodingEquationsMissing: "ST2067-21:2023:6.2.1/CodingEquationsMissing",
216
296
  ColorPrimariesMissing: "ST2067-21:2023:6.2.1/ColorPrimariesMissing",
@@ -248,27 +328,83 @@ const codes = {
248
328
  BlackRefLevel: "ST2067-21:2023:6.4.3/BlackRefLevel",
249
329
  ColorRange: "ST2067-21:2023:6.4.3/ColorRange",
250
330
  WhiteRefLevel: "ST2067-21:2023:6.4.3/WhiteRefLevel",
251
- AudioSampleRate: "ST2067-21:2023:6.5/AudioSampleRate",
252
- QuantizationBits: "ST2067-21:2023:6.5/QuantizationBits",
253
331
  CodingStyle: "ST2067-21:2023:6.5.2/CodingStyle",
254
332
  J2CLayout: "ST2067-21:2023:6.5.2/J2CLayout",
255
333
  J2KExtendedCapabilities: "ST2067-21:2023:6.5.2/J2KExtendedCapabilities",
256
334
  JPEG2000SubDescriptor: "ST2067-21:2023:6.5.2/JPEG2000SubDescriptor",
257
- J2KHTNotAllowed: "ST2067-21:2023:6.2.5/J2K-HT-Not-Allowed",
258
335
  J2K4KResolution: "ST2067-21:2023:6.2.5/J2K-4K-Resolution",
259
336
  J2K2KResolution: "ST2067-21:2023:6.2.5/J2K-2K-Resolution",
260
337
  J2KBCPResolution: "ST2067-21:2023:6.2.5/J2K-BCP-Resolution",
338
+ J2KProfileNotAllowed: "ST2067-21:2023:6.2.5/J2K-Profile-Not-Allowed",
261
339
  ApplicationIdentification: "ST2067-21:2023:7.1/ApplicationIdentification",
262
- ContentMaturityRatingAgency: "ST2067-21:2023:7.1/ContentMaturityRating-Agency",
263
- ContentMaturityRatingAgencyURI: "ST2067-21:2023:7.1/ContentMaturityRating-Agency-URI",
264
340
  HomogeneousImageEssence: "ST2067-21:2023:7.2/HomogeneousImageEssence",
265
341
  AppIdMismatch: "ST2067-21:2023:7.1/AppIdMismatch",
266
342
  SegmentDurationMultiple: "ST2067-21:2023:7.4/SegmentDurationMultiple",
267
343
  MaxCLLMaxFALL: "ST2067-21:2023:7.5/MaxCLLMaxFALL",
268
344
  },
269
- ST2067_21_2025: {
270
- FNTimedText: "ST2067-21:2025:5.6/FNTimedText",
271
- HICTimedText: "ST2067-21:2025:5.6/HICTimedText",
345
+ ST2067_21_2026: {
346
+ FrameRate: "ST2067-21:2026:6.2.1/FrameRate",
347
+ Resolution: "ST2067-21:2026:6.2.1/Resolution",
348
+ ColorSystem: "ST2067-21:2026:7.2/ColorSystem",
349
+ RequiredStoredWidth: "ST2067-21:2026:7.2.1.1/Required-StoredWidth",
350
+ RequiredStoredHeight: "ST2067-21:2026:7.2.1.1/Required-StoredHeight",
351
+ RequiredSampleRate: "ST2067-21:2026:7.2.1.1/Required-SampleRate",
352
+ RequiredFrameLayout: "ST2067-21:2026:7.2.1.1/Required-FrameLayout",
353
+ RequiredColorPrimaries: "ST2067-21:2026:7.2.1.1/Required-ColorPrimaries",
354
+ RequiredTransferCharacteristic: "ST2067-21:2026:7.2.1.1/Required-TransferCharacteristic",
355
+ RequiredPictureCompression: "ST2067-21:2026:7.2.1.1/Required-PictureCompression",
356
+ RequiredComponentDepth: "ST2067-21:2026:7.4.1/Required-ComponentDepth",
357
+ CodingEquationsMissing: "ST2067-21:2026:7.2.1.1/CodingEquationsMissing",
358
+ ColorPrimariesMissing: "ST2067-21:2026:7.2.1.1/ColorPrimariesMissing",
359
+ FieldDominance: "ST2067-21:2026:7.2.1.1/FieldDominance",
360
+ FrameLayout: "ST2067-21:2026:7.2.1.4/FrameLayout",
361
+ FrameLayoutInterlaced: "ST2067-21:2026:6.2.1/FrameLayoutInterlaced",
362
+ ImageAlignmentOffset: "ST2067-21:2026:7.2.1.1/ImageAlignmentOffset",
363
+ ImageEndOffset: "ST2067-21:2026:7.2.1.1/ImageEndOffset",
364
+ ImageStartOffset: "ST2067-21:2026:7.2.1.1/ImageStartOffset",
365
+ SampledHeight: "ST2067-21:2026:7.2.1.1/SampledHeight",
366
+ SampledWidth: "ST2067-21:2026:7.2.1.1/SampledWidth",
367
+ SampledXOffset: "ST2067-21:2026:7.2.1.1/SampledXOffset",
368
+ SampledYOffset: "ST2067-21:2026:7.2.1.1/SampledYOffset",
369
+ StoredF2Offset: "ST2067-21:2026:7.2.1.1/StoredF2Offset",
370
+ TransferCharacteristicMissing: "ST2067-21:2026:7.2.1.1/TransferCharacteristicMissing",
371
+ TransferCharacteristicUnknown: "ST2067-21:2026:7.2.2/TransferCharacteristicUnknown",
372
+ CodingEquationsUnknown: "ST2067-21:2026:7.2.3/CodingEquationsUnknown",
373
+ ColorPrimariesUnknown: "ST2067-21:2026:7.2.4/ColorPrimariesUnknown",
374
+ J2KRequired: "ST2067-21:2026:7.2.5/J2KRequired",
375
+ AlphaMaxRef: "ST2067-21:2026:7.3.1/AlphaMaxRef",
376
+ AlphaMinRef: "ST2067-21:2026:7.3.1/AlphaMinRef",
377
+ ComponentMaxRef: "ST2067-21:2026:7.3.1/ComponentMaxRef",
378
+ ComponentMinRef: "ST2067-21:2026:7.3.1/ComponentMinRef",
379
+ Palette: "ST2067-21:2026:7.3.1/Palette",
380
+ PaletteLayout: "ST2067-21:2026:7.3.1/PaletteLayout",
381
+ ScanningDirection: "ST2067-21:2026:7.3.1/ScanningDirection",
382
+ ComponentRefValues: "ST2067-21:2026:7.3.2/ComponentRefValues",
383
+ AlphaSampleDepth: "ST2067-21:2026:7.4.1/AlphaSampleDepth",
384
+ ColorSiting: "ST2067-21:2026:7.4.1/ColorSiting",
385
+ ComponentDepth: "ST2067-21:2026:7.4.1/ComponentDepth",
386
+ HorizontalSubsampling: "ST2067-21:2026:7.4.2/HorizontalSubsampling",
387
+ PaddingBits: "ST2067-21:2026:7.4.1/PaddingBits",
388
+ ReversedByteOrder: "ST2067-21:2026:7.4.1/ReversedByteOrder",
389
+ VerticalSubsampling: "ST2067-21:2026:7.4.1/VerticalSubsampling",
390
+ BlackRefLevel: "ST2067-21:2026:7.4.3/BlackRefLevel",
391
+ ColorRange: "ST2067-21:2026:7.4.3/ColorRange",
392
+ WhiteRefLevel: "ST2067-21:2026:7.4.3/WhiteRefLevel",
393
+ CodingStyle: "ST2067-21:2026:7.5.1/CodingStyle",
394
+ J2CLayout: "ST2067-21:2026:7.5.2/J2CLayout",
395
+ J2KExtendedCapabilities: "ST2067-21:2026:7.5.1/J2KExtendedCapabilities",
396
+ JPEG2000SubDescriptor: "ST2067-21:2026:7.5.1/JPEG2000SubDescriptor",
397
+ HTIRVParameterBMax: "ST2067-21:2026:H/HT-IRV-ParameterB-Max",
398
+ HTIRVParameterBRecommended: "ST2067-21:2026:H/HT-IRV-ParameterB-Recommended",
399
+ J2K4KResolution: "ST2067-21:2026:7.2.5/J2K-4K-Resolution",
400
+ J2K2KResolution: "ST2067-21:2026:7.2.5/J2K-2K-Resolution",
401
+ J2KBCPResolution: "ST2067-21:2026:7.2.5/J2K-BCP-Resolution",
402
+ J2K8KResolution: "ST2067-21:2026:7.2.5/J2K-8K-Resolution",
403
+ ApplicationIdentification: "ST2067-21:2026:8.1/ApplicationIdentification",
404
+ AppIdMismatch: "ST2067-21:2026:8.1/AppIdMismatch",
405
+ HomogeneousImageEssence: "ST2067-21:2026:8.2/HomogeneousImageEssence",
406
+ SegmentDurationMultiple: "ST2067-21:2026:8.3.2/SegmentDurationMultiple",
407
+ MaxCLLMaxFALL: "ST2067-21:2026:8.3.3/MaxCLLMaxFALL",
272
408
  },
273
409
  ST2067_201_2019: {
274
410
  CodecForbidden: "ST2067-201:2019:5.9/CodecForbidden",
@@ -307,7 +443,6 @@ const codes = {
307
443
  AudioSamplingRateInvalid: "ST2067-201:2021:5.9/AudioSamplingRateInvalid",
308
444
  SoundCompressionMissing: "ST2067-201:2021:5.9/SoundCompressionMissing",
309
445
  SoundCompressionInvalid: "ST2067-201:2021:5.9/SoundCompressionInvalid",
310
- ChannelCountNotZero: "ST2067-201:2021:5.9/ChannelCountNotZero",
311
446
  SubDescriptorMissing: "ST2067-201:2021:5.10.2/SubDescriptorMissing",
312
447
  MCATagSymbolMissing: "ST2067-201:2021:5.10.4/MCATagSymbolMissing",
313
448
  MCATagSymbolInvalid: "ST2067-201:2021:5.10.4/MCATagSymbolInvalid",
@@ -342,6 +477,7 @@ const codes = {
342
477
  ReadDirError: "IMFERNO:Package/ReadDirError",
343
478
  DirEntryError: "IMFERNO:Package/DirEntryError",
344
479
  PathTraversal: "IMFERNO:Package/PathTraversal",
480
+ ApplicationProfileNotValidated: "IMFERNO:Package/ApplicationProfileNotValidated",
345
481
  }
346
482
  };
347
483
  module.exports = { codes };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imferno/node",
3
- "version": "3.0.2-beta.33b16ba",
3
+ "version": "3.0.2-beta.51b7476",
4
4
  "description": "Native Node.js bindings for the imferno SMPTE ST 2067 IMF validator",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",
@@ -39,12 +39,12 @@
39
39
  "LICENSE"
40
40
  ],
41
41
  "optionalDependencies": {
42
- "@imferno/node-darwin-arm64": "3.0.2-beta.33b16ba",
43
- "@imferno/node-darwin-x64": "3.0.2-beta.33b16ba",
44
- "@imferno/node-linux-x64-gnu": "3.0.2-beta.33b16ba",
45
- "@imferno/node-linux-arm64-gnu": "3.0.2-beta.33b16ba",
46
- "@imferno/node-win32-x64-msvc": "3.0.2-beta.33b16ba",
47
- "@imferno/node-win32-arm64-msvc": "3.0.2-beta.33b16ba"
42
+ "@imferno/node-darwin-arm64": "3.0.2-beta.51b7476",
43
+ "@imferno/node-darwin-x64": "3.0.2-beta.51b7476",
44
+ "@imferno/node-linux-x64-gnu": "3.0.2-beta.51b7476",
45
+ "@imferno/node-linux-arm64-gnu": "3.0.2-beta.51b7476",
46
+ "@imferno/node-win32-x64-msvc": "3.0.2-beta.51b7476",
47
+ "@imferno/node-win32-arm64-msvc": "3.0.2-beta.51b7476"
48
48
  },
49
49
  "publishConfig": {
50
50
  "access": "public"