@imferno/node 3.0.2-fix-review-editrate-identity.102ea35 → 3.0.2-fix-review-cpl-parse-appid.9c4fe6b

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.
Files changed (4) hide show
  1. package/codes.d.ts +11 -13
  2. package/codes.js +11 -13
  3. package/package.json +7 -7
  4. package/types.d.ts +10 -7
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";
@@ -44,6 +47,8 @@ export declare const codes: {
44
47
  };
45
48
  readonly ST2067_2: {
46
49
  readonly NotImfCompositionPlaylist: "ST2067-2/NotImfCompositionPlaylist";
50
+ readonly ApplicationIdentificationMissing: "ST2067-2/ApplicationIdentificationMissing";
51
+ readonly ApplicationIdentificationDuplicate: "ST2067-2/ApplicationIdentificationDuplicate";
47
52
  readonly PklMalformedXml: "ST2067-2/PklMalformedXml";
48
53
  readonly NoPackingList: "ST2067-2/NoPackingList";
49
54
  readonly NoCpls: "ST2067-2/NoCpls";
@@ -67,6 +72,7 @@ export declare const codes: {
67
72
  readonly SoundfieldChannelCount: "ST2067-2/SoundfieldChannelCount";
68
73
  readonly DigitalSignature: "ST2067-2/DigitalSignature";
69
74
  readonly EssenceDescriptorList: "ST2067-2/EssenceDescriptorList";
75
+ readonly EssenceDescriptorContainerFormatMissing: "ST2067-2/EssenceDescriptorContainerFormatMissing";
70
76
  readonly CplIdAssetMapMismatch: "ST2067-2/CplIdAssetMapMismatch";
71
77
  readonly OperationalPatternNotOP1A: "ST2067-2/OperationalPatternNotOP1A";
72
78
  readonly SoundDescriptorNotWAVEPCM: "ST2067-2/SoundDescriptorNotWAVEPCM";
@@ -98,17 +104,6 @@ export declare const codes: {
98
104
  readonly MainImageVirtualTrackCount: "ST2067-2/MainImageVirtualTrackCount";
99
105
  readonly AudioVirtualTrackMissing: "ST2067-2/AudioVirtualTrackMissing";
100
106
  readonly TrackFileMediaType: "ST2067-2/TrackFileMediaType";
101
- readonly CompositionEditRateMismatch: "ST2067-2/CompositionEditRateMismatch";
102
- readonly MainImageEditRateMismatch: "ST2067-2/MainImageEditRateMismatch";
103
- readonly AudioEditRateMismatch: "ST2067-2/AudioEditRateMismatch";
104
- readonly ContentVersionMissing: "ST2067-2/ContentVersionMissing";
105
- readonly ReferenceImageEditRateMissing: "ST2067-2/ReferenceImageEditRateMissing";
106
- readonly ReferenceImageEditRateMismatch: "ST2067-2/ReferenceImageEditRateMismatch";
107
- readonly AssetIdPackageUidMismatch: "ST2067-2/AssetIdPackageUidMismatch";
108
- readonly TrackFileIdPackageUidMismatch: "ST2067-2/TrackFileIdPackageUidMismatch";
109
- readonly PackageUidForm: "ST2067-2/PackageUidForm";
110
- readonly UuidNotVersion4: "ST2067-2/UuidNotVersion4";
111
- readonly AssetIdNotType5: "ST2067-2/AssetIdNotType5";
112
107
  };
113
108
  readonly ST2067_3: {
114
109
  readonly ContentTitleEmpty: "ST2067-3/ContentTitleEmpty";
@@ -261,8 +256,10 @@ export declare const codes: {
261
256
  readonly SubDescriptorDuplicate: "ST2067-201/SubDescriptorDuplicate";
262
257
  readonly MCAChannelIDForbidden: "ST2067-201/MCAChannelIDForbidden";
263
258
  readonly EditRateNotIntegerMultiple: "ST2067-201/EditRateNotIntegerMultiple";
264
- readonly ResourceEditRateNotSampleRate: "ST2067-201/ResourceEditRateNotSampleRate";
265
259
  readonly IabChannelSubDescriptorRecommended: "ST2067-201/IabChannelSubDescriptorRecommended";
260
+ readonly ConformsToSpecificationsMissing: "ST2067-201/ConformsToSpecificationsMissing";
261
+ readonly ConformsToSpecificationsInvalid: "ST2067-201/ConformsToSpecificationsInvalid";
262
+ readonly EssenceNotHomogeneous: "ST2067-201/EssenceNotHomogeneous";
266
263
  };
267
264
  readonly ST2067_202: {
268
265
  readonly NamespaceUriMissing: "ST2067-202/NamespaceUriMissing";
@@ -273,6 +270,7 @@ export declare const codes: {
273
270
  readonly ISXDVirtualTrackMissing: "ST2067-202/ISXDVirtualTrackMissing";
274
271
  readonly DataEssenceCodingMissing: "ST2067-202/DataEssenceCodingMissing";
275
272
  readonly DataEssenceCodingInvalid: "ST2067-202/DataEssenceCodingInvalid";
273
+ readonly EssenceContainerInvalid: "ST2067-202/EssenceContainerInvalid";
276
274
  };
277
275
  readonly XSD: {
278
276
  readonly ElementMissing: "XSD/ElementMissing";
@@ -286,7 +284,6 @@ export declare const codes: {
286
284
  readonly IMFERNO: {
287
285
  readonly ExtensionSequenceNotValidated: "IMFERNO/ExtensionSequenceNotValidated";
288
286
  readonly SequenceListUnreadable: "IMFERNO/SequenceListUnreadable";
289
- readonly TrackFileIdentityNotValidated: "IMFERNO/TrackFileIdentityNotValidated";
290
287
  readonly EditionAssumed: "IMFERNO/EditionAssumed";
291
288
  readonly EditionConflict: "IMFERNO/EditionConflict";
292
289
  readonly EditionPinned: "IMFERNO/EditionPinned";
@@ -304,6 +301,7 @@ export declare const codes: {
304
301
  readonly ParseError: "IMFERNO/ParseError";
305
302
  readonly PklParseError: "IMFERNO/PklParseError";
306
303
  readonly XmlAssetParseError: "IMFERNO/XmlAssetParseError";
304
+ readonly CplUnparseable: "IMFERNO/CplUnparseable";
307
305
  readonly XmlReadError: "IMFERNO/XmlReadError";
308
306
  readonly ReadDirError: "IMFERNO/ReadDirError";
309
307
  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",
@@ -44,6 +47,8 @@ const codes = {
44
47
  },
45
48
  ST2067_2: {
46
49
  NotImfCompositionPlaylist: "ST2067-2/NotImfCompositionPlaylist",
50
+ ApplicationIdentificationMissing: "ST2067-2/ApplicationIdentificationMissing",
51
+ ApplicationIdentificationDuplicate: "ST2067-2/ApplicationIdentificationDuplicate",
47
52
  PklMalformedXml: "ST2067-2/PklMalformedXml",
48
53
  NoPackingList: "ST2067-2/NoPackingList",
49
54
  NoCpls: "ST2067-2/NoCpls",
@@ -67,6 +72,7 @@ const codes = {
67
72
  SoundfieldChannelCount: "ST2067-2/SoundfieldChannelCount",
68
73
  DigitalSignature: "ST2067-2/DigitalSignature",
69
74
  EssenceDescriptorList: "ST2067-2/EssenceDescriptorList",
75
+ EssenceDescriptorContainerFormatMissing: "ST2067-2/EssenceDescriptorContainerFormatMissing",
70
76
  CplIdAssetMapMismatch: "ST2067-2/CplIdAssetMapMismatch",
71
77
  OperationalPatternNotOP1A: "ST2067-2/OperationalPatternNotOP1A",
72
78
  SoundDescriptorNotWAVEPCM: "ST2067-2/SoundDescriptorNotWAVEPCM",
@@ -98,17 +104,6 @@ const codes = {
98
104
  MainImageVirtualTrackCount: "ST2067-2/MainImageVirtualTrackCount",
99
105
  AudioVirtualTrackMissing: "ST2067-2/AudioVirtualTrackMissing",
100
106
  TrackFileMediaType: "ST2067-2/TrackFileMediaType",
101
- CompositionEditRateMismatch: "ST2067-2/CompositionEditRateMismatch",
102
- MainImageEditRateMismatch: "ST2067-2/MainImageEditRateMismatch",
103
- AudioEditRateMismatch: "ST2067-2/AudioEditRateMismatch",
104
- ContentVersionMissing: "ST2067-2/ContentVersionMissing",
105
- ReferenceImageEditRateMissing: "ST2067-2/ReferenceImageEditRateMissing",
106
- ReferenceImageEditRateMismatch: "ST2067-2/ReferenceImageEditRateMismatch",
107
- AssetIdPackageUidMismatch: "ST2067-2/AssetIdPackageUidMismatch",
108
- TrackFileIdPackageUidMismatch: "ST2067-2/TrackFileIdPackageUidMismatch",
109
- PackageUidForm: "ST2067-2/PackageUidForm",
110
- UuidNotVersion4: "ST2067-2/UuidNotVersion4",
111
- AssetIdNotType5: "ST2067-2/AssetIdNotType5",
112
107
  },
113
108
  ST2067_3: {
114
109
  ContentTitleEmpty: "ST2067-3/ContentTitleEmpty",
@@ -261,8 +256,10 @@ const codes = {
261
256
  SubDescriptorDuplicate: "ST2067-201/SubDescriptorDuplicate",
262
257
  MCAChannelIDForbidden: "ST2067-201/MCAChannelIDForbidden",
263
258
  EditRateNotIntegerMultiple: "ST2067-201/EditRateNotIntegerMultiple",
264
- ResourceEditRateNotSampleRate: "ST2067-201/ResourceEditRateNotSampleRate",
265
259
  IabChannelSubDescriptorRecommended: "ST2067-201/IabChannelSubDescriptorRecommended",
260
+ ConformsToSpecificationsMissing: "ST2067-201/ConformsToSpecificationsMissing",
261
+ ConformsToSpecificationsInvalid: "ST2067-201/ConformsToSpecificationsInvalid",
262
+ EssenceNotHomogeneous: "ST2067-201/EssenceNotHomogeneous",
266
263
  },
267
264
  ST2067_202: {
268
265
  NamespaceUriMissing: "ST2067-202/NamespaceUriMissing",
@@ -273,6 +270,7 @@ const codes = {
273
270
  ISXDVirtualTrackMissing: "ST2067-202/ISXDVirtualTrackMissing",
274
271
  DataEssenceCodingMissing: "ST2067-202/DataEssenceCodingMissing",
275
272
  DataEssenceCodingInvalid: "ST2067-202/DataEssenceCodingInvalid",
273
+ EssenceContainerInvalid: "ST2067-202/EssenceContainerInvalid",
276
274
  },
277
275
  XSD: {
278
276
  ElementMissing: "XSD/ElementMissing",
@@ -286,7 +284,6 @@ const codes = {
286
284
  IMFERNO: {
287
285
  ExtensionSequenceNotValidated: "IMFERNO/ExtensionSequenceNotValidated",
288
286
  SequenceListUnreadable: "IMFERNO/SequenceListUnreadable",
289
- TrackFileIdentityNotValidated: "IMFERNO/TrackFileIdentityNotValidated",
290
287
  EditionAssumed: "IMFERNO/EditionAssumed",
291
288
  EditionConflict: "IMFERNO/EditionConflict",
292
289
  EditionPinned: "IMFERNO/EditionPinned",
@@ -304,6 +301,7 @@ const codes = {
304
301
  ParseError: "IMFERNO/ParseError",
305
302
  PklParseError: "IMFERNO/PklParseError",
306
303
  XmlAssetParseError: "IMFERNO/XmlAssetParseError",
304
+ CplUnparseable: "IMFERNO/CplUnparseable",
307
305
  XmlReadError: "IMFERNO/XmlReadError",
308
306
  ReadDirError: "IMFERNO/ReadDirError",
309
307
  DirEntryError: "IMFERNO/DirEntryError",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imferno/node",
3
- "version": "3.0.2-fix-review-editrate-identity.102ea35",
3
+ "version": "3.0.2-fix-review-cpl-parse-appid.9c4fe6b",
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-fix-review-editrate-identity.102ea35",
49
- "@imferno/node-darwin-x64": "3.0.2-fix-review-editrate-identity.102ea35",
50
- "@imferno/node-linux-x64-gnu": "3.0.2-fix-review-editrate-identity.102ea35",
51
- "@imferno/node-linux-arm64-gnu": "3.0.2-fix-review-editrate-identity.102ea35",
52
- "@imferno/node-win32-x64-msvc": "3.0.2-fix-review-editrate-identity.102ea35",
53
- "@imferno/node-win32-arm64-msvc": "3.0.2-fix-review-editrate-identity.102ea35"
48
+ "@imferno/node-darwin-arm64": "3.0.2-fix-review-cpl-parse-appid.9c4fe6b",
49
+ "@imferno/node-darwin-x64": "3.0.2-fix-review-cpl-parse-appid.9c4fe6b",
50
+ "@imferno/node-linux-x64-gnu": "3.0.2-fix-review-cpl-parse-appid.9c4fe6b",
51
+ "@imferno/node-linux-arm64-gnu": "3.0.2-fix-review-cpl-parse-appid.9c4fe6b",
52
+ "@imferno/node-win32-x64-msvc": "3.0.2-fix-review-cpl-parse-appid.9c4fe6b",
53
+ "@imferno/node-win32-arm64-msvc": "3.0.2-fix-review-cpl-parse-appid.9c4fe6b"
54
54
  },
55
55
  "publishConfig": {
56
56
  "access": "public"
package/types.d.ts CHANGED
@@ -920,9 +920,9 @@ export interface IABEssenceDescriptor {
920
920
  */
921
921
  ContainerFormat?: string | null;
922
922
  /**
923
- * ST 2067-201 §5.9: ElectrospatialFormulation shall NOT be present.
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`.
924
924
  */
925
- ElectrospatialFormulation?: number | null;
925
+ ElectrospatialFormulation?: string | null;
926
926
  InstanceID?: string | null;
927
927
  LinkedTrackID?: number | null;
928
928
  /**
@@ -946,7 +946,7 @@ export interface IABSubDescriptors {
946
946
  /**
947
947
  * Presence-only stub for ST 2067-201:2026 Annex E `IABChannelSubDescriptor`.
948
948
  *
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` warning, so the inner shape is intentionally permissive — any nested content deserialises into the catch-all map without affecting presence.
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.
950
950
  */
951
951
  export interface IABChannelSubDescriptor {
952
952
  /**
@@ -975,6 +975,10 @@ export interface IABSoundfieldLabelSubDescriptor {
975
975
  * ISXD (Immersive Sound XML Data) essence descriptor — Dolby Atmos sidecar format
976
976
  */
977
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;
978
982
  DataEssenceCoding?: string | null;
979
983
  InstanceID?: string | null;
980
984
  LinkedTrackID?: number | null;
@@ -1100,10 +1104,6 @@ export interface WAVEPCMDescriptor {
1100
1104
  InstanceID?: string | null;
1101
1105
  LinkedTrackID?: number | null;
1102
1106
  QuantizationBits?: number | null;
1103
- /**
1104
- * 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).
1105
- */
1106
- ReferenceImageEditRate?: EditRate | null;
1107
1107
  SampleRate?: EditRate | null;
1108
1108
  SubDescriptors?: AudioSubDescriptors | null;
1109
1109
  }
@@ -1125,6 +1125,9 @@ export interface SoundfieldGroupLabelSubDescriptor {
1125
1125
  */
1126
1126
  RFC5646SpokenLanguage?: LanguageTag | null;
1127
1127
  }
1128
+ /**
1129
+ * The CPL's `ExtensionProperties`: ApplicationIdentification (the Application IDs of every ST 2067-2 instance, space-separated), MaxCLL and MaxFALL.
1130
+ */
1128
1131
  export interface ExtensionProperties {
1129
1132
  ApplicationIdentification?: string | null;
1130
1133
  MaxCLL?: number | null;