@imferno/node 3.0.2-fix-review-app2e-image.20c2d70 → 3.0.2-fix-review-extension-sequences.45e90ea

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 CHANGED
@@ -104,6 +104,9 @@ export declare const codes: {
104
104
  readonly RepeatCount: "ST2067-3/RepeatCount";
105
105
  readonly TrackFileId: "ST2067-3/TrackFileId";
106
106
  readonly VirtualTrackContinuity: "ST2067-3/VirtualTrackContinuity";
107
+ readonly VirtualTrackSequenceKind: "ST2067-3/VirtualTrackSequenceKind";
108
+ readonly ResourceTypeMixed: "ST2067-3/ResourceTypeMixed";
109
+ readonly MarkerSequenceResourceType: "ST2067-3/MarkerSequenceResourceType";
107
110
  readonly DanglingEssenceDescriptor: "ST2067-3/DanglingEssenceDescriptor";
108
111
  };
109
112
  readonly ST2067_5: {
@@ -185,11 +188,6 @@ export declare const codes: {
185
188
  readonly HtIrvParameterBMax: "ST2067-21/HtIrvParameterBMax";
186
189
  readonly HtIrvParameterBRecommended: "ST2067-21/HtIrvParameterBRecommended";
187
190
  readonly J2K8KResolution: "ST2067-21/J2K8KResolution";
188
- readonly RefLevelMissing: "ST2067-21/RefLevelMissing";
189
- readonly DisplayF2Offset: "ST2067-21/DisplayF2Offset";
190
- readonly J2CLayoutValue: "ST2067-21/J2CLayoutValue";
191
- readonly PictureEssenceCoding: "ST2067-21/PictureEssenceCoding";
192
- readonly HtCodestreamConstraints: "ST2067-21/HtCodestreamConstraints";
193
191
  };
194
192
  readonly ST2067_201: {
195
193
  readonly CodecForbidden: "ST2067-201/CodecForbidden";
@@ -238,6 +236,7 @@ export declare const codes: {
238
236
  readonly NotValidated: "XSD/NotValidated";
239
237
  };
240
238
  readonly IMFERNO: {
239
+ readonly ExtensionSequenceNotValidated: "IMFERNO/ExtensionSequenceNotValidated";
241
240
  readonly EditionAssumed: "IMFERNO/EditionAssumed";
242
241
  readonly EditionConflict: "IMFERNO/EditionConflict";
243
242
  readonly EditionPinned: "IMFERNO/EditionPinned";
package/codes.js CHANGED
@@ -104,6 +104,9 @@ const codes = {
104
104
  RepeatCount: "ST2067-3/RepeatCount",
105
105
  TrackFileId: "ST2067-3/TrackFileId",
106
106
  VirtualTrackContinuity: "ST2067-3/VirtualTrackContinuity",
107
+ VirtualTrackSequenceKind: "ST2067-3/VirtualTrackSequenceKind",
108
+ ResourceTypeMixed: "ST2067-3/ResourceTypeMixed",
109
+ MarkerSequenceResourceType: "ST2067-3/MarkerSequenceResourceType",
107
110
  DanglingEssenceDescriptor: "ST2067-3/DanglingEssenceDescriptor",
108
111
  },
109
112
  ST2067_5: {
@@ -185,11 +188,6 @@ const codes = {
185
188
  HtIrvParameterBMax: "ST2067-21/HtIrvParameterBMax",
186
189
  HtIrvParameterBRecommended: "ST2067-21/HtIrvParameterBRecommended",
187
190
  J2K8KResolution: "ST2067-21/J2K8KResolution",
188
- RefLevelMissing: "ST2067-21/RefLevelMissing",
189
- DisplayF2Offset: "ST2067-21/DisplayF2Offset",
190
- J2CLayoutValue: "ST2067-21/J2CLayoutValue",
191
- PictureEssenceCoding: "ST2067-21/PictureEssenceCoding",
192
- HtCodestreamConstraints: "ST2067-21/HtCodestreamConstraints",
193
191
  },
194
192
  ST2067_201: {
195
193
  CodecForbidden: "ST2067-201/CodecForbidden",
@@ -238,6 +236,7 @@ const codes = {
238
236
  NotValidated: "XSD/NotValidated",
239
237
  },
240
238
  IMFERNO: {
239
+ ExtensionSequenceNotValidated: "IMFERNO/ExtensionSequenceNotValidated",
241
240
  EditionAssumed: "IMFERNO/EditionAssumed",
242
241
  EditionConflict: "IMFERNO/EditionConflict",
243
242
  EditionPinned: "IMFERNO/EditionPinned",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imferno/node",
3
- "version": "3.0.2-fix-review-app2e-image.20c2d70",
3
+ "version": "3.0.2-fix-review-extension-sequences.45e90ea",
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-app2e-image.20c2d70",
49
- "@imferno/node-darwin-x64": "3.0.2-fix-review-app2e-image.20c2d70",
50
- "@imferno/node-linux-x64-gnu": "3.0.2-fix-review-app2e-image.20c2d70",
51
- "@imferno/node-linux-arm64-gnu": "3.0.2-fix-review-app2e-image.20c2d70",
52
- "@imferno/node-win32-x64-msvc": "3.0.2-fix-review-app2e-image.20c2d70",
53
- "@imferno/node-win32-arm64-msvc": "3.0.2-fix-review-app2e-image.20c2d70"
48
+ "@imferno/node-darwin-arm64": "3.0.2-fix-review-extension-sequences.45e90ea",
49
+ "@imferno/node-darwin-x64": "3.0.2-fix-review-extension-sequences.45e90ea",
50
+ "@imferno/node-linux-x64-gnu": "3.0.2-fix-review-extension-sequences.45e90ea",
51
+ "@imferno/node-linux-arm64-gnu": "3.0.2-fix-review-extension-sequences.45e90ea",
52
+ "@imferno/node-win32-x64-msvc": "3.0.2-fix-review-extension-sequences.45e90ea",
53
+ "@imferno/node-win32-arm64-msvc": "3.0.2-fix-review-extension-sequences.45e90ea"
54
54
  },
55
55
  "publishConfig": {
56
56
  "access": "public"
package/types.d.ts CHANGED
@@ -120,7 +120,6 @@ export type VideoCodec =
120
120
  | "Jpeg2000Imf8k"
121
121
  | "Jpeg2000Broadcast"
122
122
  | "Jpeg2000Ht"
123
- | "Jpeg2000HtNode"
124
123
  | "Vc5"
125
124
  | "Mpeg2"
126
125
  | "H264"
@@ -339,6 +338,10 @@ export interface ValidationReport {
339
338
  * Whether the package is compliant with base SMPTE standards
340
339
  */
341
340
  is_compliant: boolean;
341
+ /**
342
+ * 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.
343
+ */
344
+ is_fully_validated: boolean;
342
345
  /**
343
346
  * Whether the package is playable despite issues
344
347
  */
@@ -1138,6 +1141,10 @@ export interface Segment {
1138
1141
  SequenceList: SequenceList;
1139
1142
  }
1140
1143
  export interface SequenceList {
1144
+ /**
1145
+ * 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.
1146
+ */
1147
+ ExtensionSequence?: ExtensionSequence[];
1141
1148
  ForcedNarrativeSequence?: ForcedNarrativeSequence[];
1142
1149
  HearingImpairedCaptionsSequence?: HearingImpairedCaptionsSequence[];
1143
1150
  IABSequence?: IABSequence[];
@@ -1147,8 +1154,13 @@ export interface SequenceList {
1147
1154
  MarkerSequence?: MarkerSequence[];
1148
1155
  SubtitlesSequence?: SubtitlesSequence[];
1149
1156
  }
1150
- export interface ForcedNarrativeSequence {
1157
+ /**
1158
+ * 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, `None` when unbound).
1159
+ */
1160
+ export interface ExtensionSequence {
1151
1161
  Id: ImfUuid;
1162
+ Name?: string;
1163
+ Namespace?: string | null;
1152
1164
  ResourceList: ResourceList;
1153
1165
  TrackId: ImfUuid;
1154
1166
  }
@@ -1174,6 +1186,11 @@ export interface MarkerInfo {
1174
1186
  Label: MarkerLabelElement;
1175
1187
  Offset: number;
1176
1188
  }
1189
+ export interface ForcedNarrativeSequence {
1190
+ Id: ImfUuid;
1191
+ ResourceList: ResourceList;
1192
+ TrackId: ImfUuid;
1193
+ }
1177
1194
  export interface HearingImpairedCaptionsSequence {
1178
1195
  Id: ImfUuid;
1179
1196
  ResourceList: ResourceList;