@imferno/node 3.0.2-feat-sadm-adm-mxf-layer.50104aa → 3.0.2-feat-app5-aces.2e68f58
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 +92 -0
- package/codes.js +92 -0
- package/package.json +7 -7
- package/types.d.ts +93 -7
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";
|
|
@@ -102,6 +110,9 @@ export declare const codes: {
|
|
|
102
110
|
readonly TimedTextNamespaceNotIMSC: "ST2067-2/TimedTextNamespaceNotIMSC";
|
|
103
111
|
readonly TimedTextResourceMIMETypeUnsupported: "ST2067-2/TimedTextResourceMIMETypeUnsupported";
|
|
104
112
|
readonly TimedTextMappingKindNot0x13: "ST2067-2/TimedTextMappingKindNot0x13";
|
|
113
|
+
readonly TimedTextDataEssenceCodingPresent: "ST2067-2/TimedTextDataEssenceCodingPresent";
|
|
114
|
+
readonly TopLevelFilePackageOriginNotZero: "ST2067-2/TopLevelFilePackageOriginNotZero";
|
|
115
|
+
readonly TopLevelFilePackageFiller: "ST2067-2/TopLevelFilePackageFiller";
|
|
105
116
|
readonly MainImageVirtualTrackCount: "ST2067-2/MainImageVirtualTrackCount";
|
|
106
117
|
readonly AudioVirtualTrackMissing: "ST2067-2/AudioVirtualTrackMissing";
|
|
107
118
|
readonly TrackFileMediaType: "ST2067-2/TrackFileMediaType";
|
|
@@ -160,6 +171,8 @@ export declare const codes: {
|
|
|
160
171
|
};
|
|
161
172
|
readonly ST2067_5: {
|
|
162
173
|
readonly OperationalPatternQualifier: "ST2067-5/OperationalPatternQualifier";
|
|
174
|
+
readonly KagSizeNotOne: "ST2067-5/KagSizeNotOne";
|
|
175
|
+
readonly EssenceContainerLabelNotSingle: "ST2067-5/EssenceContainerLabelNotSingle";
|
|
163
176
|
};
|
|
164
177
|
readonly ST2067_9: {
|
|
165
178
|
readonly MalformedXml: "ST2067-9/MalformedXml";
|
|
@@ -171,6 +184,57 @@ export declare const codes: {
|
|
|
171
184
|
readonly CplNotFound: "ST2067-9/CplNotFound";
|
|
172
185
|
readonly DuplicateCplId: "ST2067-9/DuplicateCplId";
|
|
173
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
|
+
};
|
|
174
238
|
readonly ST2067_21: {
|
|
175
239
|
readonly ColorSystem: "ST2067-21/ColorSystem";
|
|
176
240
|
readonly BlackRefLevel: "ST2067-21/BlackRefLevel";
|
|
@@ -243,6 +307,32 @@ export declare const codes: {
|
|
|
243
307
|
readonly PictureEssenceCoding: "ST2067-21/PictureEssenceCoding";
|
|
244
308
|
readonly HtCodestreamConstraints: "ST2067-21/HtCodestreamConstraints";
|
|
245
309
|
};
|
|
310
|
+
readonly ST2067_50: {
|
|
311
|
+
readonly ApplicationIdentification: "ST2067-50/ApplicationIdentification";
|
|
312
|
+
readonly ImageDescriptorNotRgba: "ST2067-50/ImageDescriptorNotRgba";
|
|
313
|
+
readonly EssenceContainer: "ST2067-50/EssenceContainer";
|
|
314
|
+
readonly PictureEssenceCoding: "ST2067-50/PictureEssenceCoding";
|
|
315
|
+
readonly TransferCharacteristic: "ST2067-50/TransferCharacteristic";
|
|
316
|
+
readonly ColorPrimaries: "ST2067-50/ColorPrimaries";
|
|
317
|
+
readonly DescriptorItemNotAllowed: "ST2067-50/DescriptorItemNotAllowed";
|
|
318
|
+
readonly FrameLayout: "ST2067-50/FrameLayout";
|
|
319
|
+
readonly SampledArea: "ST2067-50/SampledArea";
|
|
320
|
+
readonly VideoLineMap: "ST2067-50/VideoLineMap";
|
|
321
|
+
readonly ScanningDirection: "ST2067-50/ScanningDirection";
|
|
322
|
+
readonly PixelLayout: "ST2067-50/PixelLayout";
|
|
323
|
+
readonly ContainerConstraintsSubDescriptorMissing: "ST2067-50/ContainerConstraintsSubDescriptorMissing";
|
|
324
|
+
readonly FrameRate: "ST2067-50/FrameRate";
|
|
325
|
+
readonly HomogeneousImageEssence: "ST2067-50/HomogeneousImageEssence";
|
|
326
|
+
readonly SegmentDuration: "ST2067-50/SegmentDuration";
|
|
327
|
+
readonly MasteringDisplayItems: "ST2067-50/MasteringDisplayItems";
|
|
328
|
+
readonly TargetFrameCount: "ST2067-50/TargetFrameCount";
|
|
329
|
+
readonly TargetFrameItemsMissing: "ST2067-50/TargetFrameItemsMissing";
|
|
330
|
+
readonly TargetFrameAncillaryResourceId: "ST2067-50/TargetFrameAncillaryResourceId";
|
|
331
|
+
readonly TargetFrameMediaType: "ST2067-50/TargetFrameMediaType";
|
|
332
|
+
readonly TargetFrameIndex: "ST2067-50/TargetFrameIndex";
|
|
333
|
+
readonly TargetFrameAcesReference: "ST2067-50/TargetFrameAcesReference";
|
|
334
|
+
readonly TargetFrameViewingEnvironment: "ST2067-50/TargetFrameViewingEnvironment";
|
|
335
|
+
};
|
|
246
336
|
readonly ST2067_201: {
|
|
247
337
|
readonly CodecForbidden: "ST2067-201/CodecForbidden";
|
|
248
338
|
readonly ElectrospatialFormulationInvalid: "ST2067-201/ElectrospatialFormulationInvalid";
|
|
@@ -365,6 +455,7 @@ export declare const codes: {
|
|
|
365
455
|
readonly PartitionPackParseFailed: "IMFERNO/PartitionPackParseFailed";
|
|
366
456
|
readonly RegXmlConversionFailed: "IMFERNO/RegXmlConversionFailed";
|
|
367
457
|
readonly MxfHeaderUnreadable: "IMFERNO/MxfHeaderUnreadable";
|
|
458
|
+
readonly MxfFooterNotLocated: "IMFERNO/MxfFooterNotLocated";
|
|
368
459
|
readonly EssenceContainersDetected: "IMFERNO/EssenceContainersDetected";
|
|
369
460
|
readonly IoError: "IMFERNO/IoError";
|
|
370
461
|
readonly UnreferencedAsset: "IMFERNO/UnreferencedAsset";
|
|
@@ -378,6 +469,7 @@ export declare const codes: {
|
|
|
378
469
|
readonly DirEntryError: "IMFERNO/DirEntryError";
|
|
379
470
|
readonly PathTraversal: "IMFERNO/PathTraversal";
|
|
380
471
|
readonly ApplicationProfileNotValidated: "IMFERNO/ApplicationProfileNotValidated";
|
|
472
|
+
readonly ApplicationNotFullyValidated: "IMFERNO/ApplicationNotFullyValidated";
|
|
381
473
|
readonly RuleNotInEdition: "IMFERNO/RuleNotInEdition";
|
|
382
474
|
}
|
|
383
475
|
};
|
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",
|
|
@@ -102,6 +110,9 @@ const codes = {
|
|
|
102
110
|
TimedTextNamespaceNotIMSC: "ST2067-2/TimedTextNamespaceNotIMSC",
|
|
103
111
|
TimedTextResourceMIMETypeUnsupported: "ST2067-2/TimedTextResourceMIMETypeUnsupported",
|
|
104
112
|
TimedTextMappingKindNot0x13: "ST2067-2/TimedTextMappingKindNot0x13",
|
|
113
|
+
TimedTextDataEssenceCodingPresent: "ST2067-2/TimedTextDataEssenceCodingPresent",
|
|
114
|
+
TopLevelFilePackageOriginNotZero: "ST2067-2/TopLevelFilePackageOriginNotZero",
|
|
115
|
+
TopLevelFilePackageFiller: "ST2067-2/TopLevelFilePackageFiller",
|
|
105
116
|
MainImageVirtualTrackCount: "ST2067-2/MainImageVirtualTrackCount",
|
|
106
117
|
AudioVirtualTrackMissing: "ST2067-2/AudioVirtualTrackMissing",
|
|
107
118
|
TrackFileMediaType: "ST2067-2/TrackFileMediaType",
|
|
@@ -160,6 +171,8 @@ const codes = {
|
|
|
160
171
|
},
|
|
161
172
|
ST2067_5: {
|
|
162
173
|
OperationalPatternQualifier: "ST2067-5/OperationalPatternQualifier",
|
|
174
|
+
KagSizeNotOne: "ST2067-5/KagSizeNotOne",
|
|
175
|
+
EssenceContainerLabelNotSingle: "ST2067-5/EssenceContainerLabelNotSingle",
|
|
163
176
|
},
|
|
164
177
|
ST2067_9: {
|
|
165
178
|
MalformedXml: "ST2067-9/MalformedXml",
|
|
@@ -171,6 +184,57 @@ const codes = {
|
|
|
171
184
|
CplNotFound: "ST2067-9/CplNotFound",
|
|
172
185
|
DuplicateCplId: "ST2067-9/DuplicateCplId",
|
|
173
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
|
+
},
|
|
174
238
|
ST2067_21: {
|
|
175
239
|
ColorSystem: "ST2067-21/ColorSystem",
|
|
176
240
|
BlackRefLevel: "ST2067-21/BlackRefLevel",
|
|
@@ -243,6 +307,32 @@ const codes = {
|
|
|
243
307
|
PictureEssenceCoding: "ST2067-21/PictureEssenceCoding",
|
|
244
308
|
HtCodestreamConstraints: "ST2067-21/HtCodestreamConstraints",
|
|
245
309
|
},
|
|
310
|
+
ST2067_50: {
|
|
311
|
+
ApplicationIdentification: "ST2067-50/ApplicationIdentification",
|
|
312
|
+
ImageDescriptorNotRgba: "ST2067-50/ImageDescriptorNotRgba",
|
|
313
|
+
EssenceContainer: "ST2067-50/EssenceContainer",
|
|
314
|
+
PictureEssenceCoding: "ST2067-50/PictureEssenceCoding",
|
|
315
|
+
TransferCharacteristic: "ST2067-50/TransferCharacteristic",
|
|
316
|
+
ColorPrimaries: "ST2067-50/ColorPrimaries",
|
|
317
|
+
DescriptorItemNotAllowed: "ST2067-50/DescriptorItemNotAllowed",
|
|
318
|
+
FrameLayout: "ST2067-50/FrameLayout",
|
|
319
|
+
SampledArea: "ST2067-50/SampledArea",
|
|
320
|
+
VideoLineMap: "ST2067-50/VideoLineMap",
|
|
321
|
+
ScanningDirection: "ST2067-50/ScanningDirection",
|
|
322
|
+
PixelLayout: "ST2067-50/PixelLayout",
|
|
323
|
+
ContainerConstraintsSubDescriptorMissing: "ST2067-50/ContainerConstraintsSubDescriptorMissing",
|
|
324
|
+
FrameRate: "ST2067-50/FrameRate",
|
|
325
|
+
HomogeneousImageEssence: "ST2067-50/HomogeneousImageEssence",
|
|
326
|
+
SegmentDuration: "ST2067-50/SegmentDuration",
|
|
327
|
+
MasteringDisplayItems: "ST2067-50/MasteringDisplayItems",
|
|
328
|
+
TargetFrameCount: "ST2067-50/TargetFrameCount",
|
|
329
|
+
TargetFrameItemsMissing: "ST2067-50/TargetFrameItemsMissing",
|
|
330
|
+
TargetFrameAncillaryResourceId: "ST2067-50/TargetFrameAncillaryResourceId",
|
|
331
|
+
TargetFrameMediaType: "ST2067-50/TargetFrameMediaType",
|
|
332
|
+
TargetFrameIndex: "ST2067-50/TargetFrameIndex",
|
|
333
|
+
TargetFrameAcesReference: "ST2067-50/TargetFrameAcesReference",
|
|
334
|
+
TargetFrameViewingEnvironment: "ST2067-50/TargetFrameViewingEnvironment",
|
|
335
|
+
},
|
|
246
336
|
ST2067_201: {
|
|
247
337
|
CodecForbidden: "ST2067-201/CodecForbidden",
|
|
248
338
|
ElectrospatialFormulationInvalid: "ST2067-201/ElectrospatialFormulationInvalid",
|
|
@@ -365,6 +455,7 @@ const codes = {
|
|
|
365
455
|
PartitionPackParseFailed: "IMFERNO/PartitionPackParseFailed",
|
|
366
456
|
RegXmlConversionFailed: "IMFERNO/RegXmlConversionFailed",
|
|
367
457
|
MxfHeaderUnreadable: "IMFERNO/MxfHeaderUnreadable",
|
|
458
|
+
MxfFooterNotLocated: "IMFERNO/MxfFooterNotLocated",
|
|
368
459
|
EssenceContainersDetected: "IMFERNO/EssenceContainersDetected",
|
|
369
460
|
IoError: "IMFERNO/IoError",
|
|
370
461
|
UnreferencedAsset: "IMFERNO/UnreferencedAsset",
|
|
@@ -378,6 +469,7 @@ const codes = {
|
|
|
378
469
|
DirEntryError: "IMFERNO/DirEntryError",
|
|
379
470
|
PathTraversal: "IMFERNO/PathTraversal",
|
|
380
471
|
ApplicationProfileNotValidated: "IMFERNO/ApplicationProfileNotValidated",
|
|
472
|
+
ApplicationNotFullyValidated: "IMFERNO/ApplicationNotFullyValidated",
|
|
381
473
|
RuleNotInEdition: "IMFERNO/RuleNotInEdition",
|
|
382
474
|
}
|
|
383
475
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imferno/node",
|
|
3
|
-
"version": "3.0.2-feat-
|
|
3
|
+
"version": "3.0.2-feat-app5-aces.2e68f58",
|
|
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-feat-
|
|
49
|
-
"@imferno/node-darwin-x64": "3.0.2-feat-
|
|
50
|
-
"@imferno/node-linux-x64-gnu": "3.0.2-feat-
|
|
51
|
-
"@imferno/node-linux-arm64-gnu": "3.0.2-feat-
|
|
52
|
-
"@imferno/node-win32-x64-msvc": "3.0.2-feat-
|
|
53
|
-
"@imferno/node-win32-arm64-msvc": "3.0.2-feat-
|
|
48
|
+
"@imferno/node-darwin-arm64": "3.0.2-feat-app5-aces.2e68f58",
|
|
49
|
+
"@imferno/node-darwin-x64": "3.0.2-feat-app5-aces.2e68f58",
|
|
50
|
+
"@imferno/node-linux-x64-gnu": "3.0.2-feat-app5-aces.2e68f58",
|
|
51
|
+
"@imferno/node-linux-arm64-gnu": "3.0.2-feat-app5-aces.2e68f58",
|
|
52
|
+
"@imferno/node-win32-x64-msvc": "3.0.2-feat-app5-aces.2e68f58",
|
|
53
|
+
"@imferno/node-win32-arm64-msvc": "3.0.2-feat-app5-aces.2e68f58"
|
|
54
54
|
},
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public"
|
package/types.d.ts
CHANGED
|
@@ -66,7 +66,9 @@ 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"
|
|
72
74
|
| "ST2067-203"
|
|
@@ -117,6 +119,7 @@ export type ColorPrimaries =
|
|
|
117
119
|
| "Bt2020"
|
|
118
120
|
| "DciP3"
|
|
119
121
|
| "P3D65"
|
|
122
|
+
| "Aces"
|
|
120
123
|
| {
|
|
121
124
|
Unknown: string;
|
|
122
125
|
};
|
|
@@ -141,6 +144,7 @@ export type VideoCodec =
|
|
|
141
144
|
| "H265"
|
|
142
145
|
| "ProRes"
|
|
143
146
|
| "Av1"
|
|
147
|
+
| "Aces"
|
|
144
148
|
| {
|
|
145
149
|
Unknown: string;
|
|
146
150
|
};
|
|
@@ -676,6 +680,10 @@ export interface CDCIDescriptor {
|
|
|
676
680
|
*/
|
|
677
681
|
ColorSiting?: number | null;
|
|
678
682
|
ComponentDepth?: number | null;
|
|
683
|
+
/**
|
|
684
|
+
* File Descriptor: Essence Container label
|
|
685
|
+
*/
|
|
686
|
+
ContainerFormat?: string | null;
|
|
679
687
|
/**
|
|
680
688
|
* Generic Picture Essence Descriptor: DisplayF2Offset
|
|
681
689
|
*/
|
|
@@ -756,6 +764,14 @@ export interface CDCIDescriptor {
|
|
|
756
764
|
* SubDescriptors for video (RGBA/CDCI) descriptors
|
|
757
765
|
*/
|
|
758
766
|
export interface VideoSubDescriptors {
|
|
767
|
+
/**
|
|
768
|
+
* ST 2067-50 §8.2.4 ACES Picture SubDescriptors
|
|
769
|
+
*/
|
|
770
|
+
ACESPictureSubDescriptor?: AcesPictureSubDescriptor[];
|
|
771
|
+
/**
|
|
772
|
+
* ST 379-2 §7 Container Constraints Sub Descriptor
|
|
773
|
+
*/
|
|
774
|
+
ContainerConstraintsSubDescriptor?: ContainerConstraintsSubDescriptor | null;
|
|
759
775
|
/**
|
|
760
776
|
* JPEG 2000 Picture Sub Descriptor — Table 14 constraints
|
|
761
777
|
*/
|
|
@@ -764,6 +780,40 @@ export interface VideoSubDescriptors {
|
|
|
764
780
|
* Presence indicates Dolby Vision HDR
|
|
765
781
|
*/
|
|
766
782
|
PHDRMetadataTrackSubDescriptor?: PHDRMetadataTrackSubDescriptor | null;
|
|
783
|
+
/**
|
|
784
|
+
* ST 2067-50 §8.2.5 Target Frame SubDescriptors
|
|
785
|
+
*/
|
|
786
|
+
TargetFrameSubDescriptor?: TargetFrameSubDescriptor[];
|
|
787
|
+
}
|
|
788
|
+
/**
|
|
789
|
+
* ACES Picture SubDescriptor (ST 2067-50:2018 §8.2.4, Table 5).
|
|
790
|
+
*/
|
|
791
|
+
export interface AcesPictureSubDescriptor {
|
|
792
|
+
ACESAuthoringInformation?: string | null;
|
|
793
|
+
ACESMasteringDisplayMaximumLuminance?: string | null;
|
|
794
|
+
ACESMasteringDisplayMinimumLuminance?: string | null;
|
|
795
|
+
ACESMasteringDisplayPrimaries?: ThreeColorPrimaries | null;
|
|
796
|
+
ACESMasteringDisplayWhitePointChromaticity?: Chromaticity | null;
|
|
797
|
+
InstanceID?: string | null;
|
|
798
|
+
}
|
|
799
|
+
/**
|
|
800
|
+
* Three color primaries (ThreeColorPrimaries).
|
|
801
|
+
*/
|
|
802
|
+
export interface ThreeColorPrimaries {
|
|
803
|
+
ColorPrimary?: Chromaticity[];
|
|
804
|
+
}
|
|
805
|
+
/**
|
|
806
|
+
* A chromaticity coordinate pair, kept as text (presence is what is checked).
|
|
807
|
+
*/
|
|
808
|
+
export interface Chromaticity {
|
|
809
|
+
X?: string | null;
|
|
810
|
+
Y?: string | null;
|
|
811
|
+
}
|
|
812
|
+
/**
|
|
813
|
+
* ContainerConstraintsSubDescriptor — presence required by ST 2067-202 §5
|
|
814
|
+
*/
|
|
815
|
+
export interface ContainerConstraintsSubDescriptor {
|
|
816
|
+
InstanceID?: string | null;
|
|
767
817
|
}
|
|
768
818
|
/**
|
|
769
819
|
* JPEG 2000 Picture Sub Descriptor (ST 422 / ST 2067-21 Table 14)
|
|
@@ -898,6 +948,22 @@ export interface PHDRMetadataTrackSubDescriptor {
|
|
|
898
948
|
PHDRMetadataTrackSubDescriptor_SimplePayloadSID?: number | null;
|
|
899
949
|
PHDRMetadataTrackSubDescriptor_SourceTrackID?: number | null;
|
|
900
950
|
}
|
|
951
|
+
/**
|
|
952
|
+
* 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.
|
|
953
|
+
*/
|
|
954
|
+
export interface TargetFrameSubDescriptor {
|
|
955
|
+
ACESPictureSubDescriptorInstanceID?: string | null;
|
|
956
|
+
InstanceID?: string | null;
|
|
957
|
+
MediaType?: string | null;
|
|
958
|
+
TargetFrameAncillaryResourceID?: string | null;
|
|
959
|
+
TargetFrameColorPrimaries?: string | null;
|
|
960
|
+
TargetFrameComponentMaxRef?: string | null;
|
|
961
|
+
TargetFrameComponentMinRef?: string | null;
|
|
962
|
+
TargetFrameEssenceStreamID?: string | null;
|
|
963
|
+
TargetFrameIndex?: string | null;
|
|
964
|
+
TargetFrameTransferCharacteristic?: string | null;
|
|
965
|
+
TargetFrameViewingEnvironment?: string | null;
|
|
966
|
+
}
|
|
901
967
|
/**
|
|
902
968
|
* DC Timed Text descriptor (subtitles/captions)
|
|
903
969
|
*/
|
|
@@ -978,7 +1044,7 @@ export interface IABSoundfieldLabelSubDescriptor {
|
|
|
978
1044
|
RFC5646SpokenLanguage?: LanguageTag | null;
|
|
979
1045
|
}
|
|
980
1046
|
/**
|
|
981
|
-
* ISXD (
|
|
1047
|
+
* ISXD (Isochronous Stream of XML Documents, ST 2067-202) data essence descriptor
|
|
982
1048
|
*/
|
|
983
1049
|
export interface ISXDDataEssenceDescriptor {
|
|
984
1050
|
/**
|
|
@@ -1001,16 +1067,14 @@ export interface IsxdSubDescriptors {
|
|
|
1001
1067
|
*/
|
|
1002
1068
|
ContainerConstraintsSubDescriptor?: ContainerConstraintsSubDescriptor | null;
|
|
1003
1069
|
}
|
|
1004
|
-
/**
|
|
1005
|
-
* ContainerConstraintsSubDescriptor — presence required by ST 2067-202 §5
|
|
1006
|
-
*/
|
|
1007
|
-
export interface ContainerConstraintsSubDescriptor {
|
|
1008
|
-
InstanceID?: string | null;
|
|
1009
|
-
}
|
|
1010
1070
|
/**
|
|
1011
1071
|
* RGBA video descriptor (JPEG 2000 RGB content)
|
|
1012
1072
|
*/
|
|
1013
1073
|
export interface RGBADescriptor {
|
|
1074
|
+
/**
|
|
1075
|
+
* Generic Picture Essence Descriptor: Active Format Descriptor (ST 2065-5:2016 Table 10: shall not be present)
|
|
1076
|
+
*/
|
|
1077
|
+
ActiveFormatDescriptor?: string | null;
|
|
1014
1078
|
/**
|
|
1015
1079
|
* Table 10: AlphaMaxRef — shall not be present
|
|
1016
1080
|
*/
|
|
@@ -1033,6 +1097,10 @@ export interface RGBADescriptor {
|
|
|
1033
1097
|
* RGBA Descriptor: Component Min Ref (Table 10/11)
|
|
1034
1098
|
*/
|
|
1035
1099
|
ComponentMinRef?: number | null;
|
|
1100
|
+
/**
|
|
1101
|
+
* File Descriptor: Essence Container label
|
|
1102
|
+
*/
|
|
1103
|
+
ContainerFormat?: string | null;
|
|
1036
1104
|
/**
|
|
1037
1105
|
* Generic Picture Essence Descriptor: DisplayF2Offset
|
|
1038
1106
|
*/
|
|
@@ -1071,6 +1139,10 @@ export interface RGBADescriptor {
|
|
|
1071
1139
|
*/
|
|
1072
1140
|
PaletteLayout?: string | null;
|
|
1073
1141
|
PictureCompression?: VideoCodec | null;
|
|
1142
|
+
/**
|
|
1143
|
+
* RGBA Descriptor: Pixel Layout
|
|
1144
|
+
*/
|
|
1145
|
+
PixelLayout?: J2CLayout | null;
|
|
1074
1146
|
SampleRate?: EditRate | null;
|
|
1075
1147
|
/**
|
|
1076
1148
|
* Table 8: SampledHeight — shall not be present or shall be equal to StoredHeight
|
|
@@ -1092,6 +1164,10 @@ export interface RGBADescriptor {
|
|
|
1092
1164
|
* RGBA Descriptor: Scanning Direction (Table 10) Shall be "ScanningDirection_LeftToRightTopToBottom" (00h)
|
|
1093
1165
|
*/
|
|
1094
1166
|
ScanningDirection?: string | null;
|
|
1167
|
+
/**
|
|
1168
|
+
* Generic Picture Essence Descriptor: Signal Standard (ST 2065-5:2016 Table 10: shall not be present)
|
|
1169
|
+
*/
|
|
1170
|
+
SignalStandard?: string | null;
|
|
1095
1171
|
/**
|
|
1096
1172
|
* Table 8: StoredF2Offset — shall not be present
|
|
1097
1173
|
*/
|
|
@@ -1100,6 +1176,16 @@ export interface RGBADescriptor {
|
|
|
1100
1176
|
StoredWidth?: number | null;
|
|
1101
1177
|
SubDescriptors?: VideoSubDescriptors | null;
|
|
1102
1178
|
TransferCharacteristic?: TransferCharacteristic | null;
|
|
1179
|
+
/**
|
|
1180
|
+
* Generic Picture Essence Descriptor: Video Line Map
|
|
1181
|
+
*/
|
|
1182
|
+
VideoLineMap?: VideoLineMap | null;
|
|
1183
|
+
}
|
|
1184
|
+
/**
|
|
1185
|
+
* Video Line Map of a Generic Picture Essence Descriptor (ST 377-1).
|
|
1186
|
+
*/
|
|
1187
|
+
export interface VideoLineMap {
|
|
1188
|
+
Int32?: number[];
|
|
1103
1189
|
}
|
|
1104
1190
|
/**
|
|
1105
1191
|
* WAVE PCM audio descriptor
|