@imferno/node 3.0.2-test-robust-timing-checks.8711c4e → 4.0.0-beta.8393c054
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 +57 -0
- package/codes.js +57 -0
- package/package.json +7 -7
- package/types.d.ts +105 -7
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
|
@@ -63,6 +63,7 @@ export declare const codes: {
|
|
|
63
63
|
readonly SizeMismatch: "ST2067-2/SizeMismatch";
|
|
64
64
|
readonly FileNotFound: "ST2067-2/FileNotFound";
|
|
65
65
|
readonly ChecksumMismatch: "ST2067-2/ChecksumMismatch";
|
|
66
|
+
readonly PackingListsDisagreeOnAsset: "ST2067-2/PackingListsDisagreeOnAsset";
|
|
66
67
|
readonly UnresolvedUuid: "ST2067-2/UnresolvedUuid";
|
|
67
68
|
readonly TrackFileNotInPackage: "ST2067-2/TrackFileNotInPackage";
|
|
68
69
|
readonly DuplicateUuid: "ST2067-2/DuplicateUuid";
|
|
@@ -307,6 +308,32 @@ export declare const codes: {
|
|
|
307
308
|
readonly PictureEssenceCoding: "ST2067-21/PictureEssenceCoding";
|
|
308
309
|
readonly HtCodestreamConstraints: "ST2067-21/HtCodestreamConstraints";
|
|
309
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
|
+
};
|
|
310
337
|
readonly ST2067_201: {
|
|
311
338
|
readonly CodecForbidden: "ST2067-201/CodecForbidden";
|
|
312
339
|
readonly ElectrospatialFormulationInvalid: "ST2067-201/ElectrospatialFormulationInvalid";
|
|
@@ -406,6 +433,33 @@ export declare const codes: {
|
|
|
406
433
|
readonly ResourceEditRateNotTrackFile: "ST2067-204/ResourceEditRateNotTrackFile";
|
|
407
434
|
readonly AudioSampleRateNotHomogeneous: "ST2067-204/AudioSampleRateNotHomogeneous";
|
|
408
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";
|
|
462
|
+
};
|
|
409
463
|
readonly XSD: {
|
|
410
464
|
readonly ElementMissing: "XSD/ElementMissing";
|
|
411
465
|
readonly UnexpectedElement: "XSD/UnexpectedElement";
|
|
@@ -417,8 +471,10 @@ export declare const codes: {
|
|
|
417
471
|
};
|
|
418
472
|
readonly IMFERNO: {
|
|
419
473
|
readonly ExtensionSequenceNotValidated: "IMFERNO/ExtensionSequenceNotValidated";
|
|
474
|
+
readonly OplNotFullyValidated: "IMFERNO/OplNotFullyValidated";
|
|
420
475
|
readonly SequenceListUnreadable: "IMFERNO/SequenceListUnreadable";
|
|
421
476
|
readonly TrackFileIdentityNotValidated: "IMFERNO/TrackFileIdentityNotValidated";
|
|
477
|
+
readonly SupplementalTrackFilesNotValidated: "IMFERNO/SupplementalTrackFilesNotValidated";
|
|
422
478
|
readonly EditionAssumed: "IMFERNO/EditionAssumed";
|
|
423
479
|
readonly EditionConflict: "IMFERNO/EditionConflict";
|
|
424
480
|
readonly EditionPinned: "IMFERNO/EditionPinned";
|
|
@@ -443,6 +499,7 @@ export declare const codes: {
|
|
|
443
499
|
readonly DirEntryError: "IMFERNO/DirEntryError";
|
|
444
500
|
readonly PathTraversal: "IMFERNO/PathTraversal";
|
|
445
501
|
readonly ApplicationProfileNotValidated: "IMFERNO/ApplicationProfileNotValidated";
|
|
502
|
+
readonly ApplicationNotFullyValidated: "IMFERNO/ApplicationNotFullyValidated";
|
|
446
503
|
readonly RuleNotInEdition: "IMFERNO/RuleNotInEdition";
|
|
447
504
|
}
|
|
448
505
|
};
|
package/codes.js
CHANGED
|
@@ -63,6 +63,7 @@ const codes = {
|
|
|
63
63
|
SizeMismatch: "ST2067-2/SizeMismatch",
|
|
64
64
|
FileNotFound: "ST2067-2/FileNotFound",
|
|
65
65
|
ChecksumMismatch: "ST2067-2/ChecksumMismatch",
|
|
66
|
+
PackingListsDisagreeOnAsset: "ST2067-2/PackingListsDisagreeOnAsset",
|
|
66
67
|
UnresolvedUuid: "ST2067-2/UnresolvedUuid",
|
|
67
68
|
TrackFileNotInPackage: "ST2067-2/TrackFileNotInPackage",
|
|
68
69
|
DuplicateUuid: "ST2067-2/DuplicateUuid",
|
|
@@ -307,6 +308,32 @@ const codes = {
|
|
|
307
308
|
PictureEssenceCoding: "ST2067-21/PictureEssenceCoding",
|
|
308
309
|
HtCodestreamConstraints: "ST2067-21/HtCodestreamConstraints",
|
|
309
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
|
+
},
|
|
310
337
|
ST2067_201: {
|
|
311
338
|
CodecForbidden: "ST2067-201/CodecForbidden",
|
|
312
339
|
ElectrospatialFormulationInvalid: "ST2067-201/ElectrospatialFormulationInvalid",
|
|
@@ -406,6 +433,33 @@ const codes = {
|
|
|
406
433
|
ResourceEditRateNotTrackFile: "ST2067-204/ResourceEditRateNotTrackFile",
|
|
407
434
|
AudioSampleRateNotHomogeneous: "ST2067-204/AudioSampleRateNotHomogeneous",
|
|
408
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",
|
|
462
|
+
},
|
|
409
463
|
XSD: {
|
|
410
464
|
ElementMissing: "XSD/ElementMissing",
|
|
411
465
|
UnexpectedElement: "XSD/UnexpectedElement",
|
|
@@ -417,8 +471,10 @@ const codes = {
|
|
|
417
471
|
},
|
|
418
472
|
IMFERNO: {
|
|
419
473
|
ExtensionSequenceNotValidated: "IMFERNO/ExtensionSequenceNotValidated",
|
|
474
|
+
OplNotFullyValidated: "IMFERNO/OplNotFullyValidated",
|
|
420
475
|
SequenceListUnreadable: "IMFERNO/SequenceListUnreadable",
|
|
421
476
|
TrackFileIdentityNotValidated: "IMFERNO/TrackFileIdentityNotValidated",
|
|
477
|
+
SupplementalTrackFilesNotValidated: "IMFERNO/SupplementalTrackFilesNotValidated",
|
|
422
478
|
EditionAssumed: "IMFERNO/EditionAssumed",
|
|
423
479
|
EditionConflict: "IMFERNO/EditionConflict",
|
|
424
480
|
EditionPinned: "IMFERNO/EditionPinned",
|
|
@@ -443,6 +499,7 @@ const codes = {
|
|
|
443
499
|
DirEntryError: "IMFERNO/DirEntryError",
|
|
444
500
|
PathTraversal: "IMFERNO/PathTraversal",
|
|
445
501
|
ApplicationProfileNotValidated: "IMFERNO/ApplicationProfileNotValidated",
|
|
502
|
+
ApplicationNotFullyValidated: "IMFERNO/ApplicationNotFullyValidated",
|
|
446
503
|
RuleNotInEdition: "IMFERNO/RuleNotInEdition",
|
|
447
504
|
}
|
|
448
505
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imferno/node",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0-beta.8393c054",
|
|
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": "
|
|
49
|
-
"@imferno/node-darwin-x64": "
|
|
50
|
-
"@imferno/node-linux-x64-gnu": "
|
|
51
|
-
"@imferno/node-linux-arm64-gnu": "
|
|
52
|
-
"@imferno/node-win32-x64-msvc": "
|
|
53
|
-
"@imferno/node-win32-arm64-msvc": "
|
|
48
|
+
"@imferno/node-darwin-arm64": "4.0.0-beta.8393c054",
|
|
49
|
+
"@imferno/node-darwin-x64": "4.0.0-beta.8393c054",
|
|
50
|
+
"@imferno/node-linux-x64-gnu": "4.0.0-beta.8393c054",
|
|
51
|
+
"@imferno/node-linux-arm64-gnu": "4.0.0-beta.8393c054",
|
|
52
|
+
"@imferno/node-win32-x64-msvc": "4.0.0-beta.8393c054",
|
|
53
|
+
"@imferno/node-win32-arm64-msvc": "4.0.0-beta.8393c054"
|
|
54
54
|
},
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public"
|
package/types.d.ts
CHANGED
|
@@ -68,10 +68,15 @@ export type Spec =
|
|
|
68
68
|
| "ST2067-9"
|
|
69
69
|
| "ST2067-20"
|
|
70
70
|
| "ST2067-21"
|
|
71
|
+
| "ST2067-50"
|
|
71
72
|
| "ST2067-201"
|
|
72
73
|
| "ST2067-202"
|
|
73
74
|
| "ST2067-203"
|
|
74
75
|
| "ST2067-204"
|
|
76
|
+
| "ST2067-100"
|
|
77
|
+
| "ST2067-101"
|
|
78
|
+
| "ST2067-102"
|
|
79
|
+
| "ST2067-103"
|
|
75
80
|
| "XSD"
|
|
76
81
|
| "IMFERNO";
|
|
77
82
|
/**
|
|
@@ -118,6 +123,7 @@ export type ColorPrimaries =
|
|
|
118
123
|
| "Bt2020"
|
|
119
124
|
| "DciP3"
|
|
120
125
|
| "P3D65"
|
|
126
|
+
| "Aces"
|
|
121
127
|
| {
|
|
122
128
|
Unknown: string;
|
|
123
129
|
};
|
|
@@ -142,6 +148,7 @@ export type VideoCodec =
|
|
|
142
148
|
| "H265"
|
|
143
149
|
| "ProRes"
|
|
144
150
|
| "Av1"
|
|
151
|
+
| "Aces"
|
|
145
152
|
| {
|
|
146
153
|
Unknown: string;
|
|
147
154
|
};
|
|
@@ -677,6 +684,10 @@ export interface CDCIDescriptor {
|
|
|
677
684
|
*/
|
|
678
685
|
ColorSiting?: number | null;
|
|
679
686
|
ComponentDepth?: number | null;
|
|
687
|
+
/**
|
|
688
|
+
* File Descriptor: Essence Container label
|
|
689
|
+
*/
|
|
690
|
+
ContainerFormat?: string | null;
|
|
680
691
|
/**
|
|
681
692
|
* Generic Picture Essence Descriptor: DisplayF2Offset
|
|
682
693
|
*/
|
|
@@ -757,6 +768,14 @@ export interface CDCIDescriptor {
|
|
|
757
768
|
* SubDescriptors for video (RGBA/CDCI) descriptors
|
|
758
769
|
*/
|
|
759
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;
|
|
760
779
|
/**
|
|
761
780
|
* JPEG 2000 Picture Sub Descriptor — Table 14 constraints
|
|
762
781
|
*/
|
|
@@ -765,6 +784,40 @@ export interface VideoSubDescriptors {
|
|
|
765
784
|
* Presence indicates Dolby Vision HDR
|
|
766
785
|
*/
|
|
767
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;
|
|
768
821
|
}
|
|
769
822
|
/**
|
|
770
823
|
* JPEG 2000 Picture Sub Descriptor (ST 422 / ST 2067-21 Table 14)
|
|
@@ -899,6 +952,22 @@ export interface PHDRMetadataTrackSubDescriptor {
|
|
|
899
952
|
PHDRMetadataTrackSubDescriptor_SimplePayloadSID?: number | null;
|
|
900
953
|
PHDRMetadataTrackSubDescriptor_SourceTrackID?: number | null;
|
|
901
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
|
+
}
|
|
902
971
|
/**
|
|
903
972
|
* DC Timed Text descriptor (subtitles/captions)
|
|
904
973
|
*/
|
|
@@ -979,7 +1048,7 @@ export interface IABSoundfieldLabelSubDescriptor {
|
|
|
979
1048
|
RFC5646SpokenLanguage?: LanguageTag | null;
|
|
980
1049
|
}
|
|
981
1050
|
/**
|
|
982
|
-
* ISXD (
|
|
1051
|
+
* ISXD (Isochronous Stream of XML Documents, ST 2067-202) data essence descriptor
|
|
983
1052
|
*/
|
|
984
1053
|
export interface ISXDDataEssenceDescriptor {
|
|
985
1054
|
/**
|
|
@@ -1002,16 +1071,14 @@ export interface IsxdSubDescriptors {
|
|
|
1002
1071
|
*/
|
|
1003
1072
|
ContainerConstraintsSubDescriptor?: ContainerConstraintsSubDescriptor | null;
|
|
1004
1073
|
}
|
|
1005
|
-
/**
|
|
1006
|
-
* ContainerConstraintsSubDescriptor — presence required by ST 2067-202 §5
|
|
1007
|
-
*/
|
|
1008
|
-
export interface ContainerConstraintsSubDescriptor {
|
|
1009
|
-
InstanceID?: string | null;
|
|
1010
|
-
}
|
|
1011
1074
|
/**
|
|
1012
1075
|
* RGBA video descriptor (JPEG 2000 RGB content)
|
|
1013
1076
|
*/
|
|
1014
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;
|
|
1015
1082
|
/**
|
|
1016
1083
|
* Table 10: AlphaMaxRef — shall not be present
|
|
1017
1084
|
*/
|
|
@@ -1034,6 +1101,10 @@ export interface RGBADescriptor {
|
|
|
1034
1101
|
* RGBA Descriptor: Component Min Ref (Table 10/11)
|
|
1035
1102
|
*/
|
|
1036
1103
|
ComponentMinRef?: number | null;
|
|
1104
|
+
/**
|
|
1105
|
+
* File Descriptor: Essence Container label
|
|
1106
|
+
*/
|
|
1107
|
+
ContainerFormat?: string | null;
|
|
1037
1108
|
/**
|
|
1038
1109
|
* Generic Picture Essence Descriptor: DisplayF2Offset
|
|
1039
1110
|
*/
|
|
@@ -1072,6 +1143,10 @@ export interface RGBADescriptor {
|
|
|
1072
1143
|
*/
|
|
1073
1144
|
PaletteLayout?: string | null;
|
|
1074
1145
|
PictureCompression?: VideoCodec | null;
|
|
1146
|
+
/**
|
|
1147
|
+
* RGBA Descriptor: Pixel Layout
|
|
1148
|
+
*/
|
|
1149
|
+
PixelLayout?: J2CLayout | null;
|
|
1075
1150
|
SampleRate?: EditRate | null;
|
|
1076
1151
|
/**
|
|
1077
1152
|
* Table 8: SampledHeight — shall not be present or shall be equal to StoredHeight
|
|
@@ -1093,6 +1168,10 @@ export interface RGBADescriptor {
|
|
|
1093
1168
|
* RGBA Descriptor: Scanning Direction (Table 10) Shall be "ScanningDirection_LeftToRightTopToBottom" (00h)
|
|
1094
1169
|
*/
|
|
1095
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;
|
|
1096
1175
|
/**
|
|
1097
1176
|
* Table 8: StoredF2Offset — shall not be present
|
|
1098
1177
|
*/
|
|
@@ -1101,6 +1180,16 @@ export interface RGBADescriptor {
|
|
|
1101
1180
|
StoredWidth?: number | null;
|
|
1102
1181
|
SubDescriptors?: VideoSubDescriptors | null;
|
|
1103
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[];
|
|
1104
1193
|
}
|
|
1105
1194
|
/**
|
|
1106
1195
|
* WAVE PCM audio descriptor
|
|
@@ -1570,4 +1659,13 @@ export interface ValidateOptions {
|
|
|
1570
1659
|
rules?: RulesConfig;
|
|
1571
1660
|
/** Collapse repeated identical findings into one issue with `additional_instances`. Default: `false`. */
|
|
1572
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>>;
|
|
1573
1671
|
}
|