@imferno/node 3.0.2-beta.b011ba1 → 3.0.2-beta.bf185b8

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/codes.d.ts +194 -0
  2. package/codes.js +194 -0
  3. package/package.json +7 -7
  4. package/types.d.ts +114 -11
package/codes.d.ts CHANGED
@@ -11,6 +11,13 @@ export declare const codes: {
11
11
  readonly FileDescriptorEssenceContainerMissing: "ST377-1/FileDescriptorEssenceContainerMissing";
12
12
  readonly PrefaceEssenceContainersIncomplete: "ST377-1/PrefaceEssenceContainersIncomplete";
13
13
  readonly PartitionEssenceContainersIncomplete: "ST377-1/PartitionEssenceContainersIncomplete";
14
+ readonly OpenPartitionEssenceContainersIncomplete: "ST377-1/OpenPartitionEssenceContainersIncomplete";
15
+ readonly FooterPartitionMissing: "ST377-1/FooterPartitionMissing";
16
+ readonly RunInPresent: "ST377-1/RunInPresent";
17
+ readonly OperationalPatternMarkerBit: "ST377-1/OperationalPatternMarkerBit";
18
+ readonly SequenceDurationMismatch: "ST377-1/SequenceDurationMismatch";
19
+ readonly StaticTrackComponentDuration: "ST377-1/StaticTrackComponentDuration";
20
+ readonly StaticTrackDmComponentDuration: "ST377-1/StaticTrackDmComponentDuration";
14
21
  };
15
22
  readonly ST377_4: {
16
23
  readonly MCALinkIDMissing: "ST377-4/MCALinkIDMissing";
@@ -47,6 +54,9 @@ export declare const codes: {
47
54
  };
48
55
  readonly ST2067_2: {
49
56
  readonly NotImfCompositionPlaylist: "ST2067-2/NotImfCompositionPlaylist";
57
+ readonly ApplicationCplMismatch: "ST2067-2/ApplicationCplMismatch";
58
+ readonly ApplicationIdentificationMissing: "ST2067-2/ApplicationIdentificationMissing";
59
+ readonly ApplicationIdentificationDuplicate: "ST2067-2/ApplicationIdentificationDuplicate";
50
60
  readonly PklMalformedXml: "ST2067-2/PklMalformedXml";
51
61
  readonly NoPackingList: "ST2067-2/NoPackingList";
52
62
  readonly NoCpls: "ST2067-2/NoCpls";
@@ -71,6 +81,7 @@ export declare const codes: {
71
81
  readonly DigitalSignature: "ST2067-2/DigitalSignature";
72
82
  readonly EssenceDescriptorList: "ST2067-2/EssenceDescriptorList";
73
83
  readonly EssenceDescriptorContainerFormatMissing: "ST2067-2/EssenceDescriptorContainerFormatMissing";
84
+ readonly EssenceDescriptorDiffersFromTrackFile: "ST2067-2/EssenceDescriptorDiffersFromTrackFile";
74
85
  readonly CplIdAssetMapMismatch: "ST2067-2/CplIdAssetMapMismatch";
75
86
  readonly OperationalPatternNotOP1A: "ST2067-2/OperationalPatternNotOP1A";
76
87
  readonly SoundDescriptorNotWAVEPCM: "ST2067-2/SoundDescriptorNotWAVEPCM";
@@ -99,9 +110,23 @@ export declare const codes: {
99
110
  readonly TimedTextNamespaceNotIMSC: "ST2067-2/TimedTextNamespaceNotIMSC";
100
111
  readonly TimedTextResourceMIMETypeUnsupported: "ST2067-2/TimedTextResourceMIMETypeUnsupported";
101
112
  readonly TimedTextMappingKindNot0x13: "ST2067-2/TimedTextMappingKindNot0x13";
113
+ readonly TimedTextDataEssenceCodingPresent: "ST2067-2/TimedTextDataEssenceCodingPresent";
114
+ readonly TopLevelFilePackageOriginNotZero: "ST2067-2/TopLevelFilePackageOriginNotZero";
115
+ readonly TopLevelFilePackageFiller: "ST2067-2/TopLevelFilePackageFiller";
102
116
  readonly MainImageVirtualTrackCount: "ST2067-2/MainImageVirtualTrackCount";
103
117
  readonly AudioVirtualTrackMissing: "ST2067-2/AudioVirtualTrackMissing";
104
118
  readonly TrackFileMediaType: "ST2067-2/TrackFileMediaType";
119
+ readonly CompositionEditRateMismatch: "ST2067-2/CompositionEditRateMismatch";
120
+ readonly MainImageEditRateMismatch: "ST2067-2/MainImageEditRateMismatch";
121
+ readonly AudioEditRateMismatch: "ST2067-2/AudioEditRateMismatch";
122
+ readonly ContentVersionMissing: "ST2067-2/ContentVersionMissing";
123
+ readonly ReferenceImageEditRateMissing: "ST2067-2/ReferenceImageEditRateMissing";
124
+ readonly ReferenceImageEditRateMismatch: "ST2067-2/ReferenceImageEditRateMismatch";
125
+ readonly AssetIdPackageUidMismatch: "ST2067-2/AssetIdPackageUidMismatch";
126
+ readonly TrackFileIdPackageUidMismatch: "ST2067-2/TrackFileIdPackageUidMismatch";
127
+ readonly PackageUidForm: "ST2067-2/PackageUidForm";
128
+ readonly UuidNotVersion4: "ST2067-2/UuidNotVersion4";
129
+ readonly AssetIdNotType5: "ST2067-2/AssetIdNotType5";
105
130
  };
106
131
  readonly ST2067_3: {
107
132
  readonly ContentTitleEmpty: "ST2067-3/ContentTitleEmpty";
@@ -146,6 +171,8 @@ export declare const codes: {
146
171
  };
147
172
  readonly ST2067_5: {
148
173
  readonly OperationalPatternQualifier: "ST2067-5/OperationalPatternQualifier";
174
+ readonly KagSizeNotOne: "ST2067-5/KagSizeNotOne";
175
+ readonly EssenceContainerLabelNotSingle: "ST2067-5/EssenceContainerLabelNotSingle";
149
176
  };
150
177
  readonly ST2067_9: {
151
178
  readonly MalformedXml: "ST2067-9/MalformedXml";
@@ -157,6 +184,57 @@ export declare const codes: {
157
184
  readonly CplNotFound: "ST2067-9/CplNotFound";
158
185
  readonly DuplicateCplId: "ST2067-9/DuplicateCplId";
159
186
  };
187
+ readonly ST2067_20: {
188
+ readonly ApplicationIdentification: "ST2067-20/ApplicationIdentification";
189
+ readonly AppIdMismatch: "ST2067-20/AppIdMismatch";
190
+ readonly ImageCharacteristics: "ST2067-20/ImageCharacteristics";
191
+ readonly TransferCharacteristic: "ST2067-20/TransferCharacteristic";
192
+ readonly CodingEquations: "ST2067-20/CodingEquations";
193
+ readonly ColorPrimaries: "ST2067-20/ColorPrimaries";
194
+ readonly J2KRequired: "ST2067-20/J2KRequired";
195
+ readonly PictureEssenceCoding: "ST2067-20/PictureEssenceCoding";
196
+ readonly FrameLayout: "ST2067-20/FrameLayout";
197
+ readonly StoredF2Offset: "ST2067-20/StoredF2Offset";
198
+ readonly SampledWidth: "ST2067-20/SampledWidth";
199
+ readonly SampledHeight: "ST2067-20/SampledHeight";
200
+ readonly SampledXOffset: "ST2067-20/SampledXOffset";
201
+ readonly SampledYOffset: "ST2067-20/SampledYOffset";
202
+ readonly DisplayF2Offset: "ST2067-20/DisplayF2Offset";
203
+ readonly AlphaTransparency: "ST2067-20/AlphaTransparency";
204
+ readonly ImageAlignmentOffset: "ST2067-20/ImageAlignmentOffset";
205
+ readonly ImageStartOffset: "ST2067-20/ImageStartOffset";
206
+ readonly ImageEndOffset: "ST2067-20/ImageEndOffset";
207
+ readonly FieldDominance: "ST2067-20/FieldDominance";
208
+ readonly TransferCharacteristicMissing: "ST2067-20/TransferCharacteristicMissing";
209
+ readonly ColorPrimariesMissing: "ST2067-20/ColorPrimariesMissing";
210
+ readonly CodingEquationsMissing: "ST2067-20/CodingEquationsMissing";
211
+ readonly RequiredPictureCompression: "ST2067-20/RequiredPictureCompression";
212
+ readonly ComponentMaxRef: "ST2067-20/ComponentMaxRef";
213
+ readonly ComponentMinRef: "ST2067-20/ComponentMinRef";
214
+ readonly AlphaMaxRef: "ST2067-20/AlphaMaxRef";
215
+ readonly AlphaMinRef: "ST2067-20/AlphaMinRef";
216
+ readonly ScanningDirection: "ST2067-20/ScanningDirection";
217
+ readonly Palette: "ST2067-20/Palette";
218
+ readonly PaletteLayout: "ST2067-20/PaletteLayout";
219
+ readonly ComponentRefValues: "ST2067-20/ComponentRefValues";
220
+ readonly ComponentDepth: "ST2067-20/ComponentDepth";
221
+ readonly VerticalSubsampling: "ST2067-20/VerticalSubsampling";
222
+ readonly ColorSiting: "ST2067-20/ColorSiting";
223
+ readonly ReversedByteOrder: "ST2067-20/ReversedByteOrder";
224
+ readonly PaddingBits: "ST2067-20/PaddingBits";
225
+ readonly AlphaSampleDepth: "ST2067-20/AlphaSampleDepth";
226
+ readonly RefLevelMissing: "ST2067-20/RefLevelMissing";
227
+ readonly HorizontalSubsampling: "ST2067-20/HorizontalSubsampling";
228
+ readonly BlackRefLevel: "ST2067-20/BlackRefLevel";
229
+ readonly WhiteRefLevel: "ST2067-20/WhiteRefLevel";
230
+ readonly ColorRange: "ST2067-20/ColorRange";
231
+ readonly Jpeg2000SubDescriptor: "ST2067-20/Jpeg2000SubDescriptor";
232
+ readonly CodingStyle: "ST2067-20/CodingStyle";
233
+ readonly J2CLayout: "ST2067-20/J2CLayout";
234
+ readonly J2CLayoutValue: "ST2067-20/J2CLayoutValue";
235
+ readonly HomogeneousImageEssence: "ST2067-20/HomogeneousImageEssence";
236
+ readonly SegmentDurationMultiple: "ST2067-20/SegmentDurationMultiple";
237
+ };
160
238
  readonly ST2067_21: {
161
239
  readonly ColorSystem: "ST2067-21/ColorSystem";
162
240
  readonly BlackRefLevel: "ST2067-21/BlackRefLevel";
@@ -229,6 +307,32 @@ export declare const codes: {
229
307
  readonly PictureEssenceCoding: "ST2067-21/PictureEssenceCoding";
230
308
  readonly HtCodestreamConstraints: "ST2067-21/HtCodestreamConstraints";
231
309
  };
310
+ readonly ST2067_50: {
311
+ readonly ApplicationIdentification: "ST2067-50/ApplicationIdentification";
312
+ readonly ImageDescriptorNotRgba: "ST2067-50/ImageDescriptorNotRgba";
313
+ readonly EssenceContainer: "ST2067-50/EssenceContainer";
314
+ readonly PictureEssenceCoding: "ST2067-50/PictureEssenceCoding";
315
+ readonly TransferCharacteristic: "ST2067-50/TransferCharacteristic";
316
+ readonly ColorPrimaries: "ST2067-50/ColorPrimaries";
317
+ readonly DescriptorItemNotAllowed: "ST2067-50/DescriptorItemNotAllowed";
318
+ readonly FrameLayout: "ST2067-50/FrameLayout";
319
+ readonly SampledArea: "ST2067-50/SampledArea";
320
+ readonly VideoLineMap: "ST2067-50/VideoLineMap";
321
+ readonly ScanningDirection: "ST2067-50/ScanningDirection";
322
+ readonly PixelLayout: "ST2067-50/PixelLayout";
323
+ readonly ContainerConstraintsSubDescriptorMissing: "ST2067-50/ContainerConstraintsSubDescriptorMissing";
324
+ readonly FrameRate: "ST2067-50/FrameRate";
325
+ readonly HomogeneousImageEssence: "ST2067-50/HomogeneousImageEssence";
326
+ readonly SegmentDuration: "ST2067-50/SegmentDuration";
327
+ readonly MasteringDisplayItems: "ST2067-50/MasteringDisplayItems";
328
+ readonly TargetFrameCount: "ST2067-50/TargetFrameCount";
329
+ readonly TargetFrameItemsMissing: "ST2067-50/TargetFrameItemsMissing";
330
+ readonly TargetFrameAncillaryResourceId: "ST2067-50/TargetFrameAncillaryResourceId";
331
+ readonly TargetFrameMediaType: "ST2067-50/TargetFrameMediaType";
332
+ readonly TargetFrameIndex: "ST2067-50/TargetFrameIndex";
333
+ readonly TargetFrameAcesReference: "ST2067-50/TargetFrameAcesReference";
334
+ readonly TargetFrameViewingEnvironment: "ST2067-50/TargetFrameViewingEnvironment";
335
+ };
232
336
  readonly ST2067_201: {
233
337
  readonly CodecForbidden: "ST2067-201/CodecForbidden";
234
338
  readonly ElectrospatialFormulationInvalid: "ST2067-201/ElectrospatialFormulationInvalid";
@@ -254,6 +358,7 @@ export declare const codes: {
254
358
  readonly SubDescriptorDuplicate: "ST2067-201/SubDescriptorDuplicate";
255
359
  readonly MCAChannelIDForbidden: "ST2067-201/MCAChannelIDForbidden";
256
360
  readonly EditRateNotIntegerMultiple: "ST2067-201/EditRateNotIntegerMultiple";
361
+ readonly ResourceEditRateNotSampleRate: "ST2067-201/ResourceEditRateNotSampleRate";
257
362
  readonly IabChannelSubDescriptorRecommended: "ST2067-201/IabChannelSubDescriptorRecommended";
258
363
  readonly ConformsToSpecificationsMissing: "ST2067-201/ConformsToSpecificationsMissing";
259
364
  readonly ConformsToSpecificationsInvalid: "ST2067-201/ConformsToSpecificationsInvalid";
@@ -270,6 +375,90 @@ export declare const codes: {
270
375
  readonly DataEssenceCodingInvalid: "ST2067-202/DataEssenceCodingInvalid";
271
376
  readonly EssenceContainerInvalid: "ST2067-202/EssenceContainerInvalid";
272
377
  };
378
+ readonly ST2067_203: {
379
+ readonly SequenceResourceNotTrackFile: "ST2067-203/SequenceResourceNotTrackFile";
380
+ readonly VirtualTrackParameterSetMissing: "ST2067-203/VirtualTrackParameterSetMissing";
381
+ readonly VirtualTrackParameterSetDuplicate: "ST2067-203/VirtualTrackParameterSetDuplicate";
382
+ readonly VirtualTrackParameterSetIdDuplicate: "ST2067-203/VirtualTrackParameterSetIdDuplicate";
383
+ readonly VirtualTrackParameterSetOrphaned: "ST2067-203/VirtualTrackParameterSetOrphaned";
384
+ readonly VirtualTrackParameterSetInvalid: "ST2067-203/VirtualTrackParameterSetInvalid";
385
+ readonly OperationalModeUnknown: "ST2067-203/OperationalModeUnknown";
386
+ readonly OperationalModeNotRecognized: "ST2067-203/OperationalModeNotRecognized";
387
+ readonly SoundfieldGroupSelectorDuplicate: "ST2067-203/SoundfieldGroupSelectorDuplicate";
388
+ readonly SoundfieldGroupSelectorResourceIdOrphaned: "ST2067-203/SoundfieldGroupSelectorResourceIdOrphaned";
389
+ readonly SoundfieldGroupLinkIdDuplicate: "ST2067-203/SoundfieldGroupLinkIdDuplicate";
390
+ readonly EditRateNotHomogeneous: "ST2067-203/EditRateNotHomogeneous";
391
+ readonly EditRateNotMultipleOfMainImage: "ST2067-203/EditRateNotMultipleOfMainImage";
392
+ readonly TrackFileNotMGA: "ST2067-203/TrackFileNotMGA";
393
+ readonly TrackFileAudioSampleRate: "ST2067-203/TrackFileAudioSampleRate";
394
+ readonly TrackFileQuantizationBits: "ST2067-203/TrackFileQuantizationBits";
395
+ readonly TrackFileSoundCompression: "ST2067-203/TrackFileSoundCompression";
396
+ readonly TrackFileReferenceItemMissing: "ST2067-203/TrackFileReferenceItemMissing";
397
+ readonly TrackFileNotClipWrapped: "ST2067-203/TrackFileNotClipWrapped";
398
+ readonly ContainerConstraintsSubDescriptorMissing: "ST2067-203/ContainerConstraintsSubDescriptorMissing";
399
+ readonly SADMSectionCount: "ST2067-203/SADMSectionCount";
400
+ readonly SADMSectionIdentifier: "ST2067-203/SADMSectionIdentifier";
401
+ readonly SADMSectionNotFirst: "ST2067-203/SADMSectionNotFirst";
402
+ readonly AudioMetadataPackUsed: "ST2067-203/AudioMetadataPackUsed";
403
+ readonly SADMSubDescriptorMismatch: "ST2067-203/SADMSubDescriptorMismatch";
404
+ readonly SADMProfileLevelULBatchMissing: "ST2067-203/SADMProfileLevelULBatchMissing";
405
+ readonly ForbiddenMCASubDescriptor: "ST2067-203/ForbiddenMCASubDescriptor";
406
+ readonly SoundfieldGroupLabelForSupplementalSection: "ST2067-203/SoundfieldGroupLabelForSupplementalSection";
407
+ readonly SoundfieldGroupLabelValue: "ST2067-203/SoundfieldGroupLabelValue";
408
+ readonly MCATagNameMissing: "ST2067-203/MCATagNameMissing";
409
+ readonly MCAChannelIDPresent: "ST2067-203/MCAChannelIDPresent";
410
+ readonly SoundfieldGroupLabelItemMissing: "ST2067-203/SoundfieldGroupLabelItemMissing";
411
+ readonly ResourceEditRateNotTrackFile: "ST2067-203/ResourceEditRateNotTrackFile";
412
+ readonly AudioSampleRateNotHomogeneous: "ST2067-203/AudioSampleRateNotHomogeneous";
413
+ readonly SoundfieldGroupLinkIdNotInTrackFile: "ST2067-203/SoundfieldGroupLinkIdNotInTrackFile";
414
+ readonly OperationalModeALabelItems: "ST2067-203/OperationalModeALabelItems";
415
+ };
416
+ readonly ST2067_204: {
417
+ readonly SequenceResourceNotTrackFile: "ST2067-204/SequenceResourceNotTrackFile";
418
+ readonly VirtualTrackParameterSetMissing: "ST2067-204/VirtualTrackParameterSetMissing";
419
+ readonly VirtualTrackParameterSetDuplicate: "ST2067-204/VirtualTrackParameterSetDuplicate";
420
+ readonly VirtualTrackParameterSetIdDuplicate: "ST2067-204/VirtualTrackParameterSetIdDuplicate";
421
+ readonly VirtualTrackParameterSetOrphaned: "ST2067-204/VirtualTrackParameterSetOrphaned";
422
+ readonly VirtualTrackParameterSetInvalid: "ST2067-204/VirtualTrackParameterSetInvalid";
423
+ readonly OperationalModeUnknown: "ST2067-204/OperationalModeUnknown";
424
+ readonly OperationalModeNotRecognized: "ST2067-204/OperationalModeNotRecognized";
425
+ readonly SoundfieldGroupSelectorDuplicate: "ST2067-204/SoundfieldGroupSelectorDuplicate";
426
+ readonly SoundfieldGroupSelectorResourceIdOrphaned: "ST2067-204/SoundfieldGroupSelectorResourceIdOrphaned";
427
+ readonly SoundfieldGroupLinkIdDuplicate: "ST2067-204/SoundfieldGroupLinkIdDuplicate";
428
+ readonly EditRateNotHomogeneous: "ST2067-204/EditRateNotHomogeneous";
429
+ readonly TrackFileNotWAVEPCM: "ST2067-204/TrackFileNotWAVEPCM";
430
+ readonly TrackFileChannelAssignment: "ST2067-204/TrackFileChannelAssignment";
431
+ readonly ForbiddenMCASubDescriptor: "ST2067-204/ForbiddenMCASubDescriptor";
432
+ readonly ResourceEditRateNotTrackFile: "ST2067-204/ResourceEditRateNotTrackFile";
433
+ readonly AudioSampleRateNotHomogeneous: "ST2067-204/AudioSampleRateNotHomogeneous";
434
+ };
435
+ readonly ST2067_100: {
436
+ readonly DuplicateAlias: "ST2067-100/DuplicateAlias";
437
+ readonly DuplicateMacroName: "ST2067-100/DuplicateMacroName";
438
+ readonly SignerWithoutSignature: "ST2067-100/SignerWithoutSignature";
439
+ readonly SignatureWithoutSigner: "ST2067-100/SignatureWithoutSigner";
440
+ readonly MacroOrder: "ST2067-100/MacroOrder";
441
+ readonly HandleNotRelativePath: "ST2067-100/HandleNotRelativePath";
442
+ readonly HandleUnresolved: "ST2067-100/HandleUnresolved";
443
+ readonly PresetNotAlone: "ST2067-100/PresetNotAlone";
444
+ };
445
+ readonly ST2067_101: {
446
+ readonly PixelDecoderStructure: "ST2067-101/PixelDecoderStructure";
447
+ readonly PixelEncoderStructure: "ST2067-101/PixelEncoderStructure";
448
+ readonly ImageCropStructure: "ST2067-101/ImageCropStructure";
449
+ readonly ImageScaleStructure: "ST2067-101/ImageScaleStructure";
450
+ readonly ColorEncodingUnknown: "ST2067-101/ColorEncodingUnknown";
451
+ readonly FillColorUnknown: "ST2067-101/FillColorUnknown";
452
+ };
453
+ readonly ST2067_102: {
454
+ readonly PixelValueOutOfRange: "ST2067-102/PixelValueOutOfRange";
455
+ readonly DeprecatedColorScheme: "ST2067-102/DeprecatedColorScheme";
456
+ };
457
+ readonly ST2067_103: {
458
+ readonly AudioRoutingStructure: "ST2067-103/AudioRoutingStructure";
459
+ readonly DuplicateOutputChannelHandle: "ST2067-103/DuplicateOutputChannelHandle";
460
+ readonly DuplicateInputEntityHandle: "ST2067-103/DuplicateInputEntityHandle";
461
+ };
273
462
  readonly XSD: {
274
463
  readonly ElementMissing: "XSD/ElementMissing";
275
464
  readonly UnexpectedElement: "XSD/UnexpectedElement";
@@ -281,7 +470,9 @@ export declare const codes: {
281
470
  };
282
471
  readonly IMFERNO: {
283
472
  readonly ExtensionSequenceNotValidated: "IMFERNO/ExtensionSequenceNotValidated";
473
+ readonly OplNotFullyValidated: "IMFERNO/OplNotFullyValidated";
284
474
  readonly SequenceListUnreadable: "IMFERNO/SequenceListUnreadable";
475
+ readonly TrackFileIdentityNotValidated: "IMFERNO/TrackFileIdentityNotValidated";
285
476
  readonly EditionAssumed: "IMFERNO/EditionAssumed";
286
477
  readonly EditionConflict: "IMFERNO/EditionConflict";
287
478
  readonly EditionPinned: "IMFERNO/EditionPinned";
@@ -292,6 +483,7 @@ export declare const codes: {
292
483
  readonly PartitionPackParseFailed: "IMFERNO/PartitionPackParseFailed";
293
484
  readonly RegXmlConversionFailed: "IMFERNO/RegXmlConversionFailed";
294
485
  readonly MxfHeaderUnreadable: "IMFERNO/MxfHeaderUnreadable";
486
+ readonly MxfFooterNotLocated: "IMFERNO/MxfFooterNotLocated";
295
487
  readonly EssenceContainersDetected: "IMFERNO/EssenceContainersDetected";
296
488
  readonly IoError: "IMFERNO/IoError";
297
489
  readonly UnreferencedAsset: "IMFERNO/UnreferencedAsset";
@@ -299,11 +491,13 @@ export declare const codes: {
299
491
  readonly ParseError: "IMFERNO/ParseError";
300
492
  readonly PklParseError: "IMFERNO/PklParseError";
301
493
  readonly XmlAssetParseError: "IMFERNO/XmlAssetParseError";
494
+ readonly CplUnparseable: "IMFERNO/CplUnparseable";
302
495
  readonly XmlReadError: "IMFERNO/XmlReadError";
303
496
  readonly ReadDirError: "IMFERNO/ReadDirError";
304
497
  readonly DirEntryError: "IMFERNO/DirEntryError";
305
498
  readonly PathTraversal: "IMFERNO/PathTraversal";
306
499
  readonly ApplicationProfileNotValidated: "IMFERNO/ApplicationProfileNotValidated";
500
+ readonly ApplicationNotFullyValidated: "IMFERNO/ApplicationNotFullyValidated";
307
501
  readonly RuleNotInEdition: "IMFERNO/RuleNotInEdition";
308
502
  }
309
503
  };
package/codes.js CHANGED
@@ -11,6 +11,13 @@ const codes = {
11
11
  FileDescriptorEssenceContainerMissing: "ST377-1/FileDescriptorEssenceContainerMissing",
12
12
  PrefaceEssenceContainersIncomplete: "ST377-1/PrefaceEssenceContainersIncomplete",
13
13
  PartitionEssenceContainersIncomplete: "ST377-1/PartitionEssenceContainersIncomplete",
14
+ OpenPartitionEssenceContainersIncomplete: "ST377-1/OpenPartitionEssenceContainersIncomplete",
15
+ FooterPartitionMissing: "ST377-1/FooterPartitionMissing",
16
+ RunInPresent: "ST377-1/RunInPresent",
17
+ OperationalPatternMarkerBit: "ST377-1/OperationalPatternMarkerBit",
18
+ SequenceDurationMismatch: "ST377-1/SequenceDurationMismatch",
19
+ StaticTrackComponentDuration: "ST377-1/StaticTrackComponentDuration",
20
+ StaticTrackDmComponentDuration: "ST377-1/StaticTrackDmComponentDuration",
14
21
  },
15
22
  ST377_4: {
16
23
  MCALinkIDMissing: "ST377-4/MCALinkIDMissing",
@@ -47,6 +54,9 @@ const codes = {
47
54
  },
48
55
  ST2067_2: {
49
56
  NotImfCompositionPlaylist: "ST2067-2/NotImfCompositionPlaylist",
57
+ ApplicationCplMismatch: "ST2067-2/ApplicationCplMismatch",
58
+ ApplicationIdentificationMissing: "ST2067-2/ApplicationIdentificationMissing",
59
+ ApplicationIdentificationDuplicate: "ST2067-2/ApplicationIdentificationDuplicate",
50
60
  PklMalformedXml: "ST2067-2/PklMalformedXml",
51
61
  NoPackingList: "ST2067-2/NoPackingList",
52
62
  NoCpls: "ST2067-2/NoCpls",
@@ -71,6 +81,7 @@ const codes = {
71
81
  DigitalSignature: "ST2067-2/DigitalSignature",
72
82
  EssenceDescriptorList: "ST2067-2/EssenceDescriptorList",
73
83
  EssenceDescriptorContainerFormatMissing: "ST2067-2/EssenceDescriptorContainerFormatMissing",
84
+ EssenceDescriptorDiffersFromTrackFile: "ST2067-2/EssenceDescriptorDiffersFromTrackFile",
74
85
  CplIdAssetMapMismatch: "ST2067-2/CplIdAssetMapMismatch",
75
86
  OperationalPatternNotOP1A: "ST2067-2/OperationalPatternNotOP1A",
76
87
  SoundDescriptorNotWAVEPCM: "ST2067-2/SoundDescriptorNotWAVEPCM",
@@ -99,9 +110,23 @@ const codes = {
99
110
  TimedTextNamespaceNotIMSC: "ST2067-2/TimedTextNamespaceNotIMSC",
100
111
  TimedTextResourceMIMETypeUnsupported: "ST2067-2/TimedTextResourceMIMETypeUnsupported",
101
112
  TimedTextMappingKindNot0x13: "ST2067-2/TimedTextMappingKindNot0x13",
113
+ TimedTextDataEssenceCodingPresent: "ST2067-2/TimedTextDataEssenceCodingPresent",
114
+ TopLevelFilePackageOriginNotZero: "ST2067-2/TopLevelFilePackageOriginNotZero",
115
+ TopLevelFilePackageFiller: "ST2067-2/TopLevelFilePackageFiller",
102
116
  MainImageVirtualTrackCount: "ST2067-2/MainImageVirtualTrackCount",
103
117
  AudioVirtualTrackMissing: "ST2067-2/AudioVirtualTrackMissing",
104
118
  TrackFileMediaType: "ST2067-2/TrackFileMediaType",
119
+ CompositionEditRateMismatch: "ST2067-2/CompositionEditRateMismatch",
120
+ MainImageEditRateMismatch: "ST2067-2/MainImageEditRateMismatch",
121
+ AudioEditRateMismatch: "ST2067-2/AudioEditRateMismatch",
122
+ ContentVersionMissing: "ST2067-2/ContentVersionMissing",
123
+ ReferenceImageEditRateMissing: "ST2067-2/ReferenceImageEditRateMissing",
124
+ ReferenceImageEditRateMismatch: "ST2067-2/ReferenceImageEditRateMismatch",
125
+ AssetIdPackageUidMismatch: "ST2067-2/AssetIdPackageUidMismatch",
126
+ TrackFileIdPackageUidMismatch: "ST2067-2/TrackFileIdPackageUidMismatch",
127
+ PackageUidForm: "ST2067-2/PackageUidForm",
128
+ UuidNotVersion4: "ST2067-2/UuidNotVersion4",
129
+ AssetIdNotType5: "ST2067-2/AssetIdNotType5",
105
130
  },
106
131
  ST2067_3: {
107
132
  ContentTitleEmpty: "ST2067-3/ContentTitleEmpty",
@@ -146,6 +171,8 @@ const codes = {
146
171
  },
147
172
  ST2067_5: {
148
173
  OperationalPatternQualifier: "ST2067-5/OperationalPatternQualifier",
174
+ KagSizeNotOne: "ST2067-5/KagSizeNotOne",
175
+ EssenceContainerLabelNotSingle: "ST2067-5/EssenceContainerLabelNotSingle",
149
176
  },
150
177
  ST2067_9: {
151
178
  MalformedXml: "ST2067-9/MalformedXml",
@@ -157,6 +184,57 @@ const codes = {
157
184
  CplNotFound: "ST2067-9/CplNotFound",
158
185
  DuplicateCplId: "ST2067-9/DuplicateCplId",
159
186
  },
187
+ ST2067_20: {
188
+ ApplicationIdentification: "ST2067-20/ApplicationIdentification",
189
+ AppIdMismatch: "ST2067-20/AppIdMismatch",
190
+ ImageCharacteristics: "ST2067-20/ImageCharacteristics",
191
+ TransferCharacteristic: "ST2067-20/TransferCharacteristic",
192
+ CodingEquations: "ST2067-20/CodingEquations",
193
+ ColorPrimaries: "ST2067-20/ColorPrimaries",
194
+ J2KRequired: "ST2067-20/J2KRequired",
195
+ PictureEssenceCoding: "ST2067-20/PictureEssenceCoding",
196
+ FrameLayout: "ST2067-20/FrameLayout",
197
+ StoredF2Offset: "ST2067-20/StoredF2Offset",
198
+ SampledWidth: "ST2067-20/SampledWidth",
199
+ SampledHeight: "ST2067-20/SampledHeight",
200
+ SampledXOffset: "ST2067-20/SampledXOffset",
201
+ SampledYOffset: "ST2067-20/SampledYOffset",
202
+ DisplayF2Offset: "ST2067-20/DisplayF2Offset",
203
+ AlphaTransparency: "ST2067-20/AlphaTransparency",
204
+ ImageAlignmentOffset: "ST2067-20/ImageAlignmentOffset",
205
+ ImageStartOffset: "ST2067-20/ImageStartOffset",
206
+ ImageEndOffset: "ST2067-20/ImageEndOffset",
207
+ FieldDominance: "ST2067-20/FieldDominance",
208
+ TransferCharacteristicMissing: "ST2067-20/TransferCharacteristicMissing",
209
+ ColorPrimariesMissing: "ST2067-20/ColorPrimariesMissing",
210
+ CodingEquationsMissing: "ST2067-20/CodingEquationsMissing",
211
+ RequiredPictureCompression: "ST2067-20/RequiredPictureCompression",
212
+ ComponentMaxRef: "ST2067-20/ComponentMaxRef",
213
+ ComponentMinRef: "ST2067-20/ComponentMinRef",
214
+ AlphaMaxRef: "ST2067-20/AlphaMaxRef",
215
+ AlphaMinRef: "ST2067-20/AlphaMinRef",
216
+ ScanningDirection: "ST2067-20/ScanningDirection",
217
+ Palette: "ST2067-20/Palette",
218
+ PaletteLayout: "ST2067-20/PaletteLayout",
219
+ ComponentRefValues: "ST2067-20/ComponentRefValues",
220
+ ComponentDepth: "ST2067-20/ComponentDepth",
221
+ VerticalSubsampling: "ST2067-20/VerticalSubsampling",
222
+ ColorSiting: "ST2067-20/ColorSiting",
223
+ ReversedByteOrder: "ST2067-20/ReversedByteOrder",
224
+ PaddingBits: "ST2067-20/PaddingBits",
225
+ AlphaSampleDepth: "ST2067-20/AlphaSampleDepth",
226
+ RefLevelMissing: "ST2067-20/RefLevelMissing",
227
+ HorizontalSubsampling: "ST2067-20/HorizontalSubsampling",
228
+ BlackRefLevel: "ST2067-20/BlackRefLevel",
229
+ WhiteRefLevel: "ST2067-20/WhiteRefLevel",
230
+ ColorRange: "ST2067-20/ColorRange",
231
+ Jpeg2000SubDescriptor: "ST2067-20/Jpeg2000SubDescriptor",
232
+ CodingStyle: "ST2067-20/CodingStyle",
233
+ J2CLayout: "ST2067-20/J2CLayout",
234
+ J2CLayoutValue: "ST2067-20/J2CLayoutValue",
235
+ HomogeneousImageEssence: "ST2067-20/HomogeneousImageEssence",
236
+ SegmentDurationMultiple: "ST2067-20/SegmentDurationMultiple",
237
+ },
160
238
  ST2067_21: {
161
239
  ColorSystem: "ST2067-21/ColorSystem",
162
240
  BlackRefLevel: "ST2067-21/BlackRefLevel",
@@ -229,6 +307,32 @@ const codes = {
229
307
  PictureEssenceCoding: "ST2067-21/PictureEssenceCoding",
230
308
  HtCodestreamConstraints: "ST2067-21/HtCodestreamConstraints",
231
309
  },
310
+ ST2067_50: {
311
+ ApplicationIdentification: "ST2067-50/ApplicationIdentification",
312
+ ImageDescriptorNotRgba: "ST2067-50/ImageDescriptorNotRgba",
313
+ EssenceContainer: "ST2067-50/EssenceContainer",
314
+ PictureEssenceCoding: "ST2067-50/PictureEssenceCoding",
315
+ TransferCharacteristic: "ST2067-50/TransferCharacteristic",
316
+ ColorPrimaries: "ST2067-50/ColorPrimaries",
317
+ DescriptorItemNotAllowed: "ST2067-50/DescriptorItemNotAllowed",
318
+ FrameLayout: "ST2067-50/FrameLayout",
319
+ SampledArea: "ST2067-50/SampledArea",
320
+ VideoLineMap: "ST2067-50/VideoLineMap",
321
+ ScanningDirection: "ST2067-50/ScanningDirection",
322
+ PixelLayout: "ST2067-50/PixelLayout",
323
+ ContainerConstraintsSubDescriptorMissing: "ST2067-50/ContainerConstraintsSubDescriptorMissing",
324
+ FrameRate: "ST2067-50/FrameRate",
325
+ HomogeneousImageEssence: "ST2067-50/HomogeneousImageEssence",
326
+ SegmentDuration: "ST2067-50/SegmentDuration",
327
+ MasteringDisplayItems: "ST2067-50/MasteringDisplayItems",
328
+ TargetFrameCount: "ST2067-50/TargetFrameCount",
329
+ TargetFrameItemsMissing: "ST2067-50/TargetFrameItemsMissing",
330
+ TargetFrameAncillaryResourceId: "ST2067-50/TargetFrameAncillaryResourceId",
331
+ TargetFrameMediaType: "ST2067-50/TargetFrameMediaType",
332
+ TargetFrameIndex: "ST2067-50/TargetFrameIndex",
333
+ TargetFrameAcesReference: "ST2067-50/TargetFrameAcesReference",
334
+ TargetFrameViewingEnvironment: "ST2067-50/TargetFrameViewingEnvironment",
335
+ },
232
336
  ST2067_201: {
233
337
  CodecForbidden: "ST2067-201/CodecForbidden",
234
338
  ElectrospatialFormulationInvalid: "ST2067-201/ElectrospatialFormulationInvalid",
@@ -254,6 +358,7 @@ const codes = {
254
358
  SubDescriptorDuplicate: "ST2067-201/SubDescriptorDuplicate",
255
359
  MCAChannelIDForbidden: "ST2067-201/MCAChannelIDForbidden",
256
360
  EditRateNotIntegerMultiple: "ST2067-201/EditRateNotIntegerMultiple",
361
+ ResourceEditRateNotSampleRate: "ST2067-201/ResourceEditRateNotSampleRate",
257
362
  IabChannelSubDescriptorRecommended: "ST2067-201/IabChannelSubDescriptorRecommended",
258
363
  ConformsToSpecificationsMissing: "ST2067-201/ConformsToSpecificationsMissing",
259
364
  ConformsToSpecificationsInvalid: "ST2067-201/ConformsToSpecificationsInvalid",
@@ -270,6 +375,90 @@ const codes = {
270
375
  DataEssenceCodingInvalid: "ST2067-202/DataEssenceCodingInvalid",
271
376
  EssenceContainerInvalid: "ST2067-202/EssenceContainerInvalid",
272
377
  },
378
+ ST2067_203: {
379
+ SequenceResourceNotTrackFile: "ST2067-203/SequenceResourceNotTrackFile",
380
+ VirtualTrackParameterSetMissing: "ST2067-203/VirtualTrackParameterSetMissing",
381
+ VirtualTrackParameterSetDuplicate: "ST2067-203/VirtualTrackParameterSetDuplicate",
382
+ VirtualTrackParameterSetIdDuplicate: "ST2067-203/VirtualTrackParameterSetIdDuplicate",
383
+ VirtualTrackParameterSetOrphaned: "ST2067-203/VirtualTrackParameterSetOrphaned",
384
+ VirtualTrackParameterSetInvalid: "ST2067-203/VirtualTrackParameterSetInvalid",
385
+ OperationalModeUnknown: "ST2067-203/OperationalModeUnknown",
386
+ OperationalModeNotRecognized: "ST2067-203/OperationalModeNotRecognized",
387
+ SoundfieldGroupSelectorDuplicate: "ST2067-203/SoundfieldGroupSelectorDuplicate",
388
+ SoundfieldGroupSelectorResourceIdOrphaned: "ST2067-203/SoundfieldGroupSelectorResourceIdOrphaned",
389
+ SoundfieldGroupLinkIdDuplicate: "ST2067-203/SoundfieldGroupLinkIdDuplicate",
390
+ EditRateNotHomogeneous: "ST2067-203/EditRateNotHomogeneous",
391
+ EditRateNotMultipleOfMainImage: "ST2067-203/EditRateNotMultipleOfMainImage",
392
+ TrackFileNotMGA: "ST2067-203/TrackFileNotMGA",
393
+ TrackFileAudioSampleRate: "ST2067-203/TrackFileAudioSampleRate",
394
+ TrackFileQuantizationBits: "ST2067-203/TrackFileQuantizationBits",
395
+ TrackFileSoundCompression: "ST2067-203/TrackFileSoundCompression",
396
+ TrackFileReferenceItemMissing: "ST2067-203/TrackFileReferenceItemMissing",
397
+ TrackFileNotClipWrapped: "ST2067-203/TrackFileNotClipWrapped",
398
+ ContainerConstraintsSubDescriptorMissing: "ST2067-203/ContainerConstraintsSubDescriptorMissing",
399
+ SADMSectionCount: "ST2067-203/SADMSectionCount",
400
+ SADMSectionIdentifier: "ST2067-203/SADMSectionIdentifier",
401
+ SADMSectionNotFirst: "ST2067-203/SADMSectionNotFirst",
402
+ AudioMetadataPackUsed: "ST2067-203/AudioMetadataPackUsed",
403
+ SADMSubDescriptorMismatch: "ST2067-203/SADMSubDescriptorMismatch",
404
+ SADMProfileLevelULBatchMissing: "ST2067-203/SADMProfileLevelULBatchMissing",
405
+ ForbiddenMCASubDescriptor: "ST2067-203/ForbiddenMCASubDescriptor",
406
+ SoundfieldGroupLabelForSupplementalSection: "ST2067-203/SoundfieldGroupLabelForSupplementalSection",
407
+ SoundfieldGroupLabelValue: "ST2067-203/SoundfieldGroupLabelValue",
408
+ MCATagNameMissing: "ST2067-203/MCATagNameMissing",
409
+ MCAChannelIDPresent: "ST2067-203/MCAChannelIDPresent",
410
+ SoundfieldGroupLabelItemMissing: "ST2067-203/SoundfieldGroupLabelItemMissing",
411
+ ResourceEditRateNotTrackFile: "ST2067-203/ResourceEditRateNotTrackFile",
412
+ AudioSampleRateNotHomogeneous: "ST2067-203/AudioSampleRateNotHomogeneous",
413
+ SoundfieldGroupLinkIdNotInTrackFile: "ST2067-203/SoundfieldGroupLinkIdNotInTrackFile",
414
+ OperationalModeALabelItems: "ST2067-203/OperationalModeALabelItems",
415
+ },
416
+ ST2067_204: {
417
+ SequenceResourceNotTrackFile: "ST2067-204/SequenceResourceNotTrackFile",
418
+ VirtualTrackParameterSetMissing: "ST2067-204/VirtualTrackParameterSetMissing",
419
+ VirtualTrackParameterSetDuplicate: "ST2067-204/VirtualTrackParameterSetDuplicate",
420
+ VirtualTrackParameterSetIdDuplicate: "ST2067-204/VirtualTrackParameterSetIdDuplicate",
421
+ VirtualTrackParameterSetOrphaned: "ST2067-204/VirtualTrackParameterSetOrphaned",
422
+ VirtualTrackParameterSetInvalid: "ST2067-204/VirtualTrackParameterSetInvalid",
423
+ OperationalModeUnknown: "ST2067-204/OperationalModeUnknown",
424
+ OperationalModeNotRecognized: "ST2067-204/OperationalModeNotRecognized",
425
+ SoundfieldGroupSelectorDuplicate: "ST2067-204/SoundfieldGroupSelectorDuplicate",
426
+ SoundfieldGroupSelectorResourceIdOrphaned: "ST2067-204/SoundfieldGroupSelectorResourceIdOrphaned",
427
+ SoundfieldGroupLinkIdDuplicate: "ST2067-204/SoundfieldGroupLinkIdDuplicate",
428
+ EditRateNotHomogeneous: "ST2067-204/EditRateNotHomogeneous",
429
+ TrackFileNotWAVEPCM: "ST2067-204/TrackFileNotWAVEPCM",
430
+ TrackFileChannelAssignment: "ST2067-204/TrackFileChannelAssignment",
431
+ ForbiddenMCASubDescriptor: "ST2067-204/ForbiddenMCASubDescriptor",
432
+ ResourceEditRateNotTrackFile: "ST2067-204/ResourceEditRateNotTrackFile",
433
+ AudioSampleRateNotHomogeneous: "ST2067-204/AudioSampleRateNotHomogeneous",
434
+ },
435
+ ST2067_100: {
436
+ DuplicateAlias: "ST2067-100/DuplicateAlias",
437
+ DuplicateMacroName: "ST2067-100/DuplicateMacroName",
438
+ SignerWithoutSignature: "ST2067-100/SignerWithoutSignature",
439
+ SignatureWithoutSigner: "ST2067-100/SignatureWithoutSigner",
440
+ MacroOrder: "ST2067-100/MacroOrder",
441
+ HandleNotRelativePath: "ST2067-100/HandleNotRelativePath",
442
+ HandleUnresolved: "ST2067-100/HandleUnresolved",
443
+ PresetNotAlone: "ST2067-100/PresetNotAlone",
444
+ },
445
+ ST2067_101: {
446
+ PixelDecoderStructure: "ST2067-101/PixelDecoderStructure",
447
+ PixelEncoderStructure: "ST2067-101/PixelEncoderStructure",
448
+ ImageCropStructure: "ST2067-101/ImageCropStructure",
449
+ ImageScaleStructure: "ST2067-101/ImageScaleStructure",
450
+ ColorEncodingUnknown: "ST2067-101/ColorEncodingUnknown",
451
+ FillColorUnknown: "ST2067-101/FillColorUnknown",
452
+ },
453
+ ST2067_102: {
454
+ PixelValueOutOfRange: "ST2067-102/PixelValueOutOfRange",
455
+ DeprecatedColorScheme: "ST2067-102/DeprecatedColorScheme",
456
+ },
457
+ ST2067_103: {
458
+ AudioRoutingStructure: "ST2067-103/AudioRoutingStructure",
459
+ DuplicateOutputChannelHandle: "ST2067-103/DuplicateOutputChannelHandle",
460
+ DuplicateInputEntityHandle: "ST2067-103/DuplicateInputEntityHandle",
461
+ },
273
462
  XSD: {
274
463
  ElementMissing: "XSD/ElementMissing",
275
464
  UnexpectedElement: "XSD/UnexpectedElement",
@@ -281,7 +470,9 @@ const codes = {
281
470
  },
282
471
  IMFERNO: {
283
472
  ExtensionSequenceNotValidated: "IMFERNO/ExtensionSequenceNotValidated",
473
+ OplNotFullyValidated: "IMFERNO/OplNotFullyValidated",
284
474
  SequenceListUnreadable: "IMFERNO/SequenceListUnreadable",
475
+ TrackFileIdentityNotValidated: "IMFERNO/TrackFileIdentityNotValidated",
285
476
  EditionAssumed: "IMFERNO/EditionAssumed",
286
477
  EditionConflict: "IMFERNO/EditionConflict",
287
478
  EditionPinned: "IMFERNO/EditionPinned",
@@ -292,6 +483,7 @@ const codes = {
292
483
  PartitionPackParseFailed: "IMFERNO/PartitionPackParseFailed",
293
484
  RegXmlConversionFailed: "IMFERNO/RegXmlConversionFailed",
294
485
  MxfHeaderUnreadable: "IMFERNO/MxfHeaderUnreadable",
486
+ MxfFooterNotLocated: "IMFERNO/MxfFooterNotLocated",
295
487
  EssenceContainersDetected: "IMFERNO/EssenceContainersDetected",
296
488
  IoError: "IMFERNO/IoError",
297
489
  UnreferencedAsset: "IMFERNO/UnreferencedAsset",
@@ -299,11 +491,13 @@ const codes = {
299
491
  ParseError: "IMFERNO/ParseError",
300
492
  PklParseError: "IMFERNO/PklParseError",
301
493
  XmlAssetParseError: "IMFERNO/XmlAssetParseError",
494
+ CplUnparseable: "IMFERNO/CplUnparseable",
302
495
  XmlReadError: "IMFERNO/XmlReadError",
303
496
  ReadDirError: "IMFERNO/ReadDirError",
304
497
  DirEntryError: "IMFERNO/DirEntryError",
305
498
  PathTraversal: "IMFERNO/PathTraversal",
306
499
  ApplicationProfileNotValidated: "IMFERNO/ApplicationProfileNotValidated",
500
+ ApplicationNotFullyValidated: "IMFERNO/ApplicationNotFullyValidated",
307
501
  RuleNotInEdition: "IMFERNO/RuleNotInEdition",
308
502
  }
309
503
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imferno/node",
3
- "version": "3.0.2-beta.b011ba1",
3
+ "version": "3.0.2-beta.bf185b8",
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",
@@ -45,12 +45,12 @@
45
45
  "test": "vitest run"
46
46
  },
47
47
  "optionalDependencies": {
48
- "@imferno/node-darwin-arm64": "3.0.2-beta.b011ba1",
49
- "@imferno/node-darwin-x64": "3.0.2-beta.b011ba1",
50
- "@imferno/node-linux-x64-gnu": "3.0.2-beta.b011ba1",
51
- "@imferno/node-linux-arm64-gnu": "3.0.2-beta.b011ba1",
52
- "@imferno/node-win32-x64-msvc": "3.0.2-beta.b011ba1",
53
- "@imferno/node-win32-arm64-msvc": "3.0.2-beta.b011ba1"
48
+ "@imferno/node-darwin-arm64": "3.0.2-beta.bf185b8",
49
+ "@imferno/node-darwin-x64": "3.0.2-beta.bf185b8",
50
+ "@imferno/node-linux-x64-gnu": "3.0.2-beta.bf185b8",
51
+ "@imferno/node-linux-arm64-gnu": "3.0.2-beta.bf185b8",
52
+ "@imferno/node-win32-x64-msvc": "3.0.2-beta.bf185b8",
53
+ "@imferno/node-win32-arm64-msvc": "3.0.2-beta.bf185b8"
54
54
  },
55
55
  "publishConfig": {
56
56
  "access": "public"
package/types.d.ts CHANGED
@@ -66,9 +66,17 @@ export type Spec =
66
66
  | "ST2067-3"
67
67
  | "ST2067-5"
68
68
  | "ST2067-9"
69
+ | "ST2067-20"
69
70
  | "ST2067-21"
71
+ | "ST2067-50"
70
72
  | "ST2067-201"
71
73
  | "ST2067-202"
74
+ | "ST2067-203"
75
+ | "ST2067-204"
76
+ | "ST2067-100"
77
+ | "ST2067-101"
78
+ | "ST2067-102"
79
+ | "ST2067-103"
72
80
  | "XSD"
73
81
  | "IMFERNO";
74
82
  /**
@@ -115,6 +123,7 @@ export type ColorPrimaries =
115
123
  | "Bt2020"
116
124
  | "DciP3"
117
125
  | "P3D65"
126
+ | "Aces"
118
127
  | {
119
128
  Unknown: string;
120
129
  };
@@ -139,6 +148,7 @@ export type VideoCodec =
139
148
  | "H265"
140
149
  | "ProRes"
141
150
  | "Av1"
151
+ | "Aces"
142
152
  | {
143
153
  Unknown: string;
144
154
  };
@@ -404,13 +414,17 @@ export interface ValidationIssue {
404
414
  context: {
405
415
  [k: string]: string | undefined;
406
416
  };
417
+ /**
418
+ * Technical detail behind the message: the values, identifiers, URIs, file paths and clause text a person needs to locate or verify the finding. Shown after the message and the suggestion.
419
+ */
420
+ detail?: string | null;
407
421
  /**
408
422
  * Edition of the spec that was applied (`"2016"`; empty for single-edition pseudo-specs).
409
423
  */
410
424
  edition: string;
411
425
  location: Location;
412
426
  /**
413
- * Human-readable message
427
+ * What is wrong, in one short plain sentence for a person to read.
414
428
  */
415
429
  message: string;
416
430
  /**
@@ -422,7 +436,7 @@ export interface ValidationIssue {
422
436
  spec: Spec;
423
437
  strength: Strength;
424
438
  /**
425
- * Suggestion for how to fix
439
+ * What to do about it.
426
440
  */
427
441
  suggestion?: string | null;
428
442
  }
@@ -670,6 +684,10 @@ export interface CDCIDescriptor {
670
684
  */
671
685
  ColorSiting?: number | null;
672
686
  ComponentDepth?: number | null;
687
+ /**
688
+ * File Descriptor: Essence Container label
689
+ */
690
+ ContainerFormat?: string | null;
673
691
  /**
674
692
  * Generic Picture Essence Descriptor: DisplayF2Offset
675
693
  */
@@ -750,6 +768,14 @@ export interface CDCIDescriptor {
750
768
  * SubDescriptors for video (RGBA/CDCI) descriptors
751
769
  */
752
770
  export interface VideoSubDescriptors {
771
+ /**
772
+ * ST 2067-50 §8.2.4 ACES Picture SubDescriptors
773
+ */
774
+ ACESPictureSubDescriptor?: AcesPictureSubDescriptor[];
775
+ /**
776
+ * ST 379-2 §7 Container Constraints Sub Descriptor
777
+ */
778
+ ContainerConstraintsSubDescriptor?: ContainerConstraintsSubDescriptor | null;
753
779
  /**
754
780
  * JPEG 2000 Picture Sub Descriptor — Table 14 constraints
755
781
  */
@@ -758,6 +784,40 @@ export interface VideoSubDescriptors {
758
784
  * Presence indicates Dolby Vision HDR
759
785
  */
760
786
  PHDRMetadataTrackSubDescriptor?: PHDRMetadataTrackSubDescriptor | null;
787
+ /**
788
+ * ST 2067-50 §8.2.5 Target Frame SubDescriptors
789
+ */
790
+ TargetFrameSubDescriptor?: TargetFrameSubDescriptor[];
791
+ }
792
+ /**
793
+ * ACES Picture SubDescriptor (ST 2067-50:2018 §8.2.4, Table 5).
794
+ */
795
+ export interface AcesPictureSubDescriptor {
796
+ ACESAuthoringInformation?: string | null;
797
+ ACESMasteringDisplayMaximumLuminance?: string | null;
798
+ ACESMasteringDisplayMinimumLuminance?: string | null;
799
+ ACESMasteringDisplayPrimaries?: ThreeColorPrimaries | null;
800
+ ACESMasteringDisplayWhitePointChromaticity?: Chromaticity | null;
801
+ InstanceID?: string | null;
802
+ }
803
+ /**
804
+ * Three color primaries (ThreeColorPrimaries).
805
+ */
806
+ export interface ThreeColorPrimaries {
807
+ ColorPrimary?: Chromaticity[];
808
+ }
809
+ /**
810
+ * A chromaticity coordinate pair, kept as text (presence is what is checked).
811
+ */
812
+ export interface Chromaticity {
813
+ X?: string | null;
814
+ Y?: string | null;
815
+ }
816
+ /**
817
+ * ContainerConstraintsSubDescriptor — presence required by ST 2067-202 §5
818
+ */
819
+ export interface ContainerConstraintsSubDescriptor {
820
+ InstanceID?: string | null;
761
821
  }
762
822
  /**
763
823
  * JPEG 2000 Picture Sub Descriptor (ST 422 / ST 2067-21 Table 14)
@@ -892,6 +952,22 @@ export interface PHDRMetadataTrackSubDescriptor {
892
952
  PHDRMetadataTrackSubDescriptor_SimplePayloadSID?: number | null;
893
953
  PHDRMetadataTrackSubDescriptor_SourceTrackID?: number | null;
894
954
  }
955
+ /**
956
+ * Target Frame SubDescriptor (ST 2067-50:2018 §8.2.5, Table 7). Values are kept as text so that a malformed value is reported, not a parse failure.
957
+ */
958
+ export interface TargetFrameSubDescriptor {
959
+ ACESPictureSubDescriptorInstanceID?: string | null;
960
+ InstanceID?: string | null;
961
+ MediaType?: string | null;
962
+ TargetFrameAncillaryResourceID?: string | null;
963
+ TargetFrameColorPrimaries?: string | null;
964
+ TargetFrameComponentMaxRef?: string | null;
965
+ TargetFrameComponentMinRef?: string | null;
966
+ TargetFrameEssenceStreamID?: string | null;
967
+ TargetFrameIndex?: string | null;
968
+ TargetFrameTransferCharacteristic?: string | null;
969
+ TargetFrameViewingEnvironment?: string | null;
970
+ }
895
971
  /**
896
972
  * DC Timed Text descriptor (subtitles/captions)
897
973
  */
@@ -920,9 +996,9 @@ export interface IABEssenceDescriptor {
920
996
  */
921
997
  ContainerFormat?: string | null;
922
998
  /**
923
- * ST 2067-201 §5.9: ElectrospatialFormulation shall NOT be present.
999
+ * ST 2067-201 §5.9: if present, ElectrospatialFormulation shall be 15 (multi-channel mode default). Kept as written: RegXML writes the enumeration as its register symbol (`ElectroSpatialFormulation_MultiChannelMode`), some writers as the number. See `IABEssenceDescriptor::electrospatial_formulation_value`.
924
1000
  */
925
- ElectrospatialFormulation?: number | null;
1001
+ ElectrospatialFormulation?: string | null;
926
1002
  InstanceID?: string | null;
927
1003
  LinkedTrackID?: number | null;
928
1004
  /**
@@ -972,7 +1048,7 @@ export interface IABSoundfieldLabelSubDescriptor {
972
1048
  RFC5646SpokenLanguage?: LanguageTag | null;
973
1049
  }
974
1050
  /**
975
- * ISXD (Immersive Sound XML Data) essence descriptor — Dolby Atmos sidecar format
1051
+ * ISXD (Isochronous Stream of XML Documents, ST 2067-202) data essence descriptor
976
1052
  */
977
1053
  export interface ISXDDataEssenceDescriptor {
978
1054
  /**
@@ -995,16 +1071,14 @@ export interface IsxdSubDescriptors {
995
1071
  */
996
1072
  ContainerConstraintsSubDescriptor?: ContainerConstraintsSubDescriptor | null;
997
1073
  }
998
- /**
999
- * ContainerConstraintsSubDescriptor — presence required by ST 2067-202 §5
1000
- */
1001
- export interface ContainerConstraintsSubDescriptor {
1002
- InstanceID?: string | null;
1003
- }
1004
1074
  /**
1005
1075
  * RGBA video descriptor (JPEG 2000 RGB content)
1006
1076
  */
1007
1077
  export interface RGBADescriptor {
1078
+ /**
1079
+ * Generic Picture Essence Descriptor: Active Format Descriptor (ST 2065-5:2016 Table 10: shall not be present)
1080
+ */
1081
+ ActiveFormatDescriptor?: string | null;
1008
1082
  /**
1009
1083
  * Table 10: AlphaMaxRef — shall not be present
1010
1084
  */
@@ -1027,6 +1101,10 @@ export interface RGBADescriptor {
1027
1101
  * RGBA Descriptor: Component Min Ref (Table 10/11)
1028
1102
  */
1029
1103
  ComponentMinRef?: number | null;
1104
+ /**
1105
+ * File Descriptor: Essence Container label
1106
+ */
1107
+ ContainerFormat?: string | null;
1030
1108
  /**
1031
1109
  * Generic Picture Essence Descriptor: DisplayF2Offset
1032
1110
  */
@@ -1065,6 +1143,10 @@ export interface RGBADescriptor {
1065
1143
  */
1066
1144
  PaletteLayout?: string | null;
1067
1145
  PictureCompression?: VideoCodec | null;
1146
+ /**
1147
+ * RGBA Descriptor: Pixel Layout
1148
+ */
1149
+ PixelLayout?: J2CLayout | null;
1068
1150
  SampleRate?: EditRate | null;
1069
1151
  /**
1070
1152
  * Table 8: SampledHeight — shall not be present or shall be equal to StoredHeight
@@ -1086,6 +1168,10 @@ export interface RGBADescriptor {
1086
1168
  * RGBA Descriptor: Scanning Direction (Table 10) Shall be "ScanningDirection_LeftToRightTopToBottom" (00h)
1087
1169
  */
1088
1170
  ScanningDirection?: string | null;
1171
+ /**
1172
+ * Generic Picture Essence Descriptor: Signal Standard (ST 2065-5:2016 Table 10: shall not be present)
1173
+ */
1174
+ SignalStandard?: string | null;
1089
1175
  /**
1090
1176
  * Table 8: StoredF2Offset — shall not be present
1091
1177
  */
@@ -1094,6 +1180,16 @@ export interface RGBADescriptor {
1094
1180
  StoredWidth?: number | null;
1095
1181
  SubDescriptors?: VideoSubDescriptors | null;
1096
1182
  TransferCharacteristic?: TransferCharacteristic | null;
1183
+ /**
1184
+ * Generic Picture Essence Descriptor: Video Line Map
1185
+ */
1186
+ VideoLineMap?: VideoLineMap | null;
1187
+ }
1188
+ /**
1189
+ * Video Line Map of a Generic Picture Essence Descriptor (ST 377-1).
1190
+ */
1191
+ export interface VideoLineMap {
1192
+ Int32?: number[];
1097
1193
  }
1098
1194
  /**
1099
1195
  * WAVE PCM audio descriptor
@@ -1104,6 +1200,10 @@ export interface WAVEPCMDescriptor {
1104
1200
  InstanceID?: string | null;
1105
1201
  LinkedTrackID?: number | null;
1106
1202
  QuantizationBits?: number | null;
1203
+ /**
1204
+ * ST 2067-2 Annex F (2013, 2016) / Annex E (2020): the edit rate of the image the audio is designed to sync to (§5.3.5 Table 6).
1205
+ */
1206
+ ReferenceImageEditRate?: EditRate | null;
1107
1207
  SampleRate?: EditRate | null;
1108
1208
  SubDescriptors?: AudioSubDescriptors | null;
1109
1209
  }
@@ -1125,6 +1225,9 @@ export interface SoundfieldGroupLabelSubDescriptor {
1125
1225
  */
1126
1226
  RFC5646SpokenLanguage?: LanguageTag | null;
1127
1227
  }
1228
+ /**
1229
+ * The CPL's `ExtensionProperties`: ApplicationIdentification (the Application IDs of every ST 2067-2 instance, space-separated), MaxCLL and MaxFALL.
1230
+ */
1128
1231
  export interface ExtensionProperties {
1129
1232
  ApplicationIdentification?: string | null;
1130
1233
  MaxCLL?: number | null;