@imferno/node 3.0.2-beta.8c0734f → 3.0.2-beta.8c7d3cd
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 +50 -0
- package/codes.js +50 -0
- package/package.json +7 -7
- package/types.d.ts +62 -4
package/codes.d.ts
CHANGED
|
@@ -8,6 +8,9 @@ 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";
|
|
11
14
|
};
|
|
12
15
|
readonly ST377_4: {
|
|
13
16
|
readonly MCALinkIDMissing: "ST377-4/MCALinkIDMissing";
|
|
@@ -19,6 +22,7 @@ export declare const codes: {
|
|
|
19
22
|
readonly ST429_8: {
|
|
20
23
|
readonly SizeMismatch: "ST429-8/SizeMismatch";
|
|
21
24
|
readonly ChecksumMismatch: "ST429-8/ChecksumMismatch";
|
|
25
|
+
readonly MalformedXml: "ST429-8/MalformedXml";
|
|
22
26
|
};
|
|
23
27
|
readonly ST429_9: {
|
|
24
28
|
readonly AssetListEmpty: "ST429-9/AssetListEmpty";
|
|
@@ -33,10 +37,20 @@ export declare const codes: {
|
|
|
33
37
|
readonly AssetMapHasNoPackingList: "ST429-9/AssetMapHasNoPackingList";
|
|
34
38
|
readonly PklIdNotInAssetMap: "ST429-9/PklIdNotInAssetMap";
|
|
35
39
|
readonly AssetMapMalformedXml: "ST429-9/AssetMapMalformedXml";
|
|
40
|
+
readonly PackingListFlagNotPkl: "ST429-9/PackingListFlagNotPkl";
|
|
41
|
+
readonly VolumeCountNotOne: "ST429-9/VolumeCountNotOne";
|
|
42
|
+
readonly ChunkCountNotOne: "ST429-9/ChunkCountNotOne";
|
|
43
|
+
readonly ChunkVolumeIndexNotOne: "ST429-9/ChunkVolumeIndexNotOne";
|
|
44
|
+
readonly ChunkOffsetNotZero: "ST429-9/ChunkOffsetNotZero";
|
|
45
|
+
readonly ChunkLengthMismatch: "ST429-9/ChunkLengthMismatch";
|
|
46
|
+
readonly SymbolicLink: "ST429-9/SymbolicLink";
|
|
36
47
|
};
|
|
37
48
|
readonly ST2067_2: {
|
|
38
49
|
readonly NotImfCompositionPlaylist: "ST2067-2/NotImfCompositionPlaylist";
|
|
50
|
+
readonly ApplicationIdentificationMissing: "ST2067-2/ApplicationIdentificationMissing";
|
|
51
|
+
readonly ApplicationIdentificationDuplicate: "ST2067-2/ApplicationIdentificationDuplicate";
|
|
39
52
|
readonly PklMalformedXml: "ST2067-2/PklMalformedXml";
|
|
53
|
+
readonly NoPackingList: "ST2067-2/NoPackingList";
|
|
40
54
|
readonly NoCpls: "ST2067-2/NoCpls";
|
|
41
55
|
readonly SizeMismatch: "ST2067-2/SizeMismatch";
|
|
42
56
|
readonly FileNotFound: "ST2067-2/FileNotFound";
|
|
@@ -58,6 +72,7 @@ export declare const codes: {
|
|
|
58
72
|
readonly SoundfieldChannelCount: "ST2067-2/SoundfieldChannelCount";
|
|
59
73
|
readonly DigitalSignature: "ST2067-2/DigitalSignature";
|
|
60
74
|
readonly EssenceDescriptorList: "ST2067-2/EssenceDescriptorList";
|
|
75
|
+
readonly EssenceDescriptorContainerFormatMissing: "ST2067-2/EssenceDescriptorContainerFormatMissing";
|
|
61
76
|
readonly CplIdAssetMapMismatch: "ST2067-2/CplIdAssetMapMismatch";
|
|
62
77
|
readonly OperationalPatternNotOP1A: "ST2067-2/OperationalPatternNotOP1A";
|
|
63
78
|
readonly SoundDescriptorNotWAVEPCM: "ST2067-2/SoundDescriptorNotWAVEPCM";
|
|
@@ -88,6 +103,18 @@ export declare const codes: {
|
|
|
88
103
|
readonly TimedTextMappingKindNot0x13: "ST2067-2/TimedTextMappingKindNot0x13";
|
|
89
104
|
readonly MainImageVirtualTrackCount: "ST2067-2/MainImageVirtualTrackCount";
|
|
90
105
|
readonly AudioVirtualTrackMissing: "ST2067-2/AudioVirtualTrackMissing";
|
|
106
|
+
readonly TrackFileMediaType: "ST2067-2/TrackFileMediaType";
|
|
107
|
+
readonly CompositionEditRateMismatch: "ST2067-2/CompositionEditRateMismatch";
|
|
108
|
+
readonly MainImageEditRateMismatch: "ST2067-2/MainImageEditRateMismatch";
|
|
109
|
+
readonly AudioEditRateMismatch: "ST2067-2/AudioEditRateMismatch";
|
|
110
|
+
readonly ContentVersionMissing: "ST2067-2/ContentVersionMissing";
|
|
111
|
+
readonly ReferenceImageEditRateMissing: "ST2067-2/ReferenceImageEditRateMissing";
|
|
112
|
+
readonly ReferenceImageEditRateMismatch: "ST2067-2/ReferenceImageEditRateMismatch";
|
|
113
|
+
readonly AssetIdPackageUidMismatch: "ST2067-2/AssetIdPackageUidMismatch";
|
|
114
|
+
readonly TrackFileIdPackageUidMismatch: "ST2067-2/TrackFileIdPackageUidMismatch";
|
|
115
|
+
readonly PackageUidForm: "ST2067-2/PackageUidForm";
|
|
116
|
+
readonly UuidNotVersion4: "ST2067-2/UuidNotVersion4";
|
|
117
|
+
readonly AssetIdNotType5: "ST2067-2/AssetIdNotType5";
|
|
91
118
|
};
|
|
92
119
|
readonly ST2067_3: {
|
|
93
120
|
readonly ContentTitleEmpty: "ST2067-3/ContentTitleEmpty";
|
|
@@ -113,8 +140,22 @@ export declare const codes: {
|
|
|
113
140
|
readonly ResourceDuration: "ST2067-3/ResourceDuration";
|
|
114
141
|
readonly RepeatCount: "ST2067-3/RepeatCount";
|
|
115
142
|
readonly TrackFileId: "ST2067-3/TrackFileId";
|
|
143
|
+
readonly SourceEncodingMissing: "ST2067-3/SourceEncodingMissing";
|
|
116
144
|
readonly VirtualTrackContinuity: "ST2067-3/VirtualTrackContinuity";
|
|
145
|
+
readonly VirtualTrackSequenceKind: "ST2067-3/VirtualTrackSequenceKind";
|
|
146
|
+
readonly ExtensionSequenceNotSequenceType: "ST2067-3/ExtensionSequenceNotSequenceType";
|
|
147
|
+
readonly ResourceTypeMixed: "ST2067-3/ResourceTypeMixed";
|
|
148
|
+
readonly MarkerSequenceResourceType: "ST2067-3/MarkerSequenceResourceType";
|
|
117
149
|
readonly DanglingEssenceDescriptor: "ST2067-3/DanglingEssenceDescriptor";
|
|
150
|
+
readonly CplMediaType: "ST2067-3/CplMediaType";
|
|
151
|
+
readonly UniqueSequenceId: "ST2067-3/UniqueSequenceId";
|
|
152
|
+
readonly ContentMaturityRatingAgencyDuplicate: "ST2067-3/ContentMaturityRatingAgencyDuplicate";
|
|
153
|
+
readonly LocaleRegionInvalid: "ST2067-3/LocaleRegionInvalid";
|
|
154
|
+
readonly SignerWithoutSignature: "ST2067-3/SignerWithoutSignature";
|
|
155
|
+
readonly SignatureWithoutSigner: "ST2067-3/SignatureWithoutSigner";
|
|
156
|
+
readonly HashAlgorithmMissing: "ST2067-3/HashAlgorithmMissing";
|
|
157
|
+
readonly HashAlgorithmWithoutHash: "ST2067-3/HashAlgorithmWithoutHash";
|
|
158
|
+
readonly ResourceHashMismatch: "ST2067-3/ResourceHashMismatch";
|
|
118
159
|
};
|
|
119
160
|
readonly ST2067_5: {
|
|
120
161
|
readonly OperationalPatternQualifier: "ST2067-5/OperationalPatternQualifier";
|
|
@@ -226,7 +267,11 @@ export declare const codes: {
|
|
|
226
267
|
readonly SubDescriptorDuplicate: "ST2067-201/SubDescriptorDuplicate";
|
|
227
268
|
readonly MCAChannelIDForbidden: "ST2067-201/MCAChannelIDForbidden";
|
|
228
269
|
readonly EditRateNotIntegerMultiple: "ST2067-201/EditRateNotIntegerMultiple";
|
|
270
|
+
readonly ResourceEditRateNotSampleRate: "ST2067-201/ResourceEditRateNotSampleRate";
|
|
229
271
|
readonly IabChannelSubDescriptorRecommended: "ST2067-201/IabChannelSubDescriptorRecommended";
|
|
272
|
+
readonly ConformsToSpecificationsMissing: "ST2067-201/ConformsToSpecificationsMissing";
|
|
273
|
+
readonly ConformsToSpecificationsInvalid: "ST2067-201/ConformsToSpecificationsInvalid";
|
|
274
|
+
readonly EssenceNotHomogeneous: "ST2067-201/EssenceNotHomogeneous";
|
|
230
275
|
};
|
|
231
276
|
readonly ST2067_202: {
|
|
232
277
|
readonly NamespaceUriMissing: "ST2067-202/NamespaceUriMissing";
|
|
@@ -237,6 +282,7 @@ export declare const codes: {
|
|
|
237
282
|
readonly ISXDVirtualTrackMissing: "ST2067-202/ISXDVirtualTrackMissing";
|
|
238
283
|
readonly DataEssenceCodingMissing: "ST2067-202/DataEssenceCodingMissing";
|
|
239
284
|
readonly DataEssenceCodingInvalid: "ST2067-202/DataEssenceCodingInvalid";
|
|
285
|
+
readonly EssenceContainerInvalid: "ST2067-202/EssenceContainerInvalid";
|
|
240
286
|
};
|
|
241
287
|
readonly XSD: {
|
|
242
288
|
readonly ElementMissing: "XSD/ElementMissing";
|
|
@@ -248,6 +294,9 @@ export declare const codes: {
|
|
|
248
294
|
readonly NotValidated: "XSD/NotValidated";
|
|
249
295
|
};
|
|
250
296
|
readonly IMFERNO: {
|
|
297
|
+
readonly ExtensionSequenceNotValidated: "IMFERNO/ExtensionSequenceNotValidated";
|
|
298
|
+
readonly SequenceListUnreadable: "IMFERNO/SequenceListUnreadable";
|
|
299
|
+
readonly TrackFileIdentityNotValidated: "IMFERNO/TrackFileIdentityNotValidated";
|
|
251
300
|
readonly EditionAssumed: "IMFERNO/EditionAssumed";
|
|
252
301
|
readonly EditionConflict: "IMFERNO/EditionConflict";
|
|
253
302
|
readonly EditionPinned: "IMFERNO/EditionPinned";
|
|
@@ -265,6 +314,7 @@ export declare const codes: {
|
|
|
265
314
|
readonly ParseError: "IMFERNO/ParseError";
|
|
266
315
|
readonly PklParseError: "IMFERNO/PklParseError";
|
|
267
316
|
readonly XmlAssetParseError: "IMFERNO/XmlAssetParseError";
|
|
317
|
+
readonly CplUnparseable: "IMFERNO/CplUnparseable";
|
|
268
318
|
readonly XmlReadError: "IMFERNO/XmlReadError";
|
|
269
319
|
readonly ReadDirError: "IMFERNO/ReadDirError";
|
|
270
320
|
readonly DirEntryError: "IMFERNO/DirEntryError";
|
package/codes.js
CHANGED
|
@@ -8,6 +8,9 @@ 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",
|
|
11
14
|
},
|
|
12
15
|
ST377_4: {
|
|
13
16
|
MCALinkIDMissing: "ST377-4/MCALinkIDMissing",
|
|
@@ -19,6 +22,7 @@ const codes = {
|
|
|
19
22
|
ST429_8: {
|
|
20
23
|
SizeMismatch: "ST429-8/SizeMismatch",
|
|
21
24
|
ChecksumMismatch: "ST429-8/ChecksumMismatch",
|
|
25
|
+
MalformedXml: "ST429-8/MalformedXml",
|
|
22
26
|
},
|
|
23
27
|
ST429_9: {
|
|
24
28
|
AssetListEmpty: "ST429-9/AssetListEmpty",
|
|
@@ -33,10 +37,20 @@ const codes = {
|
|
|
33
37
|
AssetMapHasNoPackingList: "ST429-9/AssetMapHasNoPackingList",
|
|
34
38
|
PklIdNotInAssetMap: "ST429-9/PklIdNotInAssetMap",
|
|
35
39
|
AssetMapMalformedXml: "ST429-9/AssetMapMalformedXml",
|
|
40
|
+
PackingListFlagNotPkl: "ST429-9/PackingListFlagNotPkl",
|
|
41
|
+
VolumeCountNotOne: "ST429-9/VolumeCountNotOne",
|
|
42
|
+
ChunkCountNotOne: "ST429-9/ChunkCountNotOne",
|
|
43
|
+
ChunkVolumeIndexNotOne: "ST429-9/ChunkVolumeIndexNotOne",
|
|
44
|
+
ChunkOffsetNotZero: "ST429-9/ChunkOffsetNotZero",
|
|
45
|
+
ChunkLengthMismatch: "ST429-9/ChunkLengthMismatch",
|
|
46
|
+
SymbolicLink: "ST429-9/SymbolicLink",
|
|
36
47
|
},
|
|
37
48
|
ST2067_2: {
|
|
38
49
|
NotImfCompositionPlaylist: "ST2067-2/NotImfCompositionPlaylist",
|
|
50
|
+
ApplicationIdentificationMissing: "ST2067-2/ApplicationIdentificationMissing",
|
|
51
|
+
ApplicationIdentificationDuplicate: "ST2067-2/ApplicationIdentificationDuplicate",
|
|
39
52
|
PklMalformedXml: "ST2067-2/PklMalformedXml",
|
|
53
|
+
NoPackingList: "ST2067-2/NoPackingList",
|
|
40
54
|
NoCpls: "ST2067-2/NoCpls",
|
|
41
55
|
SizeMismatch: "ST2067-2/SizeMismatch",
|
|
42
56
|
FileNotFound: "ST2067-2/FileNotFound",
|
|
@@ -58,6 +72,7 @@ const codes = {
|
|
|
58
72
|
SoundfieldChannelCount: "ST2067-2/SoundfieldChannelCount",
|
|
59
73
|
DigitalSignature: "ST2067-2/DigitalSignature",
|
|
60
74
|
EssenceDescriptorList: "ST2067-2/EssenceDescriptorList",
|
|
75
|
+
EssenceDescriptorContainerFormatMissing: "ST2067-2/EssenceDescriptorContainerFormatMissing",
|
|
61
76
|
CplIdAssetMapMismatch: "ST2067-2/CplIdAssetMapMismatch",
|
|
62
77
|
OperationalPatternNotOP1A: "ST2067-2/OperationalPatternNotOP1A",
|
|
63
78
|
SoundDescriptorNotWAVEPCM: "ST2067-2/SoundDescriptorNotWAVEPCM",
|
|
@@ -88,6 +103,18 @@ const codes = {
|
|
|
88
103
|
TimedTextMappingKindNot0x13: "ST2067-2/TimedTextMappingKindNot0x13",
|
|
89
104
|
MainImageVirtualTrackCount: "ST2067-2/MainImageVirtualTrackCount",
|
|
90
105
|
AudioVirtualTrackMissing: "ST2067-2/AudioVirtualTrackMissing",
|
|
106
|
+
TrackFileMediaType: "ST2067-2/TrackFileMediaType",
|
|
107
|
+
CompositionEditRateMismatch: "ST2067-2/CompositionEditRateMismatch",
|
|
108
|
+
MainImageEditRateMismatch: "ST2067-2/MainImageEditRateMismatch",
|
|
109
|
+
AudioEditRateMismatch: "ST2067-2/AudioEditRateMismatch",
|
|
110
|
+
ContentVersionMissing: "ST2067-2/ContentVersionMissing",
|
|
111
|
+
ReferenceImageEditRateMissing: "ST2067-2/ReferenceImageEditRateMissing",
|
|
112
|
+
ReferenceImageEditRateMismatch: "ST2067-2/ReferenceImageEditRateMismatch",
|
|
113
|
+
AssetIdPackageUidMismatch: "ST2067-2/AssetIdPackageUidMismatch",
|
|
114
|
+
TrackFileIdPackageUidMismatch: "ST2067-2/TrackFileIdPackageUidMismatch",
|
|
115
|
+
PackageUidForm: "ST2067-2/PackageUidForm",
|
|
116
|
+
UuidNotVersion4: "ST2067-2/UuidNotVersion4",
|
|
117
|
+
AssetIdNotType5: "ST2067-2/AssetIdNotType5",
|
|
91
118
|
},
|
|
92
119
|
ST2067_3: {
|
|
93
120
|
ContentTitleEmpty: "ST2067-3/ContentTitleEmpty",
|
|
@@ -113,8 +140,22 @@ const codes = {
|
|
|
113
140
|
ResourceDuration: "ST2067-3/ResourceDuration",
|
|
114
141
|
RepeatCount: "ST2067-3/RepeatCount",
|
|
115
142
|
TrackFileId: "ST2067-3/TrackFileId",
|
|
143
|
+
SourceEncodingMissing: "ST2067-3/SourceEncodingMissing",
|
|
116
144
|
VirtualTrackContinuity: "ST2067-3/VirtualTrackContinuity",
|
|
145
|
+
VirtualTrackSequenceKind: "ST2067-3/VirtualTrackSequenceKind",
|
|
146
|
+
ExtensionSequenceNotSequenceType: "ST2067-3/ExtensionSequenceNotSequenceType",
|
|
147
|
+
ResourceTypeMixed: "ST2067-3/ResourceTypeMixed",
|
|
148
|
+
MarkerSequenceResourceType: "ST2067-3/MarkerSequenceResourceType",
|
|
117
149
|
DanglingEssenceDescriptor: "ST2067-3/DanglingEssenceDescriptor",
|
|
150
|
+
CplMediaType: "ST2067-3/CplMediaType",
|
|
151
|
+
UniqueSequenceId: "ST2067-3/UniqueSequenceId",
|
|
152
|
+
ContentMaturityRatingAgencyDuplicate: "ST2067-3/ContentMaturityRatingAgencyDuplicate",
|
|
153
|
+
LocaleRegionInvalid: "ST2067-3/LocaleRegionInvalid",
|
|
154
|
+
SignerWithoutSignature: "ST2067-3/SignerWithoutSignature",
|
|
155
|
+
SignatureWithoutSigner: "ST2067-3/SignatureWithoutSigner",
|
|
156
|
+
HashAlgorithmMissing: "ST2067-3/HashAlgorithmMissing",
|
|
157
|
+
HashAlgorithmWithoutHash: "ST2067-3/HashAlgorithmWithoutHash",
|
|
158
|
+
ResourceHashMismatch: "ST2067-3/ResourceHashMismatch",
|
|
118
159
|
},
|
|
119
160
|
ST2067_5: {
|
|
120
161
|
OperationalPatternQualifier: "ST2067-5/OperationalPatternQualifier",
|
|
@@ -226,7 +267,11 @@ const codes = {
|
|
|
226
267
|
SubDescriptorDuplicate: "ST2067-201/SubDescriptorDuplicate",
|
|
227
268
|
MCAChannelIDForbidden: "ST2067-201/MCAChannelIDForbidden",
|
|
228
269
|
EditRateNotIntegerMultiple: "ST2067-201/EditRateNotIntegerMultiple",
|
|
270
|
+
ResourceEditRateNotSampleRate: "ST2067-201/ResourceEditRateNotSampleRate",
|
|
229
271
|
IabChannelSubDescriptorRecommended: "ST2067-201/IabChannelSubDescriptorRecommended",
|
|
272
|
+
ConformsToSpecificationsMissing: "ST2067-201/ConformsToSpecificationsMissing",
|
|
273
|
+
ConformsToSpecificationsInvalid: "ST2067-201/ConformsToSpecificationsInvalid",
|
|
274
|
+
EssenceNotHomogeneous: "ST2067-201/EssenceNotHomogeneous",
|
|
230
275
|
},
|
|
231
276
|
ST2067_202: {
|
|
232
277
|
NamespaceUriMissing: "ST2067-202/NamespaceUriMissing",
|
|
@@ -237,6 +282,7 @@ const codes = {
|
|
|
237
282
|
ISXDVirtualTrackMissing: "ST2067-202/ISXDVirtualTrackMissing",
|
|
238
283
|
DataEssenceCodingMissing: "ST2067-202/DataEssenceCodingMissing",
|
|
239
284
|
DataEssenceCodingInvalid: "ST2067-202/DataEssenceCodingInvalid",
|
|
285
|
+
EssenceContainerInvalid: "ST2067-202/EssenceContainerInvalid",
|
|
240
286
|
},
|
|
241
287
|
XSD: {
|
|
242
288
|
ElementMissing: "XSD/ElementMissing",
|
|
@@ -248,6 +294,9 @@ const codes = {
|
|
|
248
294
|
NotValidated: "XSD/NotValidated",
|
|
249
295
|
},
|
|
250
296
|
IMFERNO: {
|
|
297
|
+
ExtensionSequenceNotValidated: "IMFERNO/ExtensionSequenceNotValidated",
|
|
298
|
+
SequenceListUnreadable: "IMFERNO/SequenceListUnreadable",
|
|
299
|
+
TrackFileIdentityNotValidated: "IMFERNO/TrackFileIdentityNotValidated",
|
|
251
300
|
EditionAssumed: "IMFERNO/EditionAssumed",
|
|
252
301
|
EditionConflict: "IMFERNO/EditionConflict",
|
|
253
302
|
EditionPinned: "IMFERNO/EditionPinned",
|
|
@@ -265,6 +314,7 @@ const codes = {
|
|
|
265
314
|
ParseError: "IMFERNO/ParseError",
|
|
266
315
|
PklParseError: "IMFERNO/PklParseError",
|
|
267
316
|
XmlAssetParseError: "IMFERNO/XmlAssetParseError",
|
|
317
|
+
CplUnparseable: "IMFERNO/CplUnparseable",
|
|
268
318
|
XmlReadError: "IMFERNO/XmlReadError",
|
|
269
319
|
ReadDirError: "IMFERNO/ReadDirError",
|
|
270
320
|
DirEntryError: "IMFERNO/DirEntryError",
|
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.8c7d3cd",
|
|
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.8c7d3cd",
|
|
49
|
+
"@imferno/node-darwin-x64": "3.0.2-beta.8c7d3cd",
|
|
50
|
+
"@imferno/node-linux-x64-gnu": "3.0.2-beta.8c7d3cd",
|
|
51
|
+
"@imferno/node-linux-arm64-gnu": "3.0.2-beta.8c7d3cd",
|
|
52
|
+
"@imferno/node-win32-x64-msvc": "3.0.2-beta.8c7d3cd",
|
|
53
|
+
"@imferno/node-win32-arm64-msvc": "3.0.2-beta.8c7d3cd"
|
|
54
54
|
},
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public"
|
package/types.d.ts
CHANGED
|
@@ -355,6 +355,10 @@ export interface ValidationReport {
|
|
|
355
355
|
* Whether the package is compliant with base SMPTE standards
|
|
356
356
|
*/
|
|
357
357
|
is_compliant: boolean;
|
|
358
|
+
/**
|
|
359
|
+
* 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.
|
|
360
|
+
*/
|
|
361
|
+
is_fully_validated: boolean;
|
|
358
362
|
/**
|
|
359
363
|
* Whether the package is playable despite issues
|
|
360
364
|
*/
|
|
@@ -556,10 +560,21 @@ export interface ChunkList {
|
|
|
556
560
|
* A single file path entry in a ChunkList.
|
|
557
561
|
*/
|
|
558
562
|
export interface Chunk {
|
|
563
|
+
/**
|
|
564
|
+
* `<Length>` in bytes, when present.
|
|
565
|
+
*/
|
|
566
|
+
length?: number | null;
|
|
567
|
+
/**
|
|
568
|
+
* `<Offset>` in bytes, when present.
|
|
569
|
+
*/
|
|
570
|
+
offset?: number | null;
|
|
559
571
|
/**
|
|
560
572
|
* File path relative to the IMP root directory.
|
|
561
573
|
*/
|
|
562
574
|
path: string;
|
|
575
|
+
/**
|
|
576
|
+
* `<VolumeIndex>`; 1 when absent.
|
|
577
|
+
*/
|
|
563
578
|
volumeIndex: number;
|
|
564
579
|
}
|
|
565
580
|
/**
|
|
@@ -905,9 +920,9 @@ export interface IABEssenceDescriptor {
|
|
|
905
920
|
*/
|
|
906
921
|
ContainerFormat?: string | null;
|
|
907
922
|
/**
|
|
908
|
-
* ST 2067-201 §5.9: ElectrospatialFormulation shall
|
|
923
|
+
* 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
924
|
*/
|
|
910
|
-
ElectrospatialFormulation?:
|
|
925
|
+
ElectrospatialFormulation?: string | null;
|
|
911
926
|
InstanceID?: string | null;
|
|
912
927
|
LinkedTrackID?: number | null;
|
|
913
928
|
/**
|
|
@@ -931,7 +946,7 @@ export interface IABSubDescriptors {
|
|
|
931
946
|
/**
|
|
932
947
|
* Presence-only stub for ST 2067-201:2026 Annex E `IABChannelSubDescriptor`.
|
|
933
948
|
*
|
|
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`
|
|
949
|
+
* 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
950
|
*/
|
|
936
951
|
export interface IABChannelSubDescriptor {
|
|
937
952
|
/**
|
|
@@ -960,6 +975,10 @@ export interface IABSoundfieldLabelSubDescriptor {
|
|
|
960
975
|
* ISXD (Immersive Sound XML Data) essence descriptor — Dolby Atmos sidecar format
|
|
961
976
|
*/
|
|
962
977
|
export interface ISXDDataEssenceDescriptor {
|
|
978
|
+
/**
|
|
979
|
+
* ST 2067-202 §9.1: the Essence Container UL shall be the Frame Wrapped ISXD Container UL (Table 3).
|
|
980
|
+
*/
|
|
981
|
+
ContainerFormat?: string | null;
|
|
963
982
|
DataEssenceCoding?: string | null;
|
|
964
983
|
InstanceID?: string | null;
|
|
965
984
|
LinkedTrackID?: number | null;
|
|
@@ -1085,6 +1104,10 @@ export interface WAVEPCMDescriptor {
|
|
|
1085
1104
|
InstanceID?: string | null;
|
|
1086
1105
|
LinkedTrackID?: number | null;
|
|
1087
1106
|
QuantizationBits?: number | null;
|
|
1107
|
+
/**
|
|
1108
|
+
* 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).
|
|
1109
|
+
*/
|
|
1110
|
+
ReferenceImageEditRate?: EditRate | null;
|
|
1088
1111
|
SampleRate?: EditRate | null;
|
|
1089
1112
|
SubDescriptors?: AudioSubDescriptors | null;
|
|
1090
1113
|
}
|
|
@@ -1106,6 +1129,9 @@ export interface SoundfieldGroupLabelSubDescriptor {
|
|
|
1106
1129
|
*/
|
|
1107
1130
|
RFC5646SpokenLanguage?: LanguageTag | null;
|
|
1108
1131
|
}
|
|
1132
|
+
/**
|
|
1133
|
+
* The CPL's `ExtensionProperties`: ApplicationIdentification (the Application IDs of every ST 2067-2 instance, space-separated), MaxCLL and MaxFALL.
|
|
1134
|
+
*/
|
|
1109
1135
|
export interface ExtensionProperties {
|
|
1110
1136
|
ApplicationIdentification?: string | null;
|
|
1111
1137
|
MaxCLL?: number | null;
|
|
@@ -1154,6 +1180,10 @@ export interface Segment {
|
|
|
1154
1180
|
SequenceList: SequenceList;
|
|
1155
1181
|
}
|
|
1156
1182
|
export interface SequenceList {
|
|
1183
|
+
/**
|
|
1184
|
+
* 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.
|
|
1185
|
+
*/
|
|
1186
|
+
ExtensionSequence?: ExtensionSequence[];
|
|
1157
1187
|
ForcedNarrativeSequence?: ForcedNarrativeSequence[];
|
|
1158
1188
|
HearingImpairedCaptionsSequence?: HearingImpairedCaptionsSequence[];
|
|
1159
1189
|
IABSequence?: IABSequence[];
|
|
@@ -1163,8 +1193,13 @@ export interface SequenceList {
|
|
|
1163
1193
|
MarkerSequence?: MarkerSequence[];
|
|
1164
1194
|
SubtitlesSequence?: SubtitlesSequence[];
|
|
1165
1195
|
}
|
|
1166
|
-
|
|
1196
|
+
/**
|
|
1197
|
+
* 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).
|
|
1198
|
+
*/
|
|
1199
|
+
export interface ExtensionSequence {
|
|
1167
1200
|
Id: ImfUuid;
|
|
1201
|
+
Name?: string;
|
|
1202
|
+
Namespace?: string | null;
|
|
1168
1203
|
ResourceList: ResourceList;
|
|
1169
1204
|
TrackId: ImfUuid;
|
|
1170
1205
|
}
|
|
@@ -1179,17 +1214,40 @@ export interface Resource {
|
|
|
1179
1214
|
Id: ImfUuid;
|
|
1180
1215
|
IntrinsicDuration: number;
|
|
1181
1216
|
KeyId?: ImfUuid | null;
|
|
1217
|
+
/**
|
|
1218
|
+
* `LeftEye` of a `cc:StereoImageTrackFileResourceType` resource (ST 2067-2:2013, :2016 and :2020). A stereo resource carries its SourceEncoding and TrackFileId per eye, not on the resource itself.
|
|
1219
|
+
*/
|
|
1220
|
+
LeftEye?: StereoEye | null;
|
|
1182
1221
|
Marker?: MarkerInfo[];
|
|
1183
1222
|
RepeatCount?: number | null;
|
|
1223
|
+
/**
|
|
1224
|
+
* `RightEye` of a `cc:StereoImageTrackFileResourceType` resource.
|
|
1225
|
+
*/
|
|
1226
|
+
RightEye?: StereoEye | null;
|
|
1184
1227
|
SourceDuration?: number | null;
|
|
1185
1228
|
SourceEncoding?: ImfUuid | null;
|
|
1186
1229
|
TrackFileId?: ImfUuid | null;
|
|
1187
1230
|
}
|
|
1231
|
+
/**
|
|
1232
|
+
* One eye of a stereo resource: a `cpl:TrackFileResourceType` (ST 2067-2). Only the track file reference fields are kept; the eye's timing fields are checked by the XSD layer.
|
|
1233
|
+
*/
|
|
1234
|
+
export interface StereoEye {
|
|
1235
|
+
Hash?: string | null;
|
|
1236
|
+
Id?: ImfUuid | null;
|
|
1237
|
+
KeyId?: ImfUuid | null;
|
|
1238
|
+
SourceEncoding?: ImfUuid | null;
|
|
1239
|
+
TrackFileId?: ImfUuid | null;
|
|
1240
|
+
}
|
|
1188
1241
|
export interface MarkerInfo {
|
|
1189
1242
|
Annotation?: string | null;
|
|
1190
1243
|
Label: MarkerLabelElement;
|
|
1191
1244
|
Offset: number;
|
|
1192
1245
|
}
|
|
1246
|
+
export interface ForcedNarrativeSequence {
|
|
1247
|
+
Id: ImfUuid;
|
|
1248
|
+
ResourceList: ResourceList;
|
|
1249
|
+
TrackId: ImfUuid;
|
|
1250
|
+
}
|
|
1193
1251
|
export interface HearingImpairedCaptionsSequence {
|
|
1194
1252
|
Id: ImfUuid;
|
|
1195
1253
|
ResourceList: ResourceList;
|