@imferno/node 3.0.2-beta.6b1e6f0 → 3.0.2-beta.8180229
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/README.md +1 -0
- package/codes.d.ts +221 -0
- package/codes.js +221 -0
- package/package.json +7 -7
- package/types.d.ts +158 -13
package/README.md
CHANGED
|
@@ -151,6 +151,7 @@ console.log(getVersion()); // e.g. "2.0.0"
|
|
|
151
151
|
| `aggregateRepeats` | `boolean` | Collapse repeated identical findings into one issue with `additional_instances` |
|
|
152
152
|
| `skipDiskChecks` | `boolean` | Skip every disk read: asset existence, size and hash checks and MXF checks (path / URI functions only; in-memory input never touches disk) |
|
|
153
153
|
| `skipHashes` | `boolean` | Skip hashing the assets; existence and size are still checked (path / URI functions only). Hashes are verified by default, like the CLI |
|
|
154
|
+
| `with` | `Array<string \| Record<string, string>>` | Packages this one depends on (the original of a supplemental package): package directories or file maps. Track files its CPLs use are looked up there too |
|
|
154
155
|
| `credentials` | `S3Credentials \| null` | Explicit S3 credentials (URI functions only) |
|
|
155
156
|
|
|
156
157
|
An option the function does not accept, or a value of the wrong type, throws.
|
package/codes.d.ts
CHANGED
|
@@ -8,6 +8,16 @@ export declare const codes: {
|
|
|
8
8
|
readonly HeaderPartitionOpen: "ST377-1/HeaderPartitionOpen";
|
|
9
9
|
readonly MissingHeaderMetadata: "ST377-1/MissingHeaderMetadata";
|
|
10
10
|
readonly StructuralComponentDurationMissing: "ST377-1/StructuralComponentDurationMissing";
|
|
11
|
+
readonly FileDescriptorEssenceContainerMissing: "ST377-1/FileDescriptorEssenceContainerMissing";
|
|
12
|
+
readonly PrefaceEssenceContainersIncomplete: "ST377-1/PrefaceEssenceContainersIncomplete";
|
|
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";
|
|
11
21
|
};
|
|
12
22
|
readonly ST377_4: {
|
|
13
23
|
readonly MCALinkIDMissing: "ST377-4/MCALinkIDMissing";
|
|
@@ -19,6 +29,7 @@ export declare const codes: {
|
|
|
19
29
|
readonly ST429_8: {
|
|
20
30
|
readonly SizeMismatch: "ST429-8/SizeMismatch";
|
|
21
31
|
readonly ChecksumMismatch: "ST429-8/ChecksumMismatch";
|
|
32
|
+
readonly MalformedXml: "ST429-8/MalformedXml";
|
|
22
33
|
};
|
|
23
34
|
readonly ST429_9: {
|
|
24
35
|
readonly AssetListEmpty: "ST429-9/AssetListEmpty";
|
|
@@ -33,14 +44,26 @@ export declare const codes: {
|
|
|
33
44
|
readonly AssetMapHasNoPackingList: "ST429-9/AssetMapHasNoPackingList";
|
|
34
45
|
readonly PklIdNotInAssetMap: "ST429-9/PklIdNotInAssetMap";
|
|
35
46
|
readonly AssetMapMalformedXml: "ST429-9/AssetMapMalformedXml";
|
|
47
|
+
readonly PackingListFlagNotPkl: "ST429-9/PackingListFlagNotPkl";
|
|
48
|
+
readonly VolumeCountNotOne: "ST429-9/VolumeCountNotOne";
|
|
49
|
+
readonly ChunkCountNotOne: "ST429-9/ChunkCountNotOne";
|
|
50
|
+
readonly ChunkVolumeIndexNotOne: "ST429-9/ChunkVolumeIndexNotOne";
|
|
51
|
+
readonly ChunkOffsetNotZero: "ST429-9/ChunkOffsetNotZero";
|
|
52
|
+
readonly ChunkLengthMismatch: "ST429-9/ChunkLengthMismatch";
|
|
53
|
+
readonly SymbolicLink: "ST429-9/SymbolicLink";
|
|
36
54
|
};
|
|
37
55
|
readonly ST2067_2: {
|
|
38
56
|
readonly NotImfCompositionPlaylist: "ST2067-2/NotImfCompositionPlaylist";
|
|
57
|
+
readonly ApplicationCplMismatch: "ST2067-2/ApplicationCplMismatch";
|
|
58
|
+
readonly ApplicationIdentificationMissing: "ST2067-2/ApplicationIdentificationMissing";
|
|
59
|
+
readonly ApplicationIdentificationDuplicate: "ST2067-2/ApplicationIdentificationDuplicate";
|
|
39
60
|
readonly PklMalformedXml: "ST2067-2/PklMalformedXml";
|
|
61
|
+
readonly NoPackingList: "ST2067-2/NoPackingList";
|
|
40
62
|
readonly NoCpls: "ST2067-2/NoCpls";
|
|
41
63
|
readonly SizeMismatch: "ST2067-2/SizeMismatch";
|
|
42
64
|
readonly FileNotFound: "ST2067-2/FileNotFound";
|
|
43
65
|
readonly ChecksumMismatch: "ST2067-2/ChecksumMismatch";
|
|
66
|
+
readonly PackingListsDisagreeOnAsset: "ST2067-2/PackingListsDisagreeOnAsset";
|
|
44
67
|
readonly UnresolvedUuid: "ST2067-2/UnresolvedUuid";
|
|
45
68
|
readonly TrackFileNotInPackage: "ST2067-2/TrackFileNotInPackage";
|
|
46
69
|
readonly DuplicateUuid: "ST2067-2/DuplicateUuid";
|
|
@@ -58,6 +81,8 @@ export declare const codes: {
|
|
|
58
81
|
readonly SoundfieldChannelCount: "ST2067-2/SoundfieldChannelCount";
|
|
59
82
|
readonly DigitalSignature: "ST2067-2/DigitalSignature";
|
|
60
83
|
readonly EssenceDescriptorList: "ST2067-2/EssenceDescriptorList";
|
|
84
|
+
readonly EssenceDescriptorContainerFormatMissing: "ST2067-2/EssenceDescriptorContainerFormatMissing";
|
|
85
|
+
readonly EssenceDescriptorDiffersFromTrackFile: "ST2067-2/EssenceDescriptorDiffersFromTrackFile";
|
|
61
86
|
readonly CplIdAssetMapMismatch: "ST2067-2/CplIdAssetMapMismatch";
|
|
62
87
|
readonly OperationalPatternNotOP1A: "ST2067-2/OperationalPatternNotOP1A";
|
|
63
88
|
readonly SoundDescriptorNotWAVEPCM: "ST2067-2/SoundDescriptorNotWAVEPCM";
|
|
@@ -86,8 +111,23 @@ export declare const codes: {
|
|
|
86
111
|
readonly TimedTextNamespaceNotIMSC: "ST2067-2/TimedTextNamespaceNotIMSC";
|
|
87
112
|
readonly TimedTextResourceMIMETypeUnsupported: "ST2067-2/TimedTextResourceMIMETypeUnsupported";
|
|
88
113
|
readonly TimedTextMappingKindNot0x13: "ST2067-2/TimedTextMappingKindNot0x13";
|
|
114
|
+
readonly TimedTextDataEssenceCodingPresent: "ST2067-2/TimedTextDataEssenceCodingPresent";
|
|
115
|
+
readonly TopLevelFilePackageOriginNotZero: "ST2067-2/TopLevelFilePackageOriginNotZero";
|
|
116
|
+
readonly TopLevelFilePackageFiller: "ST2067-2/TopLevelFilePackageFiller";
|
|
89
117
|
readonly MainImageVirtualTrackCount: "ST2067-2/MainImageVirtualTrackCount";
|
|
90
118
|
readonly AudioVirtualTrackMissing: "ST2067-2/AudioVirtualTrackMissing";
|
|
119
|
+
readonly TrackFileMediaType: "ST2067-2/TrackFileMediaType";
|
|
120
|
+
readonly CompositionEditRateMismatch: "ST2067-2/CompositionEditRateMismatch";
|
|
121
|
+
readonly MainImageEditRateMismatch: "ST2067-2/MainImageEditRateMismatch";
|
|
122
|
+
readonly AudioEditRateMismatch: "ST2067-2/AudioEditRateMismatch";
|
|
123
|
+
readonly ContentVersionMissing: "ST2067-2/ContentVersionMissing";
|
|
124
|
+
readonly ReferenceImageEditRateMissing: "ST2067-2/ReferenceImageEditRateMissing";
|
|
125
|
+
readonly ReferenceImageEditRateMismatch: "ST2067-2/ReferenceImageEditRateMismatch";
|
|
126
|
+
readonly AssetIdPackageUidMismatch: "ST2067-2/AssetIdPackageUidMismatch";
|
|
127
|
+
readonly TrackFileIdPackageUidMismatch: "ST2067-2/TrackFileIdPackageUidMismatch";
|
|
128
|
+
readonly PackageUidForm: "ST2067-2/PackageUidForm";
|
|
129
|
+
readonly UuidNotVersion4: "ST2067-2/UuidNotVersion4";
|
|
130
|
+
readonly AssetIdNotType5: "ST2067-2/AssetIdNotType5";
|
|
91
131
|
};
|
|
92
132
|
readonly ST2067_3: {
|
|
93
133
|
readonly ContentTitleEmpty: "ST2067-3/ContentTitleEmpty";
|
|
@@ -115,7 +155,12 @@ export declare const codes: {
|
|
|
115
155
|
readonly TrackFileId: "ST2067-3/TrackFileId";
|
|
116
156
|
readonly SourceEncodingMissing: "ST2067-3/SourceEncodingMissing";
|
|
117
157
|
readonly VirtualTrackContinuity: "ST2067-3/VirtualTrackContinuity";
|
|
158
|
+
readonly VirtualTrackSequenceKind: "ST2067-3/VirtualTrackSequenceKind";
|
|
159
|
+
readonly ExtensionSequenceNotSequenceType: "ST2067-3/ExtensionSequenceNotSequenceType";
|
|
160
|
+
readonly ResourceTypeMixed: "ST2067-3/ResourceTypeMixed";
|
|
161
|
+
readonly MarkerSequenceResourceType: "ST2067-3/MarkerSequenceResourceType";
|
|
118
162
|
readonly DanglingEssenceDescriptor: "ST2067-3/DanglingEssenceDescriptor";
|
|
163
|
+
readonly CplMediaType: "ST2067-3/CplMediaType";
|
|
119
164
|
readonly UniqueSequenceId: "ST2067-3/UniqueSequenceId";
|
|
120
165
|
readonly ContentMaturityRatingAgencyDuplicate: "ST2067-3/ContentMaturityRatingAgencyDuplicate";
|
|
121
166
|
readonly LocaleRegionInvalid: "ST2067-3/LocaleRegionInvalid";
|
|
@@ -127,6 +172,8 @@ export declare const codes: {
|
|
|
127
172
|
};
|
|
128
173
|
readonly ST2067_5: {
|
|
129
174
|
readonly OperationalPatternQualifier: "ST2067-5/OperationalPatternQualifier";
|
|
175
|
+
readonly KagSizeNotOne: "ST2067-5/KagSizeNotOne";
|
|
176
|
+
readonly EssenceContainerLabelNotSingle: "ST2067-5/EssenceContainerLabelNotSingle";
|
|
130
177
|
};
|
|
131
178
|
readonly ST2067_9: {
|
|
132
179
|
readonly MalformedXml: "ST2067-9/MalformedXml";
|
|
@@ -138,6 +185,57 @@ export declare const codes: {
|
|
|
138
185
|
readonly CplNotFound: "ST2067-9/CplNotFound";
|
|
139
186
|
readonly DuplicateCplId: "ST2067-9/DuplicateCplId";
|
|
140
187
|
};
|
|
188
|
+
readonly ST2067_20: {
|
|
189
|
+
readonly ApplicationIdentification: "ST2067-20/ApplicationIdentification";
|
|
190
|
+
readonly AppIdMismatch: "ST2067-20/AppIdMismatch";
|
|
191
|
+
readonly ImageCharacteristics: "ST2067-20/ImageCharacteristics";
|
|
192
|
+
readonly TransferCharacteristic: "ST2067-20/TransferCharacteristic";
|
|
193
|
+
readonly CodingEquations: "ST2067-20/CodingEquations";
|
|
194
|
+
readonly ColorPrimaries: "ST2067-20/ColorPrimaries";
|
|
195
|
+
readonly J2KRequired: "ST2067-20/J2KRequired";
|
|
196
|
+
readonly PictureEssenceCoding: "ST2067-20/PictureEssenceCoding";
|
|
197
|
+
readonly FrameLayout: "ST2067-20/FrameLayout";
|
|
198
|
+
readonly StoredF2Offset: "ST2067-20/StoredF2Offset";
|
|
199
|
+
readonly SampledWidth: "ST2067-20/SampledWidth";
|
|
200
|
+
readonly SampledHeight: "ST2067-20/SampledHeight";
|
|
201
|
+
readonly SampledXOffset: "ST2067-20/SampledXOffset";
|
|
202
|
+
readonly SampledYOffset: "ST2067-20/SampledYOffset";
|
|
203
|
+
readonly DisplayF2Offset: "ST2067-20/DisplayF2Offset";
|
|
204
|
+
readonly AlphaTransparency: "ST2067-20/AlphaTransparency";
|
|
205
|
+
readonly ImageAlignmentOffset: "ST2067-20/ImageAlignmentOffset";
|
|
206
|
+
readonly ImageStartOffset: "ST2067-20/ImageStartOffset";
|
|
207
|
+
readonly ImageEndOffset: "ST2067-20/ImageEndOffset";
|
|
208
|
+
readonly FieldDominance: "ST2067-20/FieldDominance";
|
|
209
|
+
readonly TransferCharacteristicMissing: "ST2067-20/TransferCharacteristicMissing";
|
|
210
|
+
readonly ColorPrimariesMissing: "ST2067-20/ColorPrimariesMissing";
|
|
211
|
+
readonly CodingEquationsMissing: "ST2067-20/CodingEquationsMissing";
|
|
212
|
+
readonly RequiredPictureCompression: "ST2067-20/RequiredPictureCompression";
|
|
213
|
+
readonly ComponentMaxRef: "ST2067-20/ComponentMaxRef";
|
|
214
|
+
readonly ComponentMinRef: "ST2067-20/ComponentMinRef";
|
|
215
|
+
readonly AlphaMaxRef: "ST2067-20/AlphaMaxRef";
|
|
216
|
+
readonly AlphaMinRef: "ST2067-20/AlphaMinRef";
|
|
217
|
+
readonly ScanningDirection: "ST2067-20/ScanningDirection";
|
|
218
|
+
readonly Palette: "ST2067-20/Palette";
|
|
219
|
+
readonly PaletteLayout: "ST2067-20/PaletteLayout";
|
|
220
|
+
readonly ComponentRefValues: "ST2067-20/ComponentRefValues";
|
|
221
|
+
readonly ComponentDepth: "ST2067-20/ComponentDepth";
|
|
222
|
+
readonly VerticalSubsampling: "ST2067-20/VerticalSubsampling";
|
|
223
|
+
readonly ColorSiting: "ST2067-20/ColorSiting";
|
|
224
|
+
readonly ReversedByteOrder: "ST2067-20/ReversedByteOrder";
|
|
225
|
+
readonly PaddingBits: "ST2067-20/PaddingBits";
|
|
226
|
+
readonly AlphaSampleDepth: "ST2067-20/AlphaSampleDepth";
|
|
227
|
+
readonly RefLevelMissing: "ST2067-20/RefLevelMissing";
|
|
228
|
+
readonly HorizontalSubsampling: "ST2067-20/HorizontalSubsampling";
|
|
229
|
+
readonly BlackRefLevel: "ST2067-20/BlackRefLevel";
|
|
230
|
+
readonly WhiteRefLevel: "ST2067-20/WhiteRefLevel";
|
|
231
|
+
readonly ColorRange: "ST2067-20/ColorRange";
|
|
232
|
+
readonly Jpeg2000SubDescriptor: "ST2067-20/Jpeg2000SubDescriptor";
|
|
233
|
+
readonly CodingStyle: "ST2067-20/CodingStyle";
|
|
234
|
+
readonly J2CLayout: "ST2067-20/J2CLayout";
|
|
235
|
+
readonly J2CLayoutValue: "ST2067-20/J2CLayoutValue";
|
|
236
|
+
readonly HomogeneousImageEssence: "ST2067-20/HomogeneousImageEssence";
|
|
237
|
+
readonly SegmentDurationMultiple: "ST2067-20/SegmentDurationMultiple";
|
|
238
|
+
};
|
|
141
239
|
readonly ST2067_21: {
|
|
142
240
|
readonly ColorSystem: "ST2067-21/ColorSystem";
|
|
143
241
|
readonly BlackRefLevel: "ST2067-21/BlackRefLevel";
|
|
@@ -210,6 +308,32 @@ export declare const codes: {
|
|
|
210
308
|
readonly PictureEssenceCoding: "ST2067-21/PictureEssenceCoding";
|
|
211
309
|
readonly HtCodestreamConstraints: "ST2067-21/HtCodestreamConstraints";
|
|
212
310
|
};
|
|
311
|
+
readonly ST2067_50: {
|
|
312
|
+
readonly ApplicationIdentification: "ST2067-50/ApplicationIdentification";
|
|
313
|
+
readonly ImageDescriptorNotRgba: "ST2067-50/ImageDescriptorNotRgba";
|
|
314
|
+
readonly EssenceContainer: "ST2067-50/EssenceContainer";
|
|
315
|
+
readonly PictureEssenceCoding: "ST2067-50/PictureEssenceCoding";
|
|
316
|
+
readonly TransferCharacteristic: "ST2067-50/TransferCharacteristic";
|
|
317
|
+
readonly ColorPrimaries: "ST2067-50/ColorPrimaries";
|
|
318
|
+
readonly DescriptorItemNotAllowed: "ST2067-50/DescriptorItemNotAllowed";
|
|
319
|
+
readonly FrameLayout: "ST2067-50/FrameLayout";
|
|
320
|
+
readonly SampledArea: "ST2067-50/SampledArea";
|
|
321
|
+
readonly VideoLineMap: "ST2067-50/VideoLineMap";
|
|
322
|
+
readonly ScanningDirection: "ST2067-50/ScanningDirection";
|
|
323
|
+
readonly PixelLayout: "ST2067-50/PixelLayout";
|
|
324
|
+
readonly ContainerConstraintsSubDescriptorMissing: "ST2067-50/ContainerConstraintsSubDescriptorMissing";
|
|
325
|
+
readonly FrameRate: "ST2067-50/FrameRate";
|
|
326
|
+
readonly HomogeneousImageEssence: "ST2067-50/HomogeneousImageEssence";
|
|
327
|
+
readonly SegmentDuration: "ST2067-50/SegmentDuration";
|
|
328
|
+
readonly MasteringDisplayItems: "ST2067-50/MasteringDisplayItems";
|
|
329
|
+
readonly TargetFrameCount: "ST2067-50/TargetFrameCount";
|
|
330
|
+
readonly TargetFrameItemsMissing: "ST2067-50/TargetFrameItemsMissing";
|
|
331
|
+
readonly TargetFrameAncillaryResourceId: "ST2067-50/TargetFrameAncillaryResourceId";
|
|
332
|
+
readonly TargetFrameMediaType: "ST2067-50/TargetFrameMediaType";
|
|
333
|
+
readonly TargetFrameIndex: "ST2067-50/TargetFrameIndex";
|
|
334
|
+
readonly TargetFrameAcesReference: "ST2067-50/TargetFrameAcesReference";
|
|
335
|
+
readonly TargetFrameViewingEnvironment: "ST2067-50/TargetFrameViewingEnvironment";
|
|
336
|
+
};
|
|
213
337
|
readonly ST2067_201: {
|
|
214
338
|
readonly CodecForbidden: "ST2067-201/CodecForbidden";
|
|
215
339
|
readonly ElectrospatialFormulationInvalid: "ST2067-201/ElectrospatialFormulationInvalid";
|
|
@@ -235,7 +359,11 @@ export declare const codes: {
|
|
|
235
359
|
readonly SubDescriptorDuplicate: "ST2067-201/SubDescriptorDuplicate";
|
|
236
360
|
readonly MCAChannelIDForbidden: "ST2067-201/MCAChannelIDForbidden";
|
|
237
361
|
readonly EditRateNotIntegerMultiple: "ST2067-201/EditRateNotIntegerMultiple";
|
|
362
|
+
readonly ResourceEditRateNotSampleRate: "ST2067-201/ResourceEditRateNotSampleRate";
|
|
238
363
|
readonly IabChannelSubDescriptorRecommended: "ST2067-201/IabChannelSubDescriptorRecommended";
|
|
364
|
+
readonly ConformsToSpecificationsMissing: "ST2067-201/ConformsToSpecificationsMissing";
|
|
365
|
+
readonly ConformsToSpecificationsInvalid: "ST2067-201/ConformsToSpecificationsInvalid";
|
|
366
|
+
readonly EssenceNotHomogeneous: "ST2067-201/EssenceNotHomogeneous";
|
|
239
367
|
};
|
|
240
368
|
readonly ST2067_202: {
|
|
241
369
|
readonly NamespaceUriMissing: "ST2067-202/NamespaceUriMissing";
|
|
@@ -246,6 +374,91 @@ export declare const codes: {
|
|
|
246
374
|
readonly ISXDVirtualTrackMissing: "ST2067-202/ISXDVirtualTrackMissing";
|
|
247
375
|
readonly DataEssenceCodingMissing: "ST2067-202/DataEssenceCodingMissing";
|
|
248
376
|
readonly DataEssenceCodingInvalid: "ST2067-202/DataEssenceCodingInvalid";
|
|
377
|
+
readonly EssenceContainerInvalid: "ST2067-202/EssenceContainerInvalid";
|
|
378
|
+
};
|
|
379
|
+
readonly ST2067_203: {
|
|
380
|
+
readonly SequenceResourceNotTrackFile: "ST2067-203/SequenceResourceNotTrackFile";
|
|
381
|
+
readonly VirtualTrackParameterSetMissing: "ST2067-203/VirtualTrackParameterSetMissing";
|
|
382
|
+
readonly VirtualTrackParameterSetDuplicate: "ST2067-203/VirtualTrackParameterSetDuplicate";
|
|
383
|
+
readonly VirtualTrackParameterSetIdDuplicate: "ST2067-203/VirtualTrackParameterSetIdDuplicate";
|
|
384
|
+
readonly VirtualTrackParameterSetOrphaned: "ST2067-203/VirtualTrackParameterSetOrphaned";
|
|
385
|
+
readonly VirtualTrackParameterSetInvalid: "ST2067-203/VirtualTrackParameterSetInvalid";
|
|
386
|
+
readonly OperationalModeUnknown: "ST2067-203/OperationalModeUnknown";
|
|
387
|
+
readonly OperationalModeNotRecognized: "ST2067-203/OperationalModeNotRecognized";
|
|
388
|
+
readonly SoundfieldGroupSelectorDuplicate: "ST2067-203/SoundfieldGroupSelectorDuplicate";
|
|
389
|
+
readonly SoundfieldGroupSelectorResourceIdOrphaned: "ST2067-203/SoundfieldGroupSelectorResourceIdOrphaned";
|
|
390
|
+
readonly SoundfieldGroupLinkIdDuplicate: "ST2067-203/SoundfieldGroupLinkIdDuplicate";
|
|
391
|
+
readonly EditRateNotHomogeneous: "ST2067-203/EditRateNotHomogeneous";
|
|
392
|
+
readonly EditRateNotMultipleOfMainImage: "ST2067-203/EditRateNotMultipleOfMainImage";
|
|
393
|
+
readonly TrackFileNotMGA: "ST2067-203/TrackFileNotMGA";
|
|
394
|
+
readonly TrackFileAudioSampleRate: "ST2067-203/TrackFileAudioSampleRate";
|
|
395
|
+
readonly TrackFileQuantizationBits: "ST2067-203/TrackFileQuantizationBits";
|
|
396
|
+
readonly TrackFileSoundCompression: "ST2067-203/TrackFileSoundCompression";
|
|
397
|
+
readonly TrackFileReferenceItemMissing: "ST2067-203/TrackFileReferenceItemMissing";
|
|
398
|
+
readonly TrackFileNotClipWrapped: "ST2067-203/TrackFileNotClipWrapped";
|
|
399
|
+
readonly ContainerConstraintsSubDescriptorMissing: "ST2067-203/ContainerConstraintsSubDescriptorMissing";
|
|
400
|
+
readonly SADMSectionCount: "ST2067-203/SADMSectionCount";
|
|
401
|
+
readonly SADMSectionIdentifier: "ST2067-203/SADMSectionIdentifier";
|
|
402
|
+
readonly SADMSectionNotFirst: "ST2067-203/SADMSectionNotFirst";
|
|
403
|
+
readonly AudioMetadataPackUsed: "ST2067-203/AudioMetadataPackUsed";
|
|
404
|
+
readonly SADMSubDescriptorMismatch: "ST2067-203/SADMSubDescriptorMismatch";
|
|
405
|
+
readonly SADMProfileLevelULBatchMissing: "ST2067-203/SADMProfileLevelULBatchMissing";
|
|
406
|
+
readonly ForbiddenMCASubDescriptor: "ST2067-203/ForbiddenMCASubDescriptor";
|
|
407
|
+
readonly SoundfieldGroupLabelForSupplementalSection: "ST2067-203/SoundfieldGroupLabelForSupplementalSection";
|
|
408
|
+
readonly SoundfieldGroupLabelValue: "ST2067-203/SoundfieldGroupLabelValue";
|
|
409
|
+
readonly MCATagNameMissing: "ST2067-203/MCATagNameMissing";
|
|
410
|
+
readonly MCAChannelIDPresent: "ST2067-203/MCAChannelIDPresent";
|
|
411
|
+
readonly SoundfieldGroupLabelItemMissing: "ST2067-203/SoundfieldGroupLabelItemMissing";
|
|
412
|
+
readonly ResourceEditRateNotTrackFile: "ST2067-203/ResourceEditRateNotTrackFile";
|
|
413
|
+
readonly AudioSampleRateNotHomogeneous: "ST2067-203/AudioSampleRateNotHomogeneous";
|
|
414
|
+
readonly SoundfieldGroupLinkIdNotInTrackFile: "ST2067-203/SoundfieldGroupLinkIdNotInTrackFile";
|
|
415
|
+
readonly OperationalModeALabelItems: "ST2067-203/OperationalModeALabelItems";
|
|
416
|
+
};
|
|
417
|
+
readonly ST2067_204: {
|
|
418
|
+
readonly SequenceResourceNotTrackFile: "ST2067-204/SequenceResourceNotTrackFile";
|
|
419
|
+
readonly VirtualTrackParameterSetMissing: "ST2067-204/VirtualTrackParameterSetMissing";
|
|
420
|
+
readonly VirtualTrackParameterSetDuplicate: "ST2067-204/VirtualTrackParameterSetDuplicate";
|
|
421
|
+
readonly VirtualTrackParameterSetIdDuplicate: "ST2067-204/VirtualTrackParameterSetIdDuplicate";
|
|
422
|
+
readonly VirtualTrackParameterSetOrphaned: "ST2067-204/VirtualTrackParameterSetOrphaned";
|
|
423
|
+
readonly VirtualTrackParameterSetInvalid: "ST2067-204/VirtualTrackParameterSetInvalid";
|
|
424
|
+
readonly OperationalModeUnknown: "ST2067-204/OperationalModeUnknown";
|
|
425
|
+
readonly OperationalModeNotRecognized: "ST2067-204/OperationalModeNotRecognized";
|
|
426
|
+
readonly SoundfieldGroupSelectorDuplicate: "ST2067-204/SoundfieldGroupSelectorDuplicate";
|
|
427
|
+
readonly SoundfieldGroupSelectorResourceIdOrphaned: "ST2067-204/SoundfieldGroupSelectorResourceIdOrphaned";
|
|
428
|
+
readonly SoundfieldGroupLinkIdDuplicate: "ST2067-204/SoundfieldGroupLinkIdDuplicate";
|
|
429
|
+
readonly EditRateNotHomogeneous: "ST2067-204/EditRateNotHomogeneous";
|
|
430
|
+
readonly TrackFileNotWAVEPCM: "ST2067-204/TrackFileNotWAVEPCM";
|
|
431
|
+
readonly TrackFileChannelAssignment: "ST2067-204/TrackFileChannelAssignment";
|
|
432
|
+
readonly ForbiddenMCASubDescriptor: "ST2067-204/ForbiddenMCASubDescriptor";
|
|
433
|
+
readonly ResourceEditRateNotTrackFile: "ST2067-204/ResourceEditRateNotTrackFile";
|
|
434
|
+
readonly AudioSampleRateNotHomogeneous: "ST2067-204/AudioSampleRateNotHomogeneous";
|
|
435
|
+
};
|
|
436
|
+
readonly ST2067_100: {
|
|
437
|
+
readonly DuplicateAlias: "ST2067-100/DuplicateAlias";
|
|
438
|
+
readonly DuplicateMacroName: "ST2067-100/DuplicateMacroName";
|
|
439
|
+
readonly SignerWithoutSignature: "ST2067-100/SignerWithoutSignature";
|
|
440
|
+
readonly SignatureWithoutSigner: "ST2067-100/SignatureWithoutSigner";
|
|
441
|
+
readonly MacroOrder: "ST2067-100/MacroOrder";
|
|
442
|
+
readonly HandleNotRelativePath: "ST2067-100/HandleNotRelativePath";
|
|
443
|
+
readonly HandleUnresolved: "ST2067-100/HandleUnresolved";
|
|
444
|
+
readonly PresetNotAlone: "ST2067-100/PresetNotAlone";
|
|
445
|
+
};
|
|
446
|
+
readonly ST2067_101: {
|
|
447
|
+
readonly PixelDecoderStructure: "ST2067-101/PixelDecoderStructure";
|
|
448
|
+
readonly PixelEncoderStructure: "ST2067-101/PixelEncoderStructure";
|
|
449
|
+
readonly ImageCropStructure: "ST2067-101/ImageCropStructure";
|
|
450
|
+
readonly ImageScaleStructure: "ST2067-101/ImageScaleStructure";
|
|
451
|
+
readonly ColorEncodingUnknown: "ST2067-101/ColorEncodingUnknown";
|
|
452
|
+
readonly FillColorUnknown: "ST2067-101/FillColorUnknown";
|
|
453
|
+
};
|
|
454
|
+
readonly ST2067_102: {
|
|
455
|
+
readonly PixelValueOutOfRange: "ST2067-102/PixelValueOutOfRange";
|
|
456
|
+
readonly DeprecatedColorScheme: "ST2067-102/DeprecatedColorScheme";
|
|
457
|
+
};
|
|
458
|
+
readonly ST2067_103: {
|
|
459
|
+
readonly AudioRoutingStructure: "ST2067-103/AudioRoutingStructure";
|
|
460
|
+
readonly DuplicateOutputChannelHandle: "ST2067-103/DuplicateOutputChannelHandle";
|
|
461
|
+
readonly DuplicateInputEntityHandle: "ST2067-103/DuplicateInputEntityHandle";
|
|
249
462
|
};
|
|
250
463
|
readonly XSD: {
|
|
251
464
|
readonly ElementMissing: "XSD/ElementMissing";
|
|
@@ -257,6 +470,11 @@ export declare const codes: {
|
|
|
257
470
|
readonly NotValidated: "XSD/NotValidated";
|
|
258
471
|
};
|
|
259
472
|
readonly IMFERNO: {
|
|
473
|
+
readonly ExtensionSequenceNotValidated: "IMFERNO/ExtensionSequenceNotValidated";
|
|
474
|
+
readonly OplNotFullyValidated: "IMFERNO/OplNotFullyValidated";
|
|
475
|
+
readonly SequenceListUnreadable: "IMFERNO/SequenceListUnreadable";
|
|
476
|
+
readonly TrackFileIdentityNotValidated: "IMFERNO/TrackFileIdentityNotValidated";
|
|
477
|
+
readonly SupplementalTrackFilesNotValidated: "IMFERNO/SupplementalTrackFilesNotValidated";
|
|
260
478
|
readonly EditionAssumed: "IMFERNO/EditionAssumed";
|
|
261
479
|
readonly EditionConflict: "IMFERNO/EditionConflict";
|
|
262
480
|
readonly EditionPinned: "IMFERNO/EditionPinned";
|
|
@@ -267,6 +485,7 @@ export declare const codes: {
|
|
|
267
485
|
readonly PartitionPackParseFailed: "IMFERNO/PartitionPackParseFailed";
|
|
268
486
|
readonly RegXmlConversionFailed: "IMFERNO/RegXmlConversionFailed";
|
|
269
487
|
readonly MxfHeaderUnreadable: "IMFERNO/MxfHeaderUnreadable";
|
|
488
|
+
readonly MxfFooterNotLocated: "IMFERNO/MxfFooterNotLocated";
|
|
270
489
|
readonly EssenceContainersDetected: "IMFERNO/EssenceContainersDetected";
|
|
271
490
|
readonly IoError: "IMFERNO/IoError";
|
|
272
491
|
readonly UnreferencedAsset: "IMFERNO/UnreferencedAsset";
|
|
@@ -274,11 +493,13 @@ export declare const codes: {
|
|
|
274
493
|
readonly ParseError: "IMFERNO/ParseError";
|
|
275
494
|
readonly PklParseError: "IMFERNO/PklParseError";
|
|
276
495
|
readonly XmlAssetParseError: "IMFERNO/XmlAssetParseError";
|
|
496
|
+
readonly CplUnparseable: "IMFERNO/CplUnparseable";
|
|
277
497
|
readonly XmlReadError: "IMFERNO/XmlReadError";
|
|
278
498
|
readonly ReadDirError: "IMFERNO/ReadDirError";
|
|
279
499
|
readonly DirEntryError: "IMFERNO/DirEntryError";
|
|
280
500
|
readonly PathTraversal: "IMFERNO/PathTraversal";
|
|
281
501
|
readonly ApplicationProfileNotValidated: "IMFERNO/ApplicationProfileNotValidated";
|
|
502
|
+
readonly ApplicationNotFullyValidated: "IMFERNO/ApplicationNotFullyValidated";
|
|
282
503
|
readonly RuleNotInEdition: "IMFERNO/RuleNotInEdition";
|
|
283
504
|
}
|
|
284
505
|
};
|
package/codes.js
CHANGED
|
@@ -8,6 +8,16 @@ const codes = {
|
|
|
8
8
|
HeaderPartitionOpen: "ST377-1/HeaderPartitionOpen",
|
|
9
9
|
MissingHeaderMetadata: "ST377-1/MissingHeaderMetadata",
|
|
10
10
|
StructuralComponentDurationMissing: "ST377-1/StructuralComponentDurationMissing",
|
|
11
|
+
FileDescriptorEssenceContainerMissing: "ST377-1/FileDescriptorEssenceContainerMissing",
|
|
12
|
+
PrefaceEssenceContainersIncomplete: "ST377-1/PrefaceEssenceContainersIncomplete",
|
|
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",
|
|
11
21
|
},
|
|
12
22
|
ST377_4: {
|
|
13
23
|
MCALinkIDMissing: "ST377-4/MCALinkIDMissing",
|
|
@@ -19,6 +29,7 @@ const codes = {
|
|
|
19
29
|
ST429_8: {
|
|
20
30
|
SizeMismatch: "ST429-8/SizeMismatch",
|
|
21
31
|
ChecksumMismatch: "ST429-8/ChecksumMismatch",
|
|
32
|
+
MalformedXml: "ST429-8/MalformedXml",
|
|
22
33
|
},
|
|
23
34
|
ST429_9: {
|
|
24
35
|
AssetListEmpty: "ST429-9/AssetListEmpty",
|
|
@@ -33,14 +44,26 @@ const codes = {
|
|
|
33
44
|
AssetMapHasNoPackingList: "ST429-9/AssetMapHasNoPackingList",
|
|
34
45
|
PklIdNotInAssetMap: "ST429-9/PklIdNotInAssetMap",
|
|
35
46
|
AssetMapMalformedXml: "ST429-9/AssetMapMalformedXml",
|
|
47
|
+
PackingListFlagNotPkl: "ST429-9/PackingListFlagNotPkl",
|
|
48
|
+
VolumeCountNotOne: "ST429-9/VolumeCountNotOne",
|
|
49
|
+
ChunkCountNotOne: "ST429-9/ChunkCountNotOne",
|
|
50
|
+
ChunkVolumeIndexNotOne: "ST429-9/ChunkVolumeIndexNotOne",
|
|
51
|
+
ChunkOffsetNotZero: "ST429-9/ChunkOffsetNotZero",
|
|
52
|
+
ChunkLengthMismatch: "ST429-9/ChunkLengthMismatch",
|
|
53
|
+
SymbolicLink: "ST429-9/SymbolicLink",
|
|
36
54
|
},
|
|
37
55
|
ST2067_2: {
|
|
38
56
|
NotImfCompositionPlaylist: "ST2067-2/NotImfCompositionPlaylist",
|
|
57
|
+
ApplicationCplMismatch: "ST2067-2/ApplicationCplMismatch",
|
|
58
|
+
ApplicationIdentificationMissing: "ST2067-2/ApplicationIdentificationMissing",
|
|
59
|
+
ApplicationIdentificationDuplicate: "ST2067-2/ApplicationIdentificationDuplicate",
|
|
39
60
|
PklMalformedXml: "ST2067-2/PklMalformedXml",
|
|
61
|
+
NoPackingList: "ST2067-2/NoPackingList",
|
|
40
62
|
NoCpls: "ST2067-2/NoCpls",
|
|
41
63
|
SizeMismatch: "ST2067-2/SizeMismatch",
|
|
42
64
|
FileNotFound: "ST2067-2/FileNotFound",
|
|
43
65
|
ChecksumMismatch: "ST2067-2/ChecksumMismatch",
|
|
66
|
+
PackingListsDisagreeOnAsset: "ST2067-2/PackingListsDisagreeOnAsset",
|
|
44
67
|
UnresolvedUuid: "ST2067-2/UnresolvedUuid",
|
|
45
68
|
TrackFileNotInPackage: "ST2067-2/TrackFileNotInPackage",
|
|
46
69
|
DuplicateUuid: "ST2067-2/DuplicateUuid",
|
|
@@ -58,6 +81,8 @@ const codes = {
|
|
|
58
81
|
SoundfieldChannelCount: "ST2067-2/SoundfieldChannelCount",
|
|
59
82
|
DigitalSignature: "ST2067-2/DigitalSignature",
|
|
60
83
|
EssenceDescriptorList: "ST2067-2/EssenceDescriptorList",
|
|
84
|
+
EssenceDescriptorContainerFormatMissing: "ST2067-2/EssenceDescriptorContainerFormatMissing",
|
|
85
|
+
EssenceDescriptorDiffersFromTrackFile: "ST2067-2/EssenceDescriptorDiffersFromTrackFile",
|
|
61
86
|
CplIdAssetMapMismatch: "ST2067-2/CplIdAssetMapMismatch",
|
|
62
87
|
OperationalPatternNotOP1A: "ST2067-2/OperationalPatternNotOP1A",
|
|
63
88
|
SoundDescriptorNotWAVEPCM: "ST2067-2/SoundDescriptorNotWAVEPCM",
|
|
@@ -86,8 +111,23 @@ const codes = {
|
|
|
86
111
|
TimedTextNamespaceNotIMSC: "ST2067-2/TimedTextNamespaceNotIMSC",
|
|
87
112
|
TimedTextResourceMIMETypeUnsupported: "ST2067-2/TimedTextResourceMIMETypeUnsupported",
|
|
88
113
|
TimedTextMappingKindNot0x13: "ST2067-2/TimedTextMappingKindNot0x13",
|
|
114
|
+
TimedTextDataEssenceCodingPresent: "ST2067-2/TimedTextDataEssenceCodingPresent",
|
|
115
|
+
TopLevelFilePackageOriginNotZero: "ST2067-2/TopLevelFilePackageOriginNotZero",
|
|
116
|
+
TopLevelFilePackageFiller: "ST2067-2/TopLevelFilePackageFiller",
|
|
89
117
|
MainImageVirtualTrackCount: "ST2067-2/MainImageVirtualTrackCount",
|
|
90
118
|
AudioVirtualTrackMissing: "ST2067-2/AudioVirtualTrackMissing",
|
|
119
|
+
TrackFileMediaType: "ST2067-2/TrackFileMediaType",
|
|
120
|
+
CompositionEditRateMismatch: "ST2067-2/CompositionEditRateMismatch",
|
|
121
|
+
MainImageEditRateMismatch: "ST2067-2/MainImageEditRateMismatch",
|
|
122
|
+
AudioEditRateMismatch: "ST2067-2/AudioEditRateMismatch",
|
|
123
|
+
ContentVersionMissing: "ST2067-2/ContentVersionMissing",
|
|
124
|
+
ReferenceImageEditRateMissing: "ST2067-2/ReferenceImageEditRateMissing",
|
|
125
|
+
ReferenceImageEditRateMismatch: "ST2067-2/ReferenceImageEditRateMismatch",
|
|
126
|
+
AssetIdPackageUidMismatch: "ST2067-2/AssetIdPackageUidMismatch",
|
|
127
|
+
TrackFileIdPackageUidMismatch: "ST2067-2/TrackFileIdPackageUidMismatch",
|
|
128
|
+
PackageUidForm: "ST2067-2/PackageUidForm",
|
|
129
|
+
UuidNotVersion4: "ST2067-2/UuidNotVersion4",
|
|
130
|
+
AssetIdNotType5: "ST2067-2/AssetIdNotType5",
|
|
91
131
|
},
|
|
92
132
|
ST2067_3: {
|
|
93
133
|
ContentTitleEmpty: "ST2067-3/ContentTitleEmpty",
|
|
@@ -115,7 +155,12 @@ const codes = {
|
|
|
115
155
|
TrackFileId: "ST2067-3/TrackFileId",
|
|
116
156
|
SourceEncodingMissing: "ST2067-3/SourceEncodingMissing",
|
|
117
157
|
VirtualTrackContinuity: "ST2067-3/VirtualTrackContinuity",
|
|
158
|
+
VirtualTrackSequenceKind: "ST2067-3/VirtualTrackSequenceKind",
|
|
159
|
+
ExtensionSequenceNotSequenceType: "ST2067-3/ExtensionSequenceNotSequenceType",
|
|
160
|
+
ResourceTypeMixed: "ST2067-3/ResourceTypeMixed",
|
|
161
|
+
MarkerSequenceResourceType: "ST2067-3/MarkerSequenceResourceType",
|
|
118
162
|
DanglingEssenceDescriptor: "ST2067-3/DanglingEssenceDescriptor",
|
|
163
|
+
CplMediaType: "ST2067-3/CplMediaType",
|
|
119
164
|
UniqueSequenceId: "ST2067-3/UniqueSequenceId",
|
|
120
165
|
ContentMaturityRatingAgencyDuplicate: "ST2067-3/ContentMaturityRatingAgencyDuplicate",
|
|
121
166
|
LocaleRegionInvalid: "ST2067-3/LocaleRegionInvalid",
|
|
@@ -127,6 +172,8 @@ const codes = {
|
|
|
127
172
|
},
|
|
128
173
|
ST2067_5: {
|
|
129
174
|
OperationalPatternQualifier: "ST2067-5/OperationalPatternQualifier",
|
|
175
|
+
KagSizeNotOne: "ST2067-5/KagSizeNotOne",
|
|
176
|
+
EssenceContainerLabelNotSingle: "ST2067-5/EssenceContainerLabelNotSingle",
|
|
130
177
|
},
|
|
131
178
|
ST2067_9: {
|
|
132
179
|
MalformedXml: "ST2067-9/MalformedXml",
|
|
@@ -138,6 +185,57 @@ const codes = {
|
|
|
138
185
|
CplNotFound: "ST2067-9/CplNotFound",
|
|
139
186
|
DuplicateCplId: "ST2067-9/DuplicateCplId",
|
|
140
187
|
},
|
|
188
|
+
ST2067_20: {
|
|
189
|
+
ApplicationIdentification: "ST2067-20/ApplicationIdentification",
|
|
190
|
+
AppIdMismatch: "ST2067-20/AppIdMismatch",
|
|
191
|
+
ImageCharacteristics: "ST2067-20/ImageCharacteristics",
|
|
192
|
+
TransferCharacteristic: "ST2067-20/TransferCharacteristic",
|
|
193
|
+
CodingEquations: "ST2067-20/CodingEquations",
|
|
194
|
+
ColorPrimaries: "ST2067-20/ColorPrimaries",
|
|
195
|
+
J2KRequired: "ST2067-20/J2KRequired",
|
|
196
|
+
PictureEssenceCoding: "ST2067-20/PictureEssenceCoding",
|
|
197
|
+
FrameLayout: "ST2067-20/FrameLayout",
|
|
198
|
+
StoredF2Offset: "ST2067-20/StoredF2Offset",
|
|
199
|
+
SampledWidth: "ST2067-20/SampledWidth",
|
|
200
|
+
SampledHeight: "ST2067-20/SampledHeight",
|
|
201
|
+
SampledXOffset: "ST2067-20/SampledXOffset",
|
|
202
|
+
SampledYOffset: "ST2067-20/SampledYOffset",
|
|
203
|
+
DisplayF2Offset: "ST2067-20/DisplayF2Offset",
|
|
204
|
+
AlphaTransparency: "ST2067-20/AlphaTransparency",
|
|
205
|
+
ImageAlignmentOffset: "ST2067-20/ImageAlignmentOffset",
|
|
206
|
+
ImageStartOffset: "ST2067-20/ImageStartOffset",
|
|
207
|
+
ImageEndOffset: "ST2067-20/ImageEndOffset",
|
|
208
|
+
FieldDominance: "ST2067-20/FieldDominance",
|
|
209
|
+
TransferCharacteristicMissing: "ST2067-20/TransferCharacteristicMissing",
|
|
210
|
+
ColorPrimariesMissing: "ST2067-20/ColorPrimariesMissing",
|
|
211
|
+
CodingEquationsMissing: "ST2067-20/CodingEquationsMissing",
|
|
212
|
+
RequiredPictureCompression: "ST2067-20/RequiredPictureCompression",
|
|
213
|
+
ComponentMaxRef: "ST2067-20/ComponentMaxRef",
|
|
214
|
+
ComponentMinRef: "ST2067-20/ComponentMinRef",
|
|
215
|
+
AlphaMaxRef: "ST2067-20/AlphaMaxRef",
|
|
216
|
+
AlphaMinRef: "ST2067-20/AlphaMinRef",
|
|
217
|
+
ScanningDirection: "ST2067-20/ScanningDirection",
|
|
218
|
+
Palette: "ST2067-20/Palette",
|
|
219
|
+
PaletteLayout: "ST2067-20/PaletteLayout",
|
|
220
|
+
ComponentRefValues: "ST2067-20/ComponentRefValues",
|
|
221
|
+
ComponentDepth: "ST2067-20/ComponentDepth",
|
|
222
|
+
VerticalSubsampling: "ST2067-20/VerticalSubsampling",
|
|
223
|
+
ColorSiting: "ST2067-20/ColorSiting",
|
|
224
|
+
ReversedByteOrder: "ST2067-20/ReversedByteOrder",
|
|
225
|
+
PaddingBits: "ST2067-20/PaddingBits",
|
|
226
|
+
AlphaSampleDepth: "ST2067-20/AlphaSampleDepth",
|
|
227
|
+
RefLevelMissing: "ST2067-20/RefLevelMissing",
|
|
228
|
+
HorizontalSubsampling: "ST2067-20/HorizontalSubsampling",
|
|
229
|
+
BlackRefLevel: "ST2067-20/BlackRefLevel",
|
|
230
|
+
WhiteRefLevel: "ST2067-20/WhiteRefLevel",
|
|
231
|
+
ColorRange: "ST2067-20/ColorRange",
|
|
232
|
+
Jpeg2000SubDescriptor: "ST2067-20/Jpeg2000SubDescriptor",
|
|
233
|
+
CodingStyle: "ST2067-20/CodingStyle",
|
|
234
|
+
J2CLayout: "ST2067-20/J2CLayout",
|
|
235
|
+
J2CLayoutValue: "ST2067-20/J2CLayoutValue",
|
|
236
|
+
HomogeneousImageEssence: "ST2067-20/HomogeneousImageEssence",
|
|
237
|
+
SegmentDurationMultiple: "ST2067-20/SegmentDurationMultiple",
|
|
238
|
+
},
|
|
141
239
|
ST2067_21: {
|
|
142
240
|
ColorSystem: "ST2067-21/ColorSystem",
|
|
143
241
|
BlackRefLevel: "ST2067-21/BlackRefLevel",
|
|
@@ -210,6 +308,32 @@ const codes = {
|
|
|
210
308
|
PictureEssenceCoding: "ST2067-21/PictureEssenceCoding",
|
|
211
309
|
HtCodestreamConstraints: "ST2067-21/HtCodestreamConstraints",
|
|
212
310
|
},
|
|
311
|
+
ST2067_50: {
|
|
312
|
+
ApplicationIdentification: "ST2067-50/ApplicationIdentification",
|
|
313
|
+
ImageDescriptorNotRgba: "ST2067-50/ImageDescriptorNotRgba",
|
|
314
|
+
EssenceContainer: "ST2067-50/EssenceContainer",
|
|
315
|
+
PictureEssenceCoding: "ST2067-50/PictureEssenceCoding",
|
|
316
|
+
TransferCharacteristic: "ST2067-50/TransferCharacteristic",
|
|
317
|
+
ColorPrimaries: "ST2067-50/ColorPrimaries",
|
|
318
|
+
DescriptorItemNotAllowed: "ST2067-50/DescriptorItemNotAllowed",
|
|
319
|
+
FrameLayout: "ST2067-50/FrameLayout",
|
|
320
|
+
SampledArea: "ST2067-50/SampledArea",
|
|
321
|
+
VideoLineMap: "ST2067-50/VideoLineMap",
|
|
322
|
+
ScanningDirection: "ST2067-50/ScanningDirection",
|
|
323
|
+
PixelLayout: "ST2067-50/PixelLayout",
|
|
324
|
+
ContainerConstraintsSubDescriptorMissing: "ST2067-50/ContainerConstraintsSubDescriptorMissing",
|
|
325
|
+
FrameRate: "ST2067-50/FrameRate",
|
|
326
|
+
HomogeneousImageEssence: "ST2067-50/HomogeneousImageEssence",
|
|
327
|
+
SegmentDuration: "ST2067-50/SegmentDuration",
|
|
328
|
+
MasteringDisplayItems: "ST2067-50/MasteringDisplayItems",
|
|
329
|
+
TargetFrameCount: "ST2067-50/TargetFrameCount",
|
|
330
|
+
TargetFrameItemsMissing: "ST2067-50/TargetFrameItemsMissing",
|
|
331
|
+
TargetFrameAncillaryResourceId: "ST2067-50/TargetFrameAncillaryResourceId",
|
|
332
|
+
TargetFrameMediaType: "ST2067-50/TargetFrameMediaType",
|
|
333
|
+
TargetFrameIndex: "ST2067-50/TargetFrameIndex",
|
|
334
|
+
TargetFrameAcesReference: "ST2067-50/TargetFrameAcesReference",
|
|
335
|
+
TargetFrameViewingEnvironment: "ST2067-50/TargetFrameViewingEnvironment",
|
|
336
|
+
},
|
|
213
337
|
ST2067_201: {
|
|
214
338
|
CodecForbidden: "ST2067-201/CodecForbidden",
|
|
215
339
|
ElectrospatialFormulationInvalid: "ST2067-201/ElectrospatialFormulationInvalid",
|
|
@@ -235,7 +359,11 @@ const codes = {
|
|
|
235
359
|
SubDescriptorDuplicate: "ST2067-201/SubDescriptorDuplicate",
|
|
236
360
|
MCAChannelIDForbidden: "ST2067-201/MCAChannelIDForbidden",
|
|
237
361
|
EditRateNotIntegerMultiple: "ST2067-201/EditRateNotIntegerMultiple",
|
|
362
|
+
ResourceEditRateNotSampleRate: "ST2067-201/ResourceEditRateNotSampleRate",
|
|
238
363
|
IabChannelSubDescriptorRecommended: "ST2067-201/IabChannelSubDescriptorRecommended",
|
|
364
|
+
ConformsToSpecificationsMissing: "ST2067-201/ConformsToSpecificationsMissing",
|
|
365
|
+
ConformsToSpecificationsInvalid: "ST2067-201/ConformsToSpecificationsInvalid",
|
|
366
|
+
EssenceNotHomogeneous: "ST2067-201/EssenceNotHomogeneous",
|
|
239
367
|
},
|
|
240
368
|
ST2067_202: {
|
|
241
369
|
NamespaceUriMissing: "ST2067-202/NamespaceUriMissing",
|
|
@@ -246,6 +374,91 @@ const codes = {
|
|
|
246
374
|
ISXDVirtualTrackMissing: "ST2067-202/ISXDVirtualTrackMissing",
|
|
247
375
|
DataEssenceCodingMissing: "ST2067-202/DataEssenceCodingMissing",
|
|
248
376
|
DataEssenceCodingInvalid: "ST2067-202/DataEssenceCodingInvalid",
|
|
377
|
+
EssenceContainerInvalid: "ST2067-202/EssenceContainerInvalid",
|
|
378
|
+
},
|
|
379
|
+
ST2067_203: {
|
|
380
|
+
SequenceResourceNotTrackFile: "ST2067-203/SequenceResourceNotTrackFile",
|
|
381
|
+
VirtualTrackParameterSetMissing: "ST2067-203/VirtualTrackParameterSetMissing",
|
|
382
|
+
VirtualTrackParameterSetDuplicate: "ST2067-203/VirtualTrackParameterSetDuplicate",
|
|
383
|
+
VirtualTrackParameterSetIdDuplicate: "ST2067-203/VirtualTrackParameterSetIdDuplicate",
|
|
384
|
+
VirtualTrackParameterSetOrphaned: "ST2067-203/VirtualTrackParameterSetOrphaned",
|
|
385
|
+
VirtualTrackParameterSetInvalid: "ST2067-203/VirtualTrackParameterSetInvalid",
|
|
386
|
+
OperationalModeUnknown: "ST2067-203/OperationalModeUnknown",
|
|
387
|
+
OperationalModeNotRecognized: "ST2067-203/OperationalModeNotRecognized",
|
|
388
|
+
SoundfieldGroupSelectorDuplicate: "ST2067-203/SoundfieldGroupSelectorDuplicate",
|
|
389
|
+
SoundfieldGroupSelectorResourceIdOrphaned: "ST2067-203/SoundfieldGroupSelectorResourceIdOrphaned",
|
|
390
|
+
SoundfieldGroupLinkIdDuplicate: "ST2067-203/SoundfieldGroupLinkIdDuplicate",
|
|
391
|
+
EditRateNotHomogeneous: "ST2067-203/EditRateNotHomogeneous",
|
|
392
|
+
EditRateNotMultipleOfMainImage: "ST2067-203/EditRateNotMultipleOfMainImage",
|
|
393
|
+
TrackFileNotMGA: "ST2067-203/TrackFileNotMGA",
|
|
394
|
+
TrackFileAudioSampleRate: "ST2067-203/TrackFileAudioSampleRate",
|
|
395
|
+
TrackFileQuantizationBits: "ST2067-203/TrackFileQuantizationBits",
|
|
396
|
+
TrackFileSoundCompression: "ST2067-203/TrackFileSoundCompression",
|
|
397
|
+
TrackFileReferenceItemMissing: "ST2067-203/TrackFileReferenceItemMissing",
|
|
398
|
+
TrackFileNotClipWrapped: "ST2067-203/TrackFileNotClipWrapped",
|
|
399
|
+
ContainerConstraintsSubDescriptorMissing: "ST2067-203/ContainerConstraintsSubDescriptorMissing",
|
|
400
|
+
SADMSectionCount: "ST2067-203/SADMSectionCount",
|
|
401
|
+
SADMSectionIdentifier: "ST2067-203/SADMSectionIdentifier",
|
|
402
|
+
SADMSectionNotFirst: "ST2067-203/SADMSectionNotFirst",
|
|
403
|
+
AudioMetadataPackUsed: "ST2067-203/AudioMetadataPackUsed",
|
|
404
|
+
SADMSubDescriptorMismatch: "ST2067-203/SADMSubDescriptorMismatch",
|
|
405
|
+
SADMProfileLevelULBatchMissing: "ST2067-203/SADMProfileLevelULBatchMissing",
|
|
406
|
+
ForbiddenMCASubDescriptor: "ST2067-203/ForbiddenMCASubDescriptor",
|
|
407
|
+
SoundfieldGroupLabelForSupplementalSection: "ST2067-203/SoundfieldGroupLabelForSupplementalSection",
|
|
408
|
+
SoundfieldGroupLabelValue: "ST2067-203/SoundfieldGroupLabelValue",
|
|
409
|
+
MCATagNameMissing: "ST2067-203/MCATagNameMissing",
|
|
410
|
+
MCAChannelIDPresent: "ST2067-203/MCAChannelIDPresent",
|
|
411
|
+
SoundfieldGroupLabelItemMissing: "ST2067-203/SoundfieldGroupLabelItemMissing",
|
|
412
|
+
ResourceEditRateNotTrackFile: "ST2067-203/ResourceEditRateNotTrackFile",
|
|
413
|
+
AudioSampleRateNotHomogeneous: "ST2067-203/AudioSampleRateNotHomogeneous",
|
|
414
|
+
SoundfieldGroupLinkIdNotInTrackFile: "ST2067-203/SoundfieldGroupLinkIdNotInTrackFile",
|
|
415
|
+
OperationalModeALabelItems: "ST2067-203/OperationalModeALabelItems",
|
|
416
|
+
},
|
|
417
|
+
ST2067_204: {
|
|
418
|
+
SequenceResourceNotTrackFile: "ST2067-204/SequenceResourceNotTrackFile",
|
|
419
|
+
VirtualTrackParameterSetMissing: "ST2067-204/VirtualTrackParameterSetMissing",
|
|
420
|
+
VirtualTrackParameterSetDuplicate: "ST2067-204/VirtualTrackParameterSetDuplicate",
|
|
421
|
+
VirtualTrackParameterSetIdDuplicate: "ST2067-204/VirtualTrackParameterSetIdDuplicate",
|
|
422
|
+
VirtualTrackParameterSetOrphaned: "ST2067-204/VirtualTrackParameterSetOrphaned",
|
|
423
|
+
VirtualTrackParameterSetInvalid: "ST2067-204/VirtualTrackParameterSetInvalid",
|
|
424
|
+
OperationalModeUnknown: "ST2067-204/OperationalModeUnknown",
|
|
425
|
+
OperationalModeNotRecognized: "ST2067-204/OperationalModeNotRecognized",
|
|
426
|
+
SoundfieldGroupSelectorDuplicate: "ST2067-204/SoundfieldGroupSelectorDuplicate",
|
|
427
|
+
SoundfieldGroupSelectorResourceIdOrphaned: "ST2067-204/SoundfieldGroupSelectorResourceIdOrphaned",
|
|
428
|
+
SoundfieldGroupLinkIdDuplicate: "ST2067-204/SoundfieldGroupLinkIdDuplicate",
|
|
429
|
+
EditRateNotHomogeneous: "ST2067-204/EditRateNotHomogeneous",
|
|
430
|
+
TrackFileNotWAVEPCM: "ST2067-204/TrackFileNotWAVEPCM",
|
|
431
|
+
TrackFileChannelAssignment: "ST2067-204/TrackFileChannelAssignment",
|
|
432
|
+
ForbiddenMCASubDescriptor: "ST2067-204/ForbiddenMCASubDescriptor",
|
|
433
|
+
ResourceEditRateNotTrackFile: "ST2067-204/ResourceEditRateNotTrackFile",
|
|
434
|
+
AudioSampleRateNotHomogeneous: "ST2067-204/AudioSampleRateNotHomogeneous",
|
|
435
|
+
},
|
|
436
|
+
ST2067_100: {
|
|
437
|
+
DuplicateAlias: "ST2067-100/DuplicateAlias",
|
|
438
|
+
DuplicateMacroName: "ST2067-100/DuplicateMacroName",
|
|
439
|
+
SignerWithoutSignature: "ST2067-100/SignerWithoutSignature",
|
|
440
|
+
SignatureWithoutSigner: "ST2067-100/SignatureWithoutSigner",
|
|
441
|
+
MacroOrder: "ST2067-100/MacroOrder",
|
|
442
|
+
HandleNotRelativePath: "ST2067-100/HandleNotRelativePath",
|
|
443
|
+
HandleUnresolved: "ST2067-100/HandleUnresolved",
|
|
444
|
+
PresetNotAlone: "ST2067-100/PresetNotAlone",
|
|
445
|
+
},
|
|
446
|
+
ST2067_101: {
|
|
447
|
+
PixelDecoderStructure: "ST2067-101/PixelDecoderStructure",
|
|
448
|
+
PixelEncoderStructure: "ST2067-101/PixelEncoderStructure",
|
|
449
|
+
ImageCropStructure: "ST2067-101/ImageCropStructure",
|
|
450
|
+
ImageScaleStructure: "ST2067-101/ImageScaleStructure",
|
|
451
|
+
ColorEncodingUnknown: "ST2067-101/ColorEncodingUnknown",
|
|
452
|
+
FillColorUnknown: "ST2067-101/FillColorUnknown",
|
|
453
|
+
},
|
|
454
|
+
ST2067_102: {
|
|
455
|
+
PixelValueOutOfRange: "ST2067-102/PixelValueOutOfRange",
|
|
456
|
+
DeprecatedColorScheme: "ST2067-102/DeprecatedColorScheme",
|
|
457
|
+
},
|
|
458
|
+
ST2067_103: {
|
|
459
|
+
AudioRoutingStructure: "ST2067-103/AudioRoutingStructure",
|
|
460
|
+
DuplicateOutputChannelHandle: "ST2067-103/DuplicateOutputChannelHandle",
|
|
461
|
+
DuplicateInputEntityHandle: "ST2067-103/DuplicateInputEntityHandle",
|
|
249
462
|
},
|
|
250
463
|
XSD: {
|
|
251
464
|
ElementMissing: "XSD/ElementMissing",
|
|
@@ -257,6 +470,11 @@ const codes = {
|
|
|
257
470
|
NotValidated: "XSD/NotValidated",
|
|
258
471
|
},
|
|
259
472
|
IMFERNO: {
|
|
473
|
+
ExtensionSequenceNotValidated: "IMFERNO/ExtensionSequenceNotValidated",
|
|
474
|
+
OplNotFullyValidated: "IMFERNO/OplNotFullyValidated",
|
|
475
|
+
SequenceListUnreadable: "IMFERNO/SequenceListUnreadable",
|
|
476
|
+
TrackFileIdentityNotValidated: "IMFERNO/TrackFileIdentityNotValidated",
|
|
477
|
+
SupplementalTrackFilesNotValidated: "IMFERNO/SupplementalTrackFilesNotValidated",
|
|
260
478
|
EditionAssumed: "IMFERNO/EditionAssumed",
|
|
261
479
|
EditionConflict: "IMFERNO/EditionConflict",
|
|
262
480
|
EditionPinned: "IMFERNO/EditionPinned",
|
|
@@ -267,6 +485,7 @@ const codes = {
|
|
|
267
485
|
PartitionPackParseFailed: "IMFERNO/PartitionPackParseFailed",
|
|
268
486
|
RegXmlConversionFailed: "IMFERNO/RegXmlConversionFailed",
|
|
269
487
|
MxfHeaderUnreadable: "IMFERNO/MxfHeaderUnreadable",
|
|
488
|
+
MxfFooterNotLocated: "IMFERNO/MxfFooterNotLocated",
|
|
270
489
|
EssenceContainersDetected: "IMFERNO/EssenceContainersDetected",
|
|
271
490
|
IoError: "IMFERNO/IoError",
|
|
272
491
|
UnreferencedAsset: "IMFERNO/UnreferencedAsset",
|
|
@@ -274,11 +493,13 @@ const codes = {
|
|
|
274
493
|
ParseError: "IMFERNO/ParseError",
|
|
275
494
|
PklParseError: "IMFERNO/PklParseError",
|
|
276
495
|
XmlAssetParseError: "IMFERNO/XmlAssetParseError",
|
|
496
|
+
CplUnparseable: "IMFERNO/CplUnparseable",
|
|
277
497
|
XmlReadError: "IMFERNO/XmlReadError",
|
|
278
498
|
ReadDirError: "IMFERNO/ReadDirError",
|
|
279
499
|
DirEntryError: "IMFERNO/DirEntryError",
|
|
280
500
|
PathTraversal: "IMFERNO/PathTraversal",
|
|
281
501
|
ApplicationProfileNotValidated: "IMFERNO/ApplicationProfileNotValidated",
|
|
502
|
+
ApplicationNotFullyValidated: "IMFERNO/ApplicationNotFullyValidated",
|
|
282
503
|
RuleNotInEdition: "IMFERNO/RuleNotInEdition",
|
|
283
504
|
}
|
|
284
505
|
};
|
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.8180229",
|
|
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.8180229",
|
|
49
|
+
"@imferno/node-darwin-x64": "3.0.2-beta.8180229",
|
|
50
|
+
"@imferno/node-linux-x64-gnu": "3.0.2-beta.8180229",
|
|
51
|
+
"@imferno/node-linux-arm64-gnu": "3.0.2-beta.8180229",
|
|
52
|
+
"@imferno/node-win32-x64-msvc": "3.0.2-beta.8180229",
|
|
53
|
+
"@imferno/node-win32-arm64-msvc": "3.0.2-beta.8180229"
|
|
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
|
};
|
|
@@ -355,6 +365,10 @@ export interface ValidationReport {
|
|
|
355
365
|
* Whether the package is compliant with base SMPTE standards
|
|
356
366
|
*/
|
|
357
367
|
is_compliant: boolean;
|
|
368
|
+
/**
|
|
369
|
+
* Whether everything in the package was validated. False when a finding says part of it was not (e.g. `IMFERNO:Cpl/ExtensionSequenceNotValidated` for S-ADM audio): then `is_compliant` only covers what was checked. A rule override that switches such a finding `off` moves it to `suppressed` but keeps this false.
|
|
370
|
+
*/
|
|
371
|
+
is_fully_validated: boolean;
|
|
358
372
|
/**
|
|
359
373
|
* Whether the package is playable despite issues
|
|
360
374
|
*/
|
|
@@ -400,13 +414,17 @@ export interface ValidationIssue {
|
|
|
400
414
|
context: {
|
|
401
415
|
[k: string]: string | undefined;
|
|
402
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;
|
|
403
421
|
/**
|
|
404
422
|
* Edition of the spec that was applied (`"2016"`; empty for single-edition pseudo-specs).
|
|
405
423
|
*/
|
|
406
424
|
edition: string;
|
|
407
425
|
location: Location;
|
|
408
426
|
/**
|
|
409
|
-
*
|
|
427
|
+
* What is wrong, in one short plain sentence for a person to read.
|
|
410
428
|
*/
|
|
411
429
|
message: string;
|
|
412
430
|
/**
|
|
@@ -418,7 +436,7 @@ export interface ValidationIssue {
|
|
|
418
436
|
spec: Spec;
|
|
419
437
|
strength: Strength;
|
|
420
438
|
/**
|
|
421
|
-
*
|
|
439
|
+
* What to do about it.
|
|
422
440
|
*/
|
|
423
441
|
suggestion?: string | null;
|
|
424
442
|
}
|
|
@@ -556,10 +574,21 @@ export interface ChunkList {
|
|
|
556
574
|
* A single file path entry in a ChunkList.
|
|
557
575
|
*/
|
|
558
576
|
export interface Chunk {
|
|
577
|
+
/**
|
|
578
|
+
* `<Length>` in bytes, when present.
|
|
579
|
+
*/
|
|
580
|
+
length?: number | null;
|
|
581
|
+
/**
|
|
582
|
+
* `<Offset>` in bytes, when present.
|
|
583
|
+
*/
|
|
584
|
+
offset?: number | null;
|
|
559
585
|
/**
|
|
560
586
|
* File path relative to the IMP root directory.
|
|
561
587
|
*/
|
|
562
588
|
path: string;
|
|
589
|
+
/**
|
|
590
|
+
* `<VolumeIndex>`; 1 when absent.
|
|
591
|
+
*/
|
|
563
592
|
volumeIndex: number;
|
|
564
593
|
}
|
|
565
594
|
/**
|
|
@@ -655,6 +684,10 @@ export interface CDCIDescriptor {
|
|
|
655
684
|
*/
|
|
656
685
|
ColorSiting?: number | null;
|
|
657
686
|
ComponentDepth?: number | null;
|
|
687
|
+
/**
|
|
688
|
+
* File Descriptor: Essence Container label
|
|
689
|
+
*/
|
|
690
|
+
ContainerFormat?: string | null;
|
|
658
691
|
/**
|
|
659
692
|
* Generic Picture Essence Descriptor: DisplayF2Offset
|
|
660
693
|
*/
|
|
@@ -735,6 +768,14 @@ export interface CDCIDescriptor {
|
|
|
735
768
|
* SubDescriptors for video (RGBA/CDCI) descriptors
|
|
736
769
|
*/
|
|
737
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;
|
|
738
779
|
/**
|
|
739
780
|
* JPEG 2000 Picture Sub Descriptor — Table 14 constraints
|
|
740
781
|
*/
|
|
@@ -743,6 +784,40 @@ export interface VideoSubDescriptors {
|
|
|
743
784
|
* Presence indicates Dolby Vision HDR
|
|
744
785
|
*/
|
|
745
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;
|
|
746
821
|
}
|
|
747
822
|
/**
|
|
748
823
|
* JPEG 2000 Picture Sub Descriptor (ST 422 / ST 2067-21 Table 14)
|
|
@@ -877,6 +952,22 @@ export interface PHDRMetadataTrackSubDescriptor {
|
|
|
877
952
|
PHDRMetadataTrackSubDescriptor_SimplePayloadSID?: number | null;
|
|
878
953
|
PHDRMetadataTrackSubDescriptor_SourceTrackID?: number | null;
|
|
879
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
|
+
}
|
|
880
971
|
/**
|
|
881
972
|
* DC Timed Text descriptor (subtitles/captions)
|
|
882
973
|
*/
|
|
@@ -905,9 +996,9 @@ export interface IABEssenceDescriptor {
|
|
|
905
996
|
*/
|
|
906
997
|
ContainerFormat?: string | null;
|
|
907
998
|
/**
|
|
908
|
-
* ST 2067-201 §5.9: ElectrospatialFormulation shall
|
|
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`.
|
|
909
1000
|
*/
|
|
910
|
-
ElectrospatialFormulation?:
|
|
1001
|
+
ElectrospatialFormulation?: string | null;
|
|
911
1002
|
InstanceID?: string | null;
|
|
912
1003
|
LinkedTrackID?: number | null;
|
|
913
1004
|
/**
|
|
@@ -931,7 +1022,7 @@ export interface IABSubDescriptors {
|
|
|
931
1022
|
/**
|
|
932
1023
|
* Presence-only stub for ST 2067-201:2026 Annex E `IABChannelSubDescriptor`.
|
|
933
1024
|
*
|
|
934
|
-
* The 2026 spec defines the full item set in Table E.1 (`IABBedMetaID`, `IABChannelID`, `IABAudioDescription`, `IABAudioDescriptionText`); imferno's CPL parser only needs to count occurrences to fire the `IabChannelSubDescriptorRecommended`
|
|
1025
|
+
* The 2026 spec defines the full item set in Table E.1 (`IABBedMetaID`, `IABChannelID`, `IABAudioDescription`, `IABAudioDescriptionText`); imferno's CPL parser only needs to count occurrences to fire the `IabChannelSubDescriptorRecommended` notice, so the inner shape is intentionally permissive — any nested content deserialises into the catch-all map without affecting presence.
|
|
935
1026
|
*/
|
|
936
1027
|
export interface IABChannelSubDescriptor {
|
|
937
1028
|
/**
|
|
@@ -957,9 +1048,13 @@ export interface IABSoundfieldLabelSubDescriptor {
|
|
|
957
1048
|
RFC5646SpokenLanguage?: LanguageTag | null;
|
|
958
1049
|
}
|
|
959
1050
|
/**
|
|
960
|
-
* ISXD (
|
|
1051
|
+
* ISXD (Isochronous Stream of XML Documents, ST 2067-202) data essence descriptor
|
|
961
1052
|
*/
|
|
962
1053
|
export interface ISXDDataEssenceDescriptor {
|
|
1054
|
+
/**
|
|
1055
|
+
* ST 2067-202 §9.1: the Essence Container UL shall be the Frame Wrapped ISXD Container UL (Table 3).
|
|
1056
|
+
*/
|
|
1057
|
+
ContainerFormat?: string | null;
|
|
963
1058
|
DataEssenceCoding?: string | null;
|
|
964
1059
|
InstanceID?: string | null;
|
|
965
1060
|
LinkedTrackID?: number | null;
|
|
@@ -976,16 +1071,14 @@ export interface IsxdSubDescriptors {
|
|
|
976
1071
|
*/
|
|
977
1072
|
ContainerConstraintsSubDescriptor?: ContainerConstraintsSubDescriptor | null;
|
|
978
1073
|
}
|
|
979
|
-
/**
|
|
980
|
-
* ContainerConstraintsSubDescriptor — presence required by ST 2067-202 §5
|
|
981
|
-
*/
|
|
982
|
-
export interface ContainerConstraintsSubDescriptor {
|
|
983
|
-
InstanceID?: string | null;
|
|
984
|
-
}
|
|
985
1074
|
/**
|
|
986
1075
|
* RGBA video descriptor (JPEG 2000 RGB content)
|
|
987
1076
|
*/
|
|
988
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;
|
|
989
1082
|
/**
|
|
990
1083
|
* Table 10: AlphaMaxRef — shall not be present
|
|
991
1084
|
*/
|
|
@@ -1008,6 +1101,10 @@ export interface RGBADescriptor {
|
|
|
1008
1101
|
* RGBA Descriptor: Component Min Ref (Table 10/11)
|
|
1009
1102
|
*/
|
|
1010
1103
|
ComponentMinRef?: number | null;
|
|
1104
|
+
/**
|
|
1105
|
+
* File Descriptor: Essence Container label
|
|
1106
|
+
*/
|
|
1107
|
+
ContainerFormat?: string | null;
|
|
1011
1108
|
/**
|
|
1012
1109
|
* Generic Picture Essence Descriptor: DisplayF2Offset
|
|
1013
1110
|
*/
|
|
@@ -1046,6 +1143,10 @@ export interface RGBADescriptor {
|
|
|
1046
1143
|
*/
|
|
1047
1144
|
PaletteLayout?: string | null;
|
|
1048
1145
|
PictureCompression?: VideoCodec | null;
|
|
1146
|
+
/**
|
|
1147
|
+
* RGBA Descriptor: Pixel Layout
|
|
1148
|
+
*/
|
|
1149
|
+
PixelLayout?: J2CLayout | null;
|
|
1049
1150
|
SampleRate?: EditRate | null;
|
|
1050
1151
|
/**
|
|
1051
1152
|
* Table 8: SampledHeight — shall not be present or shall be equal to StoredHeight
|
|
@@ -1067,6 +1168,10 @@ export interface RGBADescriptor {
|
|
|
1067
1168
|
* RGBA Descriptor: Scanning Direction (Table 10) Shall be "ScanningDirection_LeftToRightTopToBottom" (00h)
|
|
1068
1169
|
*/
|
|
1069
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;
|
|
1070
1175
|
/**
|
|
1071
1176
|
* Table 8: StoredF2Offset — shall not be present
|
|
1072
1177
|
*/
|
|
@@ -1075,6 +1180,16 @@ export interface RGBADescriptor {
|
|
|
1075
1180
|
StoredWidth?: number | null;
|
|
1076
1181
|
SubDescriptors?: VideoSubDescriptors | null;
|
|
1077
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[];
|
|
1078
1193
|
}
|
|
1079
1194
|
/**
|
|
1080
1195
|
* WAVE PCM audio descriptor
|
|
@@ -1085,6 +1200,10 @@ export interface WAVEPCMDescriptor {
|
|
|
1085
1200
|
InstanceID?: string | null;
|
|
1086
1201
|
LinkedTrackID?: number | null;
|
|
1087
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;
|
|
1088
1207
|
SampleRate?: EditRate | null;
|
|
1089
1208
|
SubDescriptors?: AudioSubDescriptors | null;
|
|
1090
1209
|
}
|
|
@@ -1106,6 +1225,9 @@ export interface SoundfieldGroupLabelSubDescriptor {
|
|
|
1106
1225
|
*/
|
|
1107
1226
|
RFC5646SpokenLanguage?: LanguageTag | null;
|
|
1108
1227
|
}
|
|
1228
|
+
/**
|
|
1229
|
+
* The CPL's `ExtensionProperties`: ApplicationIdentification (the Application IDs of every ST 2067-2 instance, space-separated), MaxCLL and MaxFALL.
|
|
1230
|
+
*/
|
|
1109
1231
|
export interface ExtensionProperties {
|
|
1110
1232
|
ApplicationIdentification?: string | null;
|
|
1111
1233
|
MaxCLL?: number | null;
|
|
@@ -1154,6 +1276,10 @@ export interface Segment {
|
|
|
1154
1276
|
SequenceList: SequenceList;
|
|
1155
1277
|
}
|
|
1156
1278
|
export interface SequenceList {
|
|
1279
|
+
/**
|
|
1280
|
+
* Sequences whose element imferno does not model (ST 2067-3 §6.9.3 Extension Sequences, e.g. ST 2067-203 `MGASADMSignalSequence` or ST 2067-2 `CommentarySequence`), in document order. Filled by `parse_cpl` from the source XML so their EssenceDescriptor and Track File references resolve; no other rules are applied to them.
|
|
1281
|
+
*/
|
|
1282
|
+
ExtensionSequence?: ExtensionSequence[];
|
|
1157
1283
|
ForcedNarrativeSequence?: ForcedNarrativeSequence[];
|
|
1158
1284
|
HearingImpairedCaptionsSequence?: HearingImpairedCaptionsSequence[];
|
|
1159
1285
|
IABSequence?: IABSequence[];
|
|
@@ -1163,8 +1289,13 @@ export interface SequenceList {
|
|
|
1163
1289
|
MarkerSequence?: MarkerSequence[];
|
|
1164
1290
|
SubtitlesSequence?: SubtitlesSequence[];
|
|
1165
1291
|
}
|
|
1166
|
-
|
|
1292
|
+
/**
|
|
1293
|
+
* A Sequence of a kind imferno does not model (ST 2067-3 §6.9.3 Extension Sequence). Every Sequence derives from SequenceType, so its Id, TrackId and Resources are kept; the element is named by `name` (local name) and `namespace` (namespace URI; null when the element has no namespace).
|
|
1294
|
+
*/
|
|
1295
|
+
export interface ExtensionSequence {
|
|
1167
1296
|
Id: ImfUuid;
|
|
1297
|
+
Name?: string;
|
|
1298
|
+
Namespace?: string | null;
|
|
1168
1299
|
ResourceList: ResourceList;
|
|
1169
1300
|
TrackId: ImfUuid;
|
|
1170
1301
|
}
|
|
@@ -1208,6 +1339,11 @@ export interface MarkerInfo {
|
|
|
1208
1339
|
Label: MarkerLabelElement;
|
|
1209
1340
|
Offset: number;
|
|
1210
1341
|
}
|
|
1342
|
+
export interface ForcedNarrativeSequence {
|
|
1343
|
+
Id: ImfUuid;
|
|
1344
|
+
ResourceList: ResourceList;
|
|
1345
|
+
TrackId: ImfUuid;
|
|
1346
|
+
}
|
|
1211
1347
|
export interface HearingImpairedCaptionsSequence {
|
|
1212
1348
|
Id: ImfUuid;
|
|
1213
1349
|
ResourceList: ResourceList;
|
|
@@ -1523,4 +1659,13 @@ export interface ValidateOptions {
|
|
|
1523
1659
|
rules?: RulesConfig;
|
|
1524
1660
|
/** Collapse repeated identical findings into one issue with `additional_instances`. Default: `false`. */
|
|
1525
1661
|
aggregateRepeats?: boolean;
|
|
1662
|
+
/**
|
|
1663
|
+
* Packages this one depends on, such as the original package of a
|
|
1664
|
+
* supplemental package: each a package directory or its XML files, as `validate` takes them.
|
|
1665
|
+
* CPL track files are looked up in this package first, then in each of
|
|
1666
|
+
* these in order: the first package whose Packing List lists the track
|
|
1667
|
+
* file is used. Findings about those packages themselves are not
|
|
1668
|
+
* reported. Default: none.
|
|
1669
|
+
*/
|
|
1670
|
+
with?: Array<string | Record<string, string>>;
|
|
1526
1671
|
}
|