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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -35,6 +35,26 @@ for (const issue of validation.errors) {
35
35
  console.log("CPLs:", Object.keys(pkg.compositionPlaylists).length);
36
36
  ```
37
37
 
38
+ `validatePath` hashes every asset (several at a time, like the CLI) and
39
+ blocks until done. To keep the event loop running, use the async variant:
40
+ same arguments, same result, on the libuv thread pool.
41
+
42
+ ```ts
43
+ import { validatePathAsync } from "@imferno/node";
44
+
45
+ const { validation } = await validatePathAsync("./my-imp");
46
+ ```
47
+
48
+ `validateUriAsync`, `buildReportFromPathAsync` and `buildReportFromUriAsync`
49
+ work the same way.
50
+
51
+ Each running `…Async` call holds one libuv worker thread for its whole run
52
+ (the hashing itself runs on imferno's own threads). The pool has 4 workers
53
+ by default and is shared with `fs`, `dns.lookup`, `crypto` and `zlib`, so
54
+ more than a few concurrent validations queue each other and that I/O. To
55
+ run more at once, raise the pool size before Node starts it, e.g.
56
+ `UV_THREADPOOL_SIZE=16 node app.js` (max 1024).
57
+
38
58
  ### Validate from a URI (filesystem or S3)
39
59
 
40
60
  ```js
@@ -46,6 +66,8 @@ const result2 = validateUri("file:///abs/path/to/my-imp");
46
66
 
47
67
  // S3 — prebuilt npm binaries include S3 support; uses the default AWS
48
68
  // credential chain (env vars, profile, or EC2/ECS/EKS IMDS)
69
+ // Only the XML is read from S3: presence, size and hash checks do not run,
70
+ // and the result says so (IMFERNO:Package/DiskChecksNotRun).
49
71
  const result3 = validateUri("s3://my-bucket/path/to/imp/");
50
72
 
51
73
  // Same options object as validatePath
@@ -121,17 +143,26 @@ console.log(getVersion()); // e.g. "2.0.0"
121
143
 
122
144
  | Option | Type | Description |
123
145
  |--------|------|-------------|
124
- | `coreSpec` | `"auto" \| "v2013" \| "v2016" \| "v2020"` | Core constraints spec version |
146
+ | `coreSpec` | `"auto" \| "v2013" \| "v2016" \| "v2020"` | Core constraints (ST 2067-2) edition; a pin also pins the editions it cites (ST 2067-3, ST 2067-201, ST 377-1/-4) |
147
+ | `cplSpec` | `"auto" \| "v2013" \| "v2016" \| "v2020"` | Composition Playlist (ST 2067-3) edition; wins over the one `coreSpec` implies |
148
+ | `iabSpec` | `"auto" \| "v2019" \| "v2021" \| "v2026"` | IAB plug-in (ST 2067-201) edition; wins over the one `coreSpec` implies |
125
149
  | `app2eSpec` | `"auto" \| "none" \| "v2014" \| "v2016" \| "v2020" \| "v2023" \| "v2026"` | Application spec version |
126
150
  | `rules` | `Record<string, "off" \| "info" \| "warn" \| "error" \| "critical">` | ESLint-style per-rule severity overrides |
127
151
  | `aggregateRepeats` | `boolean` | Collapse repeated identical findings into one issue with `additional_instances` |
128
- | `skipDiskChecks` | `boolean` | Skip file manifest and MXF checks (path / URI functions only; in-memory input never touches disk) |
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
+ | `skipHashes` | `boolean` | Skip hashing the assets; existence and size are still checked (path / URI functions only). Hashes are verified by default, like the CLI |
129
154
  | `credentials` | `S3Credentials \| null` | Explicit S3 credentials (URI functions only) |
130
155
 
156
+ An option the function does not accept, or a value of the wrong type, throws.
157
+ `null` and `undefined` mean not set for every option in the table, also one
158
+ the function does not take; an unknown key throws even as `null`, so a typo
159
+ like `{ skipHash: null }` is caught.
160
+
131
161
  ### TypeScript
132
162
 
133
163
  The package ships precise declarations, generated from the Rust types (no
134
- `any`). Every function is synchronous. All value types are exported from the
164
+ `any`). Every function is synchronous, except the `…Async` variants, which
165
+ return a Promise. All value types are exported from the
135
166
  main entry:
136
167
 
137
168
  ```ts
package/codes.d.ts CHANGED
@@ -3,21 +3,33 @@
3
3
  export declare const codes: {
4
4
  readonly ST377_1: {
5
5
  readonly NotMxf: "ST377-1/NotMxf";
6
- readonly ParseError: "ST377-1/ParseError";
7
6
  readonly NoEssenceContainers: "ST377-1/NoEssenceContainers";
8
- readonly Op1a: "ST377-1/Op1a";
9
7
  readonly NonHeaderFirstPartition: "ST377-1/NonHeaderFirstPartition";
10
8
  readonly HeaderPartitionOpen: "ST377-1/HeaderPartitionOpen";
11
9
  readonly MissingHeaderMetadata: "ST377-1/MissingHeaderMetadata";
12
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";
13
21
  };
14
22
  readonly ST377_4: {
15
23
  readonly MCALinkIDMissing: "ST377-4/MCALinkIDMissing";
16
24
  readonly SoundfieldGroupLinkIDMismatch: "ST377-4/SoundfieldGroupLinkIDMismatch";
25
+ readonly MCALinkIDNotUnique: "ST377-4/MCALinkIDNotUnique";
26
+ readonly MCATagSymbolSyntax: "ST377-4/MCATagSymbolSyntax";
27
+ readonly SoundfieldGroupUnreferenced: "ST377-4/SoundfieldGroupUnreferenced";
17
28
  };
18
29
  readonly ST429_8: {
19
30
  readonly SizeMismatch: "ST429-8/SizeMismatch";
20
31
  readonly ChecksumMismatch: "ST429-8/ChecksumMismatch";
32
+ readonly MalformedXml: "ST429-8/MalformedXml";
21
33
  };
22
34
  readonly ST429_9: {
23
35
  readonly AssetListEmpty: "ST429-9/AssetListEmpty";
@@ -31,10 +43,22 @@ export declare const codes: {
31
43
  readonly AssetMapFileName: "ST429-9/AssetMapFileName";
32
44
  readonly AssetMapHasNoPackingList: "ST429-9/AssetMapHasNoPackingList";
33
45
  readonly PklIdNotInAssetMap: "ST429-9/PklIdNotInAssetMap";
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";
34
54
  };
35
55
  readonly ST2067_2: {
36
- readonly AssetMapMalformedXml: "ST2067-2/AssetMapMalformedXml";
56
+ readonly NotImfCompositionPlaylist: "ST2067-2/NotImfCompositionPlaylist";
57
+ readonly ApplicationCplMismatch: "ST2067-2/ApplicationCplMismatch";
58
+ readonly ApplicationIdentificationMissing: "ST2067-2/ApplicationIdentificationMissing";
59
+ readonly ApplicationIdentificationDuplicate: "ST2067-2/ApplicationIdentificationDuplicate";
37
60
  readonly PklMalformedXml: "ST2067-2/PklMalformedXml";
61
+ readonly NoPackingList: "ST2067-2/NoPackingList";
38
62
  readonly NoCpls: "ST2067-2/NoCpls";
39
63
  readonly SizeMismatch: "ST2067-2/SizeMismatch";
40
64
  readonly FileNotFound: "ST2067-2/FileNotFound";
@@ -43,30 +67,6 @@ export declare const codes: {
43
67
  readonly TrackFileNotInPackage: "ST2067-2/TrackFileNotInPackage";
44
68
  readonly DuplicateUuid: "ST2067-2/DuplicateUuid";
45
69
  readonly PklUnknownNamespace: "ST2067-2/PklUnknownNamespace";
46
- readonly ResourceListEmpty: "ST2067-2/ResourceListEmpty";
47
- readonly ContentTitle: "ST2067-2/ContentTitle";
48
- readonly TotalRunningTimeFormat: "ST2067-2/TotalRunningTimeFormat";
49
- readonly SegmentList: "ST2067-2/SegmentList";
50
- readonly Segment: "ST2067-2/Segment";
51
- readonly EditRate: "ST2067-2/EditRate";
52
- readonly IssueDate: "ST2067-2/IssueDate";
53
- readonly IssueDateFormat: "ST2067-2/IssueDateFormat";
54
- readonly CompositionTimecodeDropFrame: "ST2067-2/CompositionTimecodeDropFrame";
55
- readonly CompositionTimecodeRate: "ST2067-2/CompositionTimecodeRate";
56
- readonly CompositionTimecodeStartAddress: "ST2067-2/CompositionTimecodeStartAddress";
57
- readonly CompositionTimecodeRateZero: "ST2067-2/CompositionTimecodeRateZero";
58
- readonly CompositionTimecodeStartAddressFormat: "ST2067-2/CompositionTimecodeStartAddressFormat";
59
- readonly CompositionTimecodeRateMismatch: "ST2067-2/CompositionTimecodeRateMismatch";
60
- readonly LocaleListNonEmpty: "ST2067-2/LocaleListNonEmpty";
61
- readonly UniqueSegmentId: "ST2067-2/UniqueSegmentId";
62
- readonly UniqueEssenceDescriptorId: "ST2067-2/UniqueEssenceDescriptorId";
63
- readonly UniqueResourceId: "ST2067-2/UniqueResourceId";
64
- readonly IntrinsicDuration: "ST2067-2/IntrinsicDuration";
65
- readonly EntryPoint: "ST2067-2/EntryPoint";
66
- readonly ResourceDuration: "ST2067-2/ResourceDuration";
67
- readonly RepeatCount: "ST2067-2/RepeatCount";
68
- readonly TrackFileId: "ST2067-2/TrackFileId";
69
- readonly VirtualTrackContinuity: "ST2067-2/VirtualTrackContinuity";
70
70
  readonly VirtualTrackEditRate: "ST2067-2/VirtualTrackEditRate";
71
71
  readonly TimedTextSampleRate: "ST2067-2/TimedTextSampleRate";
72
72
  readonly TimedTextEmptyLanguageTag: "ST2067-2/TimedTextEmptyLanguageTag";
@@ -79,8 +79,9 @@ export declare const codes: {
79
79
  readonly MCATagSymbol: "ST2067-2/MCATagSymbol";
80
80
  readonly SoundfieldChannelCount: "ST2067-2/SoundfieldChannelCount";
81
81
  readonly DigitalSignature: "ST2067-2/DigitalSignature";
82
- readonly DanglingEssenceDescriptor: "ST2067-2/DanglingEssenceDescriptor";
83
82
  readonly EssenceDescriptorList: "ST2067-2/EssenceDescriptorList";
83
+ readonly EssenceDescriptorContainerFormatMissing: "ST2067-2/EssenceDescriptorContainerFormatMissing";
84
+ readonly EssenceDescriptorDiffersFromTrackFile: "ST2067-2/EssenceDescriptorDiffersFromTrackFile";
84
85
  readonly CplIdAssetMapMismatch: "ST2067-2/CplIdAssetMapMismatch";
85
86
  readonly OperationalPatternNotOP1A: "ST2067-2/OperationalPatternNotOP1A";
86
87
  readonly SoundDescriptorNotWAVEPCM: "ST2067-2/SoundDescriptorNotWAVEPCM";
@@ -98,12 +99,38 @@ export declare const codes: {
98
99
  readonly SoundfieldGroupMissingMCATitleVersion: "ST2067-2/SoundfieldGroupMissingMCATitleVersion";
99
100
  readonly SoundfieldGroupMissingMCAAudioContentKind: "ST2067-2/SoundfieldGroupMissingMCAAudioContentKind";
100
101
  readonly SoundfieldGroupMissingMCAAudioElementKind: "ST2067-2/SoundfieldGroupMissingMCAAudioElementKind";
102
+ readonly MCATagNameMissing: "ST2067-2/MCATagNameMissing";
103
+ readonly GroupOfSoundfieldGroupsMissingMCATitle: "ST2067-2/GroupOfSoundfieldGroupsMissingMCATitle";
104
+ readonly GroupOfSoundfieldGroupsMissingMCATitleVersion: "ST2067-2/GroupOfSoundfieldGroupsMissingMCATitleVersion";
105
+ readonly GroupOfSoundfieldGroupsMissingMCAAudioContentKind: "ST2067-2/GroupOfSoundfieldGroupsMissingMCAAudioContentKind";
106
+ readonly GroupOfSoundfieldGroupsMissingMCAAudioElementKind: "ST2067-2/GroupOfSoundfieldGroupsMissingMCAAudioElementKind";
107
+ readonly AudioEssenceNotHomogeneous: "ST2067-2/AudioEssenceNotHomogeneous";
108
+ readonly AudioVirtualTrackLabelsDiffer: "ST2067-2/AudioVirtualTrackLabelsDiffer";
101
109
  readonly TimedTextUCSEncodingNotUTF8: "ST2067-2/TimedTextUCSEncodingNotUTF8";
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";
116
+ readonly MainImageVirtualTrackCount: "ST2067-2/MainImageVirtualTrackCount";
117
+ readonly AudioVirtualTrackMissing: "ST2067-2/AudioVirtualTrackMissing";
118
+ readonly TrackFileMediaType: "ST2067-2/TrackFileMediaType";
119
+ readonly CompositionEditRateMismatch: "ST2067-2/CompositionEditRateMismatch";
120
+ readonly MainImageEditRateMismatch: "ST2067-2/MainImageEditRateMismatch";
121
+ readonly AudioEditRateMismatch: "ST2067-2/AudioEditRateMismatch";
122
+ readonly ContentVersionMissing: "ST2067-2/ContentVersionMissing";
123
+ readonly ReferenceImageEditRateMissing: "ST2067-2/ReferenceImageEditRateMissing";
124
+ readonly ReferenceImageEditRateMismatch: "ST2067-2/ReferenceImageEditRateMismatch";
125
+ readonly AssetIdPackageUidMismatch: "ST2067-2/AssetIdPackageUidMismatch";
126
+ readonly TrackFileIdPackageUidMismatch: "ST2067-2/TrackFileIdPackageUidMismatch";
127
+ readonly PackageUidForm: "ST2067-2/PackageUidForm";
128
+ readonly UuidNotVersion4: "ST2067-2/UuidNotVersion4";
129
+ readonly AssetIdNotType5: "ST2067-2/AssetIdNotType5";
105
130
  };
106
131
  readonly ST2067_3: {
132
+ readonly ContentTitleEmpty: "ST2067-3/ContentTitleEmpty";
133
+ readonly ResourceListEmpty: "ST2067-3/ResourceListEmpty";
107
134
  readonly ContentKindUnknown: "ST2067-3/ContentKindUnknown";
108
135
  readonly SourceEncodingNoEssenceDescriptorList: "ST2067-3/SourceEncodingNoEssenceDescriptorList";
109
136
  readonly SourceEncodingUnresolved: "ST2067-3/SourceEncodingUnresolved";
@@ -118,6 +145,34 @@ export declare const codes: {
118
145
  readonly SegmentDuration: "ST2067-3/SegmentDuration";
119
146
  readonly ContentVersionIdDuplicate: "ST2067-3/ContentVersionIdDuplicate";
120
147
  readonly SegmentDurationIntegerEditUnits: "ST2067-3/SegmentDurationIntegerEditUnits";
148
+ readonly UniqueSegmentId: "ST2067-3/UniqueSegmentId";
149
+ readonly UniqueEssenceDescriptorId: "ST2067-3/UniqueEssenceDescriptorId";
150
+ readonly UniqueResourceId: "ST2067-3/UniqueResourceId";
151
+ readonly EntryPoint: "ST2067-3/EntryPoint";
152
+ readonly ResourceDuration: "ST2067-3/ResourceDuration";
153
+ readonly RepeatCount: "ST2067-3/RepeatCount";
154
+ readonly TrackFileId: "ST2067-3/TrackFileId";
155
+ readonly SourceEncodingMissing: "ST2067-3/SourceEncodingMissing";
156
+ readonly VirtualTrackContinuity: "ST2067-3/VirtualTrackContinuity";
157
+ readonly VirtualTrackSequenceKind: "ST2067-3/VirtualTrackSequenceKind";
158
+ readonly ExtensionSequenceNotSequenceType: "ST2067-3/ExtensionSequenceNotSequenceType";
159
+ readonly ResourceTypeMixed: "ST2067-3/ResourceTypeMixed";
160
+ readonly MarkerSequenceResourceType: "ST2067-3/MarkerSequenceResourceType";
161
+ readonly DanglingEssenceDescriptor: "ST2067-3/DanglingEssenceDescriptor";
162
+ readonly CplMediaType: "ST2067-3/CplMediaType";
163
+ readonly UniqueSequenceId: "ST2067-3/UniqueSequenceId";
164
+ readonly ContentMaturityRatingAgencyDuplicate: "ST2067-3/ContentMaturityRatingAgencyDuplicate";
165
+ readonly LocaleRegionInvalid: "ST2067-3/LocaleRegionInvalid";
166
+ readonly SignerWithoutSignature: "ST2067-3/SignerWithoutSignature";
167
+ readonly SignatureWithoutSigner: "ST2067-3/SignatureWithoutSigner";
168
+ readonly HashAlgorithmMissing: "ST2067-3/HashAlgorithmMissing";
169
+ readonly HashAlgorithmWithoutHash: "ST2067-3/HashAlgorithmWithoutHash";
170
+ readonly ResourceHashMismatch: "ST2067-3/ResourceHashMismatch";
171
+ };
172
+ readonly ST2067_5: {
173
+ readonly OperationalPatternQualifier: "ST2067-5/OperationalPatternQualifier";
174
+ readonly KagSizeNotOne: "ST2067-5/KagSizeNotOne";
175
+ readonly EssenceContainerLabelNotSingle: "ST2067-5/EssenceContainerLabelNotSingle";
121
176
  };
122
177
  readonly ST2067_9: {
123
178
  readonly MalformedXml: "ST2067-9/MalformedXml";
@@ -129,6 +184,57 @@ export declare const codes: {
129
184
  readonly CplNotFound: "ST2067-9/CplNotFound";
130
185
  readonly DuplicateCplId: "ST2067-9/DuplicateCplId";
131
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
+ };
132
238
  readonly ST2067_21: {
133
239
  readonly ColorSystem: "ST2067-21/ColorSystem";
134
240
  readonly BlackRefLevel: "ST2067-21/BlackRefLevel";
@@ -195,6 +301,37 @@ export declare const codes: {
195
301
  readonly HtIrvParameterBMax: "ST2067-21/HtIrvParameterBMax";
196
302
  readonly HtIrvParameterBRecommended: "ST2067-21/HtIrvParameterBRecommended";
197
303
  readonly J2K8KResolution: "ST2067-21/J2K8KResolution";
304
+ readonly RefLevelMissing: "ST2067-21/RefLevelMissing";
305
+ readonly DisplayF2Offset: "ST2067-21/DisplayF2Offset";
306
+ readonly J2CLayoutValue: "ST2067-21/J2CLayoutValue";
307
+ readonly PictureEssenceCoding: "ST2067-21/PictureEssenceCoding";
308
+ readonly HtCodestreamConstraints: "ST2067-21/HtCodestreamConstraints";
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";
198
335
  };
199
336
  readonly ST2067_201: {
200
337
  readonly CodecForbidden: "ST2067-201/CodecForbidden";
@@ -221,7 +358,11 @@ export declare const codes: {
221
358
  readonly SubDescriptorDuplicate: "ST2067-201/SubDescriptorDuplicate";
222
359
  readonly MCAChannelIDForbidden: "ST2067-201/MCAChannelIDForbidden";
223
360
  readonly EditRateNotIntegerMultiple: "ST2067-201/EditRateNotIntegerMultiple";
361
+ readonly ResourceEditRateNotSampleRate: "ST2067-201/ResourceEditRateNotSampleRate";
224
362
  readonly IabChannelSubDescriptorRecommended: "ST2067-201/IabChannelSubDescriptorRecommended";
363
+ readonly ConformsToSpecificationsMissing: "ST2067-201/ConformsToSpecificationsMissing";
364
+ readonly ConformsToSpecificationsInvalid: "ST2067-201/ConformsToSpecificationsInvalid";
365
+ readonly EssenceNotHomogeneous: "ST2067-201/EssenceNotHomogeneous";
225
366
  };
226
367
  readonly ST2067_202: {
227
368
  readonly NamespaceUriMissing: "ST2067-202/NamespaceUriMissing";
@@ -232,6 +373,91 @@ export declare const codes: {
232
373
  readonly ISXDVirtualTrackMissing: "ST2067-202/ISXDVirtualTrackMissing";
233
374
  readonly DataEssenceCodingMissing: "ST2067-202/DataEssenceCodingMissing";
234
375
  readonly DataEssenceCodingInvalid: "ST2067-202/DataEssenceCodingInvalid";
376
+ readonly EssenceContainerInvalid: "ST2067-202/EssenceContainerInvalid";
377
+ };
378
+ readonly ST2067_203: {
379
+ readonly SequenceResourceNotTrackFile: "ST2067-203/SequenceResourceNotTrackFile";
380
+ readonly VirtualTrackParameterSetMissing: "ST2067-203/VirtualTrackParameterSetMissing";
381
+ readonly VirtualTrackParameterSetDuplicate: "ST2067-203/VirtualTrackParameterSetDuplicate";
382
+ readonly VirtualTrackParameterSetIdDuplicate: "ST2067-203/VirtualTrackParameterSetIdDuplicate";
383
+ readonly VirtualTrackParameterSetOrphaned: "ST2067-203/VirtualTrackParameterSetOrphaned";
384
+ readonly VirtualTrackParameterSetInvalid: "ST2067-203/VirtualTrackParameterSetInvalid";
385
+ readonly OperationalModeUnknown: "ST2067-203/OperationalModeUnknown";
386
+ readonly OperationalModeNotRecognized: "ST2067-203/OperationalModeNotRecognized";
387
+ readonly SoundfieldGroupSelectorDuplicate: "ST2067-203/SoundfieldGroupSelectorDuplicate";
388
+ readonly SoundfieldGroupSelectorResourceIdOrphaned: "ST2067-203/SoundfieldGroupSelectorResourceIdOrphaned";
389
+ readonly SoundfieldGroupLinkIdDuplicate: "ST2067-203/SoundfieldGroupLinkIdDuplicate";
390
+ readonly EditRateNotHomogeneous: "ST2067-203/EditRateNotHomogeneous";
391
+ readonly EditRateNotMultipleOfMainImage: "ST2067-203/EditRateNotMultipleOfMainImage";
392
+ readonly TrackFileNotMGA: "ST2067-203/TrackFileNotMGA";
393
+ readonly TrackFileAudioSampleRate: "ST2067-203/TrackFileAudioSampleRate";
394
+ readonly TrackFileQuantizationBits: "ST2067-203/TrackFileQuantizationBits";
395
+ readonly TrackFileSoundCompression: "ST2067-203/TrackFileSoundCompression";
396
+ readonly TrackFileReferenceItemMissing: "ST2067-203/TrackFileReferenceItemMissing";
397
+ readonly TrackFileNotClipWrapped: "ST2067-203/TrackFileNotClipWrapped";
398
+ readonly ContainerConstraintsSubDescriptorMissing: "ST2067-203/ContainerConstraintsSubDescriptorMissing";
399
+ readonly SADMSectionCount: "ST2067-203/SADMSectionCount";
400
+ readonly SADMSectionIdentifier: "ST2067-203/SADMSectionIdentifier";
401
+ readonly SADMSectionNotFirst: "ST2067-203/SADMSectionNotFirst";
402
+ readonly AudioMetadataPackUsed: "ST2067-203/AudioMetadataPackUsed";
403
+ readonly SADMSubDescriptorMismatch: "ST2067-203/SADMSubDescriptorMismatch";
404
+ readonly SADMProfileLevelULBatchMissing: "ST2067-203/SADMProfileLevelULBatchMissing";
405
+ readonly ForbiddenMCASubDescriptor: "ST2067-203/ForbiddenMCASubDescriptor";
406
+ readonly SoundfieldGroupLabelForSupplementalSection: "ST2067-203/SoundfieldGroupLabelForSupplementalSection";
407
+ readonly SoundfieldGroupLabelValue: "ST2067-203/SoundfieldGroupLabelValue";
408
+ readonly MCATagNameMissing: "ST2067-203/MCATagNameMissing";
409
+ readonly MCAChannelIDPresent: "ST2067-203/MCAChannelIDPresent";
410
+ readonly SoundfieldGroupLabelItemMissing: "ST2067-203/SoundfieldGroupLabelItemMissing";
411
+ readonly ResourceEditRateNotTrackFile: "ST2067-203/ResourceEditRateNotTrackFile";
412
+ readonly AudioSampleRateNotHomogeneous: "ST2067-203/AudioSampleRateNotHomogeneous";
413
+ readonly SoundfieldGroupLinkIdNotInTrackFile: "ST2067-203/SoundfieldGroupLinkIdNotInTrackFile";
414
+ readonly OperationalModeALabelItems: "ST2067-203/OperationalModeALabelItems";
415
+ };
416
+ readonly ST2067_204: {
417
+ readonly SequenceResourceNotTrackFile: "ST2067-204/SequenceResourceNotTrackFile";
418
+ readonly VirtualTrackParameterSetMissing: "ST2067-204/VirtualTrackParameterSetMissing";
419
+ readonly VirtualTrackParameterSetDuplicate: "ST2067-204/VirtualTrackParameterSetDuplicate";
420
+ readonly VirtualTrackParameterSetIdDuplicate: "ST2067-204/VirtualTrackParameterSetIdDuplicate";
421
+ readonly VirtualTrackParameterSetOrphaned: "ST2067-204/VirtualTrackParameterSetOrphaned";
422
+ readonly VirtualTrackParameterSetInvalid: "ST2067-204/VirtualTrackParameterSetInvalid";
423
+ readonly OperationalModeUnknown: "ST2067-204/OperationalModeUnknown";
424
+ readonly OperationalModeNotRecognized: "ST2067-204/OperationalModeNotRecognized";
425
+ readonly SoundfieldGroupSelectorDuplicate: "ST2067-204/SoundfieldGroupSelectorDuplicate";
426
+ readonly SoundfieldGroupSelectorResourceIdOrphaned: "ST2067-204/SoundfieldGroupSelectorResourceIdOrphaned";
427
+ readonly SoundfieldGroupLinkIdDuplicate: "ST2067-204/SoundfieldGroupLinkIdDuplicate";
428
+ readonly EditRateNotHomogeneous: "ST2067-204/EditRateNotHomogeneous";
429
+ readonly TrackFileNotWAVEPCM: "ST2067-204/TrackFileNotWAVEPCM";
430
+ readonly TrackFileChannelAssignment: "ST2067-204/TrackFileChannelAssignment";
431
+ readonly ForbiddenMCASubDescriptor: "ST2067-204/ForbiddenMCASubDescriptor";
432
+ readonly ResourceEditRateNotTrackFile: "ST2067-204/ResourceEditRateNotTrackFile";
433
+ readonly AudioSampleRateNotHomogeneous: "ST2067-204/AudioSampleRateNotHomogeneous";
434
+ };
435
+ readonly ST2067_100: {
436
+ readonly DuplicateAlias: "ST2067-100/DuplicateAlias";
437
+ readonly DuplicateMacroName: "ST2067-100/DuplicateMacroName";
438
+ readonly SignerWithoutSignature: "ST2067-100/SignerWithoutSignature";
439
+ readonly SignatureWithoutSigner: "ST2067-100/SignatureWithoutSigner";
440
+ readonly MacroOrder: "ST2067-100/MacroOrder";
441
+ readonly HandleNotRelativePath: "ST2067-100/HandleNotRelativePath";
442
+ readonly HandleUnresolved: "ST2067-100/HandleUnresolved";
443
+ readonly PresetNotAlone: "ST2067-100/PresetNotAlone";
444
+ };
445
+ readonly ST2067_101: {
446
+ readonly PixelDecoderStructure: "ST2067-101/PixelDecoderStructure";
447
+ readonly PixelEncoderStructure: "ST2067-101/PixelEncoderStructure";
448
+ readonly ImageCropStructure: "ST2067-101/ImageCropStructure";
449
+ readonly ImageScaleStructure: "ST2067-101/ImageScaleStructure";
450
+ readonly ColorEncodingUnknown: "ST2067-101/ColorEncodingUnknown";
451
+ readonly FillColorUnknown: "ST2067-101/FillColorUnknown";
452
+ };
453
+ readonly ST2067_102: {
454
+ readonly PixelValueOutOfRange: "ST2067-102/PixelValueOutOfRange";
455
+ readonly DeprecatedColorScheme: "ST2067-102/DeprecatedColorScheme";
456
+ };
457
+ readonly ST2067_103: {
458
+ readonly AudioRoutingStructure: "ST2067-103/AudioRoutingStructure";
459
+ readonly DuplicateOutputChannelHandle: "ST2067-103/DuplicateOutputChannelHandle";
460
+ readonly DuplicateInputEntityHandle: "ST2067-103/DuplicateInputEntityHandle";
235
461
  };
236
462
  readonly XSD: {
237
463
  readonly ElementMissing: "XSD/ElementMissing";
@@ -243,11 +469,21 @@ export declare const codes: {
243
469
  readonly NotValidated: "XSD/NotValidated";
244
470
  };
245
471
  readonly IMFERNO: {
472
+ readonly ExtensionSequenceNotValidated: "IMFERNO/ExtensionSequenceNotValidated";
473
+ readonly OplNotFullyValidated: "IMFERNO/OplNotFullyValidated";
474
+ readonly SequenceListUnreadable: "IMFERNO/SequenceListUnreadable";
475
+ readonly TrackFileIdentityNotValidated: "IMFERNO/TrackFileIdentityNotValidated";
246
476
  readonly EditionAssumed: "IMFERNO/EditionAssumed";
477
+ readonly EditionConflict: "IMFERNO/EditionConflict";
478
+ readonly EditionPinned: "IMFERNO/EditionPinned";
479
+ readonly PinNotApplied: "IMFERNO/PinNotApplied";
247
480
  readonly DeliveryNotChecked: "IMFERNO/DeliveryNotChecked";
481
+ readonly DiskChecksNotRun: "IMFERNO/DiskChecksNotRun";
248
482
  readonly OpenFailed: "IMFERNO/OpenFailed";
249
483
  readonly PartitionPackParseFailed: "IMFERNO/PartitionPackParseFailed";
250
484
  readonly RegXmlConversionFailed: "IMFERNO/RegXmlConversionFailed";
485
+ readonly MxfHeaderUnreadable: "IMFERNO/MxfHeaderUnreadable";
486
+ readonly MxfFooterNotLocated: "IMFERNO/MxfFooterNotLocated";
251
487
  readonly EssenceContainersDetected: "IMFERNO/EssenceContainersDetected";
252
488
  readonly IoError: "IMFERNO/IoError";
253
489
  readonly UnreferencedAsset: "IMFERNO/UnreferencedAsset";
@@ -255,11 +491,13 @@ export declare const codes: {
255
491
  readonly ParseError: "IMFERNO/ParseError";
256
492
  readonly PklParseError: "IMFERNO/PklParseError";
257
493
  readonly XmlAssetParseError: "IMFERNO/XmlAssetParseError";
494
+ readonly CplUnparseable: "IMFERNO/CplUnparseable";
258
495
  readonly XmlReadError: "IMFERNO/XmlReadError";
259
496
  readonly ReadDirError: "IMFERNO/ReadDirError";
260
497
  readonly DirEntryError: "IMFERNO/DirEntryError";
261
498
  readonly PathTraversal: "IMFERNO/PathTraversal";
262
499
  readonly ApplicationProfileNotValidated: "IMFERNO/ApplicationProfileNotValidated";
500
+ readonly ApplicationNotFullyValidated: "IMFERNO/ApplicationNotFullyValidated";
263
501
  readonly RuleNotInEdition: "IMFERNO/RuleNotInEdition";
264
502
  }
265
503
  };