@imferno/node 3.0.2-beta.3a5e210 → 3.0.2-beta.3cf00f9
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/codes.d.ts +123 -0
- package/codes.js +123 -0
- package/package.json +7 -7
- package/types.d.ts +10 -3
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,7 @@ export declare const codes: {
|
|
|
47
54
|
};
|
|
48
55
|
readonly ST2067_2: {
|
|
49
56
|
readonly NotImfCompositionPlaylist: "ST2067-2/NotImfCompositionPlaylist";
|
|
57
|
+
readonly ApplicationCplMismatch: "ST2067-2/ApplicationCplMismatch";
|
|
50
58
|
readonly ApplicationIdentificationMissing: "ST2067-2/ApplicationIdentificationMissing";
|
|
51
59
|
readonly ApplicationIdentificationDuplicate: "ST2067-2/ApplicationIdentificationDuplicate";
|
|
52
60
|
readonly PklMalformedXml: "ST2067-2/PklMalformedXml";
|
|
@@ -73,6 +81,7 @@ export declare const codes: {
|
|
|
73
81
|
readonly DigitalSignature: "ST2067-2/DigitalSignature";
|
|
74
82
|
readonly EssenceDescriptorList: "ST2067-2/EssenceDescriptorList";
|
|
75
83
|
readonly EssenceDescriptorContainerFormatMissing: "ST2067-2/EssenceDescriptorContainerFormatMissing";
|
|
84
|
+
readonly EssenceDescriptorDiffersFromTrackFile: "ST2067-2/EssenceDescriptorDiffersFromTrackFile";
|
|
76
85
|
readonly CplIdAssetMapMismatch: "ST2067-2/CplIdAssetMapMismatch";
|
|
77
86
|
readonly OperationalPatternNotOP1A: "ST2067-2/OperationalPatternNotOP1A";
|
|
78
87
|
readonly SoundDescriptorNotWAVEPCM: "ST2067-2/SoundDescriptorNotWAVEPCM";
|
|
@@ -101,6 +110,9 @@ export declare const codes: {
|
|
|
101
110
|
readonly TimedTextNamespaceNotIMSC: "ST2067-2/TimedTextNamespaceNotIMSC";
|
|
102
111
|
readonly TimedTextResourceMIMETypeUnsupported: "ST2067-2/TimedTextResourceMIMETypeUnsupported";
|
|
103
112
|
readonly TimedTextMappingKindNot0x13: "ST2067-2/TimedTextMappingKindNot0x13";
|
|
113
|
+
readonly TimedTextDataEssenceCodingPresent: "ST2067-2/TimedTextDataEssenceCodingPresent";
|
|
114
|
+
readonly TopLevelFilePackageOriginNotZero: "ST2067-2/TopLevelFilePackageOriginNotZero";
|
|
115
|
+
readonly TopLevelFilePackageFiller: "ST2067-2/TopLevelFilePackageFiller";
|
|
104
116
|
readonly MainImageVirtualTrackCount: "ST2067-2/MainImageVirtualTrackCount";
|
|
105
117
|
readonly AudioVirtualTrackMissing: "ST2067-2/AudioVirtualTrackMissing";
|
|
106
118
|
readonly TrackFileMediaType: "ST2067-2/TrackFileMediaType";
|
|
@@ -159,6 +171,8 @@ export declare const codes: {
|
|
|
159
171
|
};
|
|
160
172
|
readonly ST2067_5: {
|
|
161
173
|
readonly OperationalPatternQualifier: "ST2067-5/OperationalPatternQualifier";
|
|
174
|
+
readonly KagSizeNotOne: "ST2067-5/KagSizeNotOne";
|
|
175
|
+
readonly EssenceContainerLabelNotSingle: "ST2067-5/EssenceContainerLabelNotSingle";
|
|
162
176
|
};
|
|
163
177
|
readonly ST2067_9: {
|
|
164
178
|
readonly MalformedXml: "ST2067-9/MalformedXml";
|
|
@@ -170,6 +184,57 @@ export declare const codes: {
|
|
|
170
184
|
readonly CplNotFound: "ST2067-9/CplNotFound";
|
|
171
185
|
readonly DuplicateCplId: "ST2067-9/DuplicateCplId";
|
|
172
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
|
+
};
|
|
173
238
|
readonly ST2067_21: {
|
|
174
239
|
readonly ColorSystem: "ST2067-21/ColorSystem";
|
|
175
240
|
readonly BlackRefLevel: "ST2067-21/BlackRefLevel";
|
|
@@ -284,6 +349,63 @@ export declare const codes: {
|
|
|
284
349
|
readonly DataEssenceCodingInvalid: "ST2067-202/DataEssenceCodingInvalid";
|
|
285
350
|
readonly EssenceContainerInvalid: "ST2067-202/EssenceContainerInvalid";
|
|
286
351
|
};
|
|
352
|
+
readonly ST2067_203: {
|
|
353
|
+
readonly SequenceResourceNotTrackFile: "ST2067-203/SequenceResourceNotTrackFile";
|
|
354
|
+
readonly VirtualTrackParameterSetMissing: "ST2067-203/VirtualTrackParameterSetMissing";
|
|
355
|
+
readonly VirtualTrackParameterSetDuplicate: "ST2067-203/VirtualTrackParameterSetDuplicate";
|
|
356
|
+
readonly VirtualTrackParameterSetIdDuplicate: "ST2067-203/VirtualTrackParameterSetIdDuplicate";
|
|
357
|
+
readonly VirtualTrackParameterSetOrphaned: "ST2067-203/VirtualTrackParameterSetOrphaned";
|
|
358
|
+
readonly VirtualTrackParameterSetInvalid: "ST2067-203/VirtualTrackParameterSetInvalid";
|
|
359
|
+
readonly OperationalModeUnknown: "ST2067-203/OperationalModeUnknown";
|
|
360
|
+
readonly OperationalModeNotRecognized: "ST2067-203/OperationalModeNotRecognized";
|
|
361
|
+
readonly SoundfieldGroupSelectorDuplicate: "ST2067-203/SoundfieldGroupSelectorDuplicate";
|
|
362
|
+
readonly SoundfieldGroupSelectorResourceIdOrphaned: "ST2067-203/SoundfieldGroupSelectorResourceIdOrphaned";
|
|
363
|
+
readonly SoundfieldGroupLinkIdDuplicate: "ST2067-203/SoundfieldGroupLinkIdDuplicate";
|
|
364
|
+
readonly EditRateNotHomogeneous: "ST2067-203/EditRateNotHomogeneous";
|
|
365
|
+
readonly EditRateNotMultipleOfMainImage: "ST2067-203/EditRateNotMultipleOfMainImage";
|
|
366
|
+
readonly TrackFileNotMGA: "ST2067-203/TrackFileNotMGA";
|
|
367
|
+
readonly TrackFileAudioSampleRate: "ST2067-203/TrackFileAudioSampleRate";
|
|
368
|
+
readonly TrackFileQuantizationBits: "ST2067-203/TrackFileQuantizationBits";
|
|
369
|
+
readonly TrackFileSoundCompression: "ST2067-203/TrackFileSoundCompression";
|
|
370
|
+
readonly TrackFileReferenceItemMissing: "ST2067-203/TrackFileReferenceItemMissing";
|
|
371
|
+
readonly TrackFileNotClipWrapped: "ST2067-203/TrackFileNotClipWrapped";
|
|
372
|
+
readonly ContainerConstraintsSubDescriptorMissing: "ST2067-203/ContainerConstraintsSubDescriptorMissing";
|
|
373
|
+
readonly SADMSectionCount: "ST2067-203/SADMSectionCount";
|
|
374
|
+
readonly SADMSectionIdentifier: "ST2067-203/SADMSectionIdentifier";
|
|
375
|
+
readonly SADMSectionNotFirst: "ST2067-203/SADMSectionNotFirst";
|
|
376
|
+
readonly AudioMetadataPackUsed: "ST2067-203/AudioMetadataPackUsed";
|
|
377
|
+
readonly SADMSubDescriptorMismatch: "ST2067-203/SADMSubDescriptorMismatch";
|
|
378
|
+
readonly SADMProfileLevelULBatchMissing: "ST2067-203/SADMProfileLevelULBatchMissing";
|
|
379
|
+
readonly ForbiddenMCASubDescriptor: "ST2067-203/ForbiddenMCASubDescriptor";
|
|
380
|
+
readonly SoundfieldGroupLabelForSupplementalSection: "ST2067-203/SoundfieldGroupLabelForSupplementalSection";
|
|
381
|
+
readonly SoundfieldGroupLabelValue: "ST2067-203/SoundfieldGroupLabelValue";
|
|
382
|
+
readonly MCATagNameMissing: "ST2067-203/MCATagNameMissing";
|
|
383
|
+
readonly MCAChannelIDPresent: "ST2067-203/MCAChannelIDPresent";
|
|
384
|
+
readonly SoundfieldGroupLabelItemMissing: "ST2067-203/SoundfieldGroupLabelItemMissing";
|
|
385
|
+
readonly ResourceEditRateNotTrackFile: "ST2067-203/ResourceEditRateNotTrackFile";
|
|
386
|
+
readonly AudioSampleRateNotHomogeneous: "ST2067-203/AudioSampleRateNotHomogeneous";
|
|
387
|
+
readonly SoundfieldGroupLinkIdNotInTrackFile: "ST2067-203/SoundfieldGroupLinkIdNotInTrackFile";
|
|
388
|
+
readonly OperationalModeALabelItems: "ST2067-203/OperationalModeALabelItems";
|
|
389
|
+
};
|
|
390
|
+
readonly ST2067_204: {
|
|
391
|
+
readonly SequenceResourceNotTrackFile: "ST2067-204/SequenceResourceNotTrackFile";
|
|
392
|
+
readonly VirtualTrackParameterSetMissing: "ST2067-204/VirtualTrackParameterSetMissing";
|
|
393
|
+
readonly VirtualTrackParameterSetDuplicate: "ST2067-204/VirtualTrackParameterSetDuplicate";
|
|
394
|
+
readonly VirtualTrackParameterSetIdDuplicate: "ST2067-204/VirtualTrackParameterSetIdDuplicate";
|
|
395
|
+
readonly VirtualTrackParameterSetOrphaned: "ST2067-204/VirtualTrackParameterSetOrphaned";
|
|
396
|
+
readonly VirtualTrackParameterSetInvalid: "ST2067-204/VirtualTrackParameterSetInvalid";
|
|
397
|
+
readonly OperationalModeUnknown: "ST2067-204/OperationalModeUnknown";
|
|
398
|
+
readonly OperationalModeNotRecognized: "ST2067-204/OperationalModeNotRecognized";
|
|
399
|
+
readonly SoundfieldGroupSelectorDuplicate: "ST2067-204/SoundfieldGroupSelectorDuplicate";
|
|
400
|
+
readonly SoundfieldGroupSelectorResourceIdOrphaned: "ST2067-204/SoundfieldGroupSelectorResourceIdOrphaned";
|
|
401
|
+
readonly SoundfieldGroupLinkIdDuplicate: "ST2067-204/SoundfieldGroupLinkIdDuplicate";
|
|
402
|
+
readonly EditRateNotHomogeneous: "ST2067-204/EditRateNotHomogeneous";
|
|
403
|
+
readonly TrackFileNotWAVEPCM: "ST2067-204/TrackFileNotWAVEPCM";
|
|
404
|
+
readonly TrackFileChannelAssignment: "ST2067-204/TrackFileChannelAssignment";
|
|
405
|
+
readonly ForbiddenMCASubDescriptor: "ST2067-204/ForbiddenMCASubDescriptor";
|
|
406
|
+
readonly ResourceEditRateNotTrackFile: "ST2067-204/ResourceEditRateNotTrackFile";
|
|
407
|
+
readonly AudioSampleRateNotHomogeneous: "ST2067-204/AudioSampleRateNotHomogeneous";
|
|
408
|
+
};
|
|
287
409
|
readonly XSD: {
|
|
288
410
|
readonly ElementMissing: "XSD/ElementMissing";
|
|
289
411
|
readonly UnexpectedElement: "XSD/UnexpectedElement";
|
|
@@ -307,6 +429,7 @@ export declare const codes: {
|
|
|
307
429
|
readonly PartitionPackParseFailed: "IMFERNO/PartitionPackParseFailed";
|
|
308
430
|
readonly RegXmlConversionFailed: "IMFERNO/RegXmlConversionFailed";
|
|
309
431
|
readonly MxfHeaderUnreadable: "IMFERNO/MxfHeaderUnreadable";
|
|
432
|
+
readonly MxfFooterNotLocated: "IMFERNO/MxfFooterNotLocated";
|
|
310
433
|
readonly EssenceContainersDetected: "IMFERNO/EssenceContainersDetected";
|
|
311
434
|
readonly IoError: "IMFERNO/IoError";
|
|
312
435
|
readonly UnreferencedAsset: "IMFERNO/UnreferencedAsset";
|
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,7 @@ const codes = {
|
|
|
47
54
|
},
|
|
48
55
|
ST2067_2: {
|
|
49
56
|
NotImfCompositionPlaylist: "ST2067-2/NotImfCompositionPlaylist",
|
|
57
|
+
ApplicationCplMismatch: "ST2067-2/ApplicationCplMismatch",
|
|
50
58
|
ApplicationIdentificationMissing: "ST2067-2/ApplicationIdentificationMissing",
|
|
51
59
|
ApplicationIdentificationDuplicate: "ST2067-2/ApplicationIdentificationDuplicate",
|
|
52
60
|
PklMalformedXml: "ST2067-2/PklMalformedXml",
|
|
@@ -73,6 +81,7 @@ const codes = {
|
|
|
73
81
|
DigitalSignature: "ST2067-2/DigitalSignature",
|
|
74
82
|
EssenceDescriptorList: "ST2067-2/EssenceDescriptorList",
|
|
75
83
|
EssenceDescriptorContainerFormatMissing: "ST2067-2/EssenceDescriptorContainerFormatMissing",
|
|
84
|
+
EssenceDescriptorDiffersFromTrackFile: "ST2067-2/EssenceDescriptorDiffersFromTrackFile",
|
|
76
85
|
CplIdAssetMapMismatch: "ST2067-2/CplIdAssetMapMismatch",
|
|
77
86
|
OperationalPatternNotOP1A: "ST2067-2/OperationalPatternNotOP1A",
|
|
78
87
|
SoundDescriptorNotWAVEPCM: "ST2067-2/SoundDescriptorNotWAVEPCM",
|
|
@@ -101,6 +110,9 @@ const codes = {
|
|
|
101
110
|
TimedTextNamespaceNotIMSC: "ST2067-2/TimedTextNamespaceNotIMSC",
|
|
102
111
|
TimedTextResourceMIMETypeUnsupported: "ST2067-2/TimedTextResourceMIMETypeUnsupported",
|
|
103
112
|
TimedTextMappingKindNot0x13: "ST2067-2/TimedTextMappingKindNot0x13",
|
|
113
|
+
TimedTextDataEssenceCodingPresent: "ST2067-2/TimedTextDataEssenceCodingPresent",
|
|
114
|
+
TopLevelFilePackageOriginNotZero: "ST2067-2/TopLevelFilePackageOriginNotZero",
|
|
115
|
+
TopLevelFilePackageFiller: "ST2067-2/TopLevelFilePackageFiller",
|
|
104
116
|
MainImageVirtualTrackCount: "ST2067-2/MainImageVirtualTrackCount",
|
|
105
117
|
AudioVirtualTrackMissing: "ST2067-2/AudioVirtualTrackMissing",
|
|
106
118
|
TrackFileMediaType: "ST2067-2/TrackFileMediaType",
|
|
@@ -159,6 +171,8 @@ const codes = {
|
|
|
159
171
|
},
|
|
160
172
|
ST2067_5: {
|
|
161
173
|
OperationalPatternQualifier: "ST2067-5/OperationalPatternQualifier",
|
|
174
|
+
KagSizeNotOne: "ST2067-5/KagSizeNotOne",
|
|
175
|
+
EssenceContainerLabelNotSingle: "ST2067-5/EssenceContainerLabelNotSingle",
|
|
162
176
|
},
|
|
163
177
|
ST2067_9: {
|
|
164
178
|
MalformedXml: "ST2067-9/MalformedXml",
|
|
@@ -170,6 +184,57 @@ const codes = {
|
|
|
170
184
|
CplNotFound: "ST2067-9/CplNotFound",
|
|
171
185
|
DuplicateCplId: "ST2067-9/DuplicateCplId",
|
|
172
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
|
+
},
|
|
173
238
|
ST2067_21: {
|
|
174
239
|
ColorSystem: "ST2067-21/ColorSystem",
|
|
175
240
|
BlackRefLevel: "ST2067-21/BlackRefLevel",
|
|
@@ -284,6 +349,63 @@ const codes = {
|
|
|
284
349
|
DataEssenceCodingInvalid: "ST2067-202/DataEssenceCodingInvalid",
|
|
285
350
|
EssenceContainerInvalid: "ST2067-202/EssenceContainerInvalid",
|
|
286
351
|
},
|
|
352
|
+
ST2067_203: {
|
|
353
|
+
SequenceResourceNotTrackFile: "ST2067-203/SequenceResourceNotTrackFile",
|
|
354
|
+
VirtualTrackParameterSetMissing: "ST2067-203/VirtualTrackParameterSetMissing",
|
|
355
|
+
VirtualTrackParameterSetDuplicate: "ST2067-203/VirtualTrackParameterSetDuplicate",
|
|
356
|
+
VirtualTrackParameterSetIdDuplicate: "ST2067-203/VirtualTrackParameterSetIdDuplicate",
|
|
357
|
+
VirtualTrackParameterSetOrphaned: "ST2067-203/VirtualTrackParameterSetOrphaned",
|
|
358
|
+
VirtualTrackParameterSetInvalid: "ST2067-203/VirtualTrackParameterSetInvalid",
|
|
359
|
+
OperationalModeUnknown: "ST2067-203/OperationalModeUnknown",
|
|
360
|
+
OperationalModeNotRecognized: "ST2067-203/OperationalModeNotRecognized",
|
|
361
|
+
SoundfieldGroupSelectorDuplicate: "ST2067-203/SoundfieldGroupSelectorDuplicate",
|
|
362
|
+
SoundfieldGroupSelectorResourceIdOrphaned: "ST2067-203/SoundfieldGroupSelectorResourceIdOrphaned",
|
|
363
|
+
SoundfieldGroupLinkIdDuplicate: "ST2067-203/SoundfieldGroupLinkIdDuplicate",
|
|
364
|
+
EditRateNotHomogeneous: "ST2067-203/EditRateNotHomogeneous",
|
|
365
|
+
EditRateNotMultipleOfMainImage: "ST2067-203/EditRateNotMultipleOfMainImage",
|
|
366
|
+
TrackFileNotMGA: "ST2067-203/TrackFileNotMGA",
|
|
367
|
+
TrackFileAudioSampleRate: "ST2067-203/TrackFileAudioSampleRate",
|
|
368
|
+
TrackFileQuantizationBits: "ST2067-203/TrackFileQuantizationBits",
|
|
369
|
+
TrackFileSoundCompression: "ST2067-203/TrackFileSoundCompression",
|
|
370
|
+
TrackFileReferenceItemMissing: "ST2067-203/TrackFileReferenceItemMissing",
|
|
371
|
+
TrackFileNotClipWrapped: "ST2067-203/TrackFileNotClipWrapped",
|
|
372
|
+
ContainerConstraintsSubDescriptorMissing: "ST2067-203/ContainerConstraintsSubDescriptorMissing",
|
|
373
|
+
SADMSectionCount: "ST2067-203/SADMSectionCount",
|
|
374
|
+
SADMSectionIdentifier: "ST2067-203/SADMSectionIdentifier",
|
|
375
|
+
SADMSectionNotFirst: "ST2067-203/SADMSectionNotFirst",
|
|
376
|
+
AudioMetadataPackUsed: "ST2067-203/AudioMetadataPackUsed",
|
|
377
|
+
SADMSubDescriptorMismatch: "ST2067-203/SADMSubDescriptorMismatch",
|
|
378
|
+
SADMProfileLevelULBatchMissing: "ST2067-203/SADMProfileLevelULBatchMissing",
|
|
379
|
+
ForbiddenMCASubDescriptor: "ST2067-203/ForbiddenMCASubDescriptor",
|
|
380
|
+
SoundfieldGroupLabelForSupplementalSection: "ST2067-203/SoundfieldGroupLabelForSupplementalSection",
|
|
381
|
+
SoundfieldGroupLabelValue: "ST2067-203/SoundfieldGroupLabelValue",
|
|
382
|
+
MCATagNameMissing: "ST2067-203/MCATagNameMissing",
|
|
383
|
+
MCAChannelIDPresent: "ST2067-203/MCAChannelIDPresent",
|
|
384
|
+
SoundfieldGroupLabelItemMissing: "ST2067-203/SoundfieldGroupLabelItemMissing",
|
|
385
|
+
ResourceEditRateNotTrackFile: "ST2067-203/ResourceEditRateNotTrackFile",
|
|
386
|
+
AudioSampleRateNotHomogeneous: "ST2067-203/AudioSampleRateNotHomogeneous",
|
|
387
|
+
SoundfieldGroupLinkIdNotInTrackFile: "ST2067-203/SoundfieldGroupLinkIdNotInTrackFile",
|
|
388
|
+
OperationalModeALabelItems: "ST2067-203/OperationalModeALabelItems",
|
|
389
|
+
},
|
|
390
|
+
ST2067_204: {
|
|
391
|
+
SequenceResourceNotTrackFile: "ST2067-204/SequenceResourceNotTrackFile",
|
|
392
|
+
VirtualTrackParameterSetMissing: "ST2067-204/VirtualTrackParameterSetMissing",
|
|
393
|
+
VirtualTrackParameterSetDuplicate: "ST2067-204/VirtualTrackParameterSetDuplicate",
|
|
394
|
+
VirtualTrackParameterSetIdDuplicate: "ST2067-204/VirtualTrackParameterSetIdDuplicate",
|
|
395
|
+
VirtualTrackParameterSetOrphaned: "ST2067-204/VirtualTrackParameterSetOrphaned",
|
|
396
|
+
VirtualTrackParameterSetInvalid: "ST2067-204/VirtualTrackParameterSetInvalid",
|
|
397
|
+
OperationalModeUnknown: "ST2067-204/OperationalModeUnknown",
|
|
398
|
+
OperationalModeNotRecognized: "ST2067-204/OperationalModeNotRecognized",
|
|
399
|
+
SoundfieldGroupSelectorDuplicate: "ST2067-204/SoundfieldGroupSelectorDuplicate",
|
|
400
|
+
SoundfieldGroupSelectorResourceIdOrphaned: "ST2067-204/SoundfieldGroupSelectorResourceIdOrphaned",
|
|
401
|
+
SoundfieldGroupLinkIdDuplicate: "ST2067-204/SoundfieldGroupLinkIdDuplicate",
|
|
402
|
+
EditRateNotHomogeneous: "ST2067-204/EditRateNotHomogeneous",
|
|
403
|
+
TrackFileNotWAVEPCM: "ST2067-204/TrackFileNotWAVEPCM",
|
|
404
|
+
TrackFileChannelAssignment: "ST2067-204/TrackFileChannelAssignment",
|
|
405
|
+
ForbiddenMCASubDescriptor: "ST2067-204/ForbiddenMCASubDescriptor",
|
|
406
|
+
ResourceEditRateNotTrackFile: "ST2067-204/ResourceEditRateNotTrackFile",
|
|
407
|
+
AudioSampleRateNotHomogeneous: "ST2067-204/AudioSampleRateNotHomogeneous",
|
|
408
|
+
},
|
|
287
409
|
XSD: {
|
|
288
410
|
ElementMissing: "XSD/ElementMissing",
|
|
289
411
|
UnexpectedElement: "XSD/UnexpectedElement",
|
|
@@ -307,6 +429,7 @@ const codes = {
|
|
|
307
429
|
PartitionPackParseFailed: "IMFERNO/PartitionPackParseFailed",
|
|
308
430
|
RegXmlConversionFailed: "IMFERNO/RegXmlConversionFailed",
|
|
309
431
|
MxfHeaderUnreadable: "IMFERNO/MxfHeaderUnreadable",
|
|
432
|
+
MxfFooterNotLocated: "IMFERNO/MxfFooterNotLocated",
|
|
310
433
|
EssenceContainersDetected: "IMFERNO/EssenceContainersDetected",
|
|
311
434
|
IoError: "IMFERNO/IoError",
|
|
312
435
|
UnreferencedAsset: "IMFERNO/UnreferencedAsset",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imferno/node",
|
|
3
|
-
"version": "3.0.2-beta.
|
|
3
|
+
"version": "3.0.2-beta.3cf00f9",
|
|
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.
|
|
49
|
-
"@imferno/node-darwin-x64": "3.0.2-beta.
|
|
50
|
-
"@imferno/node-linux-x64-gnu": "3.0.2-beta.
|
|
51
|
-
"@imferno/node-linux-arm64-gnu": "3.0.2-beta.
|
|
52
|
-
"@imferno/node-win32-x64-msvc": "3.0.2-beta.
|
|
53
|
-
"@imferno/node-win32-arm64-msvc": "3.0.2-beta.
|
|
48
|
+
"@imferno/node-darwin-arm64": "3.0.2-beta.3cf00f9",
|
|
49
|
+
"@imferno/node-darwin-x64": "3.0.2-beta.3cf00f9",
|
|
50
|
+
"@imferno/node-linux-x64-gnu": "3.0.2-beta.3cf00f9",
|
|
51
|
+
"@imferno/node-linux-arm64-gnu": "3.0.2-beta.3cf00f9",
|
|
52
|
+
"@imferno/node-win32-x64-msvc": "3.0.2-beta.3cf00f9",
|
|
53
|
+
"@imferno/node-win32-arm64-msvc": "3.0.2-beta.3cf00f9"
|
|
54
54
|
},
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public"
|
package/types.d.ts
CHANGED
|
@@ -66,9 +66,12 @@ export type Spec =
|
|
|
66
66
|
| "ST2067-3"
|
|
67
67
|
| "ST2067-5"
|
|
68
68
|
| "ST2067-9"
|
|
69
|
+
| "ST2067-20"
|
|
69
70
|
| "ST2067-21"
|
|
70
71
|
| "ST2067-201"
|
|
71
72
|
| "ST2067-202"
|
|
73
|
+
| "ST2067-203"
|
|
74
|
+
| "ST2067-204"
|
|
72
75
|
| "XSD"
|
|
73
76
|
| "IMFERNO";
|
|
74
77
|
/**
|
|
@@ -404,13 +407,17 @@ export interface ValidationIssue {
|
|
|
404
407
|
context: {
|
|
405
408
|
[k: string]: string | undefined;
|
|
406
409
|
};
|
|
410
|
+
/**
|
|
411
|
+
* 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.
|
|
412
|
+
*/
|
|
413
|
+
detail?: string | null;
|
|
407
414
|
/**
|
|
408
415
|
* Edition of the spec that was applied (`"2016"`; empty for single-edition pseudo-specs).
|
|
409
416
|
*/
|
|
410
417
|
edition: string;
|
|
411
418
|
location: Location;
|
|
412
419
|
/**
|
|
413
|
-
*
|
|
420
|
+
* What is wrong, in one short plain sentence for a person to read.
|
|
414
421
|
*/
|
|
415
422
|
message: string;
|
|
416
423
|
/**
|
|
@@ -422,7 +429,7 @@ export interface ValidationIssue {
|
|
|
422
429
|
spec: Spec;
|
|
423
430
|
strength: Strength;
|
|
424
431
|
/**
|
|
425
|
-
*
|
|
432
|
+
* What to do about it.
|
|
426
433
|
*/
|
|
427
434
|
suggestion?: string | null;
|
|
428
435
|
}
|
|
@@ -972,7 +979,7 @@ export interface IABSoundfieldLabelSubDescriptor {
|
|
|
972
979
|
RFC5646SpokenLanguage?: LanguageTag | null;
|
|
973
980
|
}
|
|
974
981
|
/**
|
|
975
|
-
* ISXD (
|
|
982
|
+
* ISXD (Isochronous Stream of XML Documents, ST 2067-202) data essence descriptor
|
|
976
983
|
*/
|
|
977
984
|
export interface ISXDDataEssenceDescriptor {
|
|
978
985
|
/**
|