@norskvideo/norsk-api 1.0.339 → 1.0.340

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/lib/media_pb.ts CHANGED
@@ -8347,6 +8347,11 @@ export class VideoComposeConfiguration extends Message<VideoComposeConfiguration
8347
8347
  */
8348
8348
  missingStreamBehaviour = VideoComposeConfiguration_MissingStreamBehaviour.UNSPECIFIED_BEHAVIOUR;
8349
8349
 
8350
+ /**
8351
+ * @generated from field: norsk.api.media.VideoComposeConfiguration.ComposeHardwareAcceleration hardware_acceleration = 8;
8352
+ */
8353
+ hardwareAcceleration = VideoComposeConfiguration_ComposeHardwareAcceleration.NONE;
8354
+
8350
8355
  constructor(data?: PartialMessage<VideoComposeConfiguration>) {
8351
8356
  super();
8352
8357
  proto3.util.initPartial(data, this);
@@ -8362,6 +8367,7 @@ export class VideoComposeConfiguration extends Message<VideoComposeConfiguration
8362
8367
  { no: 5, name: "output_resolution", kind: "message", T: Resolution },
8363
8368
  { no: 6, name: "output_pixel_format", kind: "enum", T: proto3.getEnumType(VideoComposeConfiguration_PixelFormat) },
8364
8369
  { no: 7, name: "missing_stream_behaviour", kind: "enum", T: proto3.getEnumType(VideoComposeConfiguration_MissingStreamBehaviour) },
8370
+ { no: 8, name: "hardware_acceleration", kind: "enum", T: proto3.getEnumType(VideoComposeConfiguration_ComposeHardwareAcceleration) },
8365
8371
  ]);
8366
8372
 
8367
8373
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoComposeConfiguration {
@@ -8381,6 +8387,26 @@ export class VideoComposeConfiguration extends Message<VideoComposeConfiguration
8381
8387
  }
8382
8388
  }
8383
8389
 
8390
+ /**
8391
+ * @generated from enum norsk.api.media.VideoComposeConfiguration.ComposeHardwareAcceleration
8392
+ */
8393
+ export enum VideoComposeConfiguration_ComposeHardwareAcceleration {
8394
+ /**
8395
+ * @generated from enum value: NONE = 0;
8396
+ */
8397
+ NONE = 0,
8398
+
8399
+ /**
8400
+ * @generated from enum value: QUADRA = 1;
8401
+ */
8402
+ QUADRA = 1,
8403
+ }
8404
+ // Retrieve enum metadata with: proto3.getEnumType(VideoComposeConfiguration_ComposeHardwareAcceleration)
8405
+ proto3.util.setEnumType(VideoComposeConfiguration_ComposeHardwareAcceleration, "norsk.api.media.VideoComposeConfiguration.ComposeHardwareAcceleration", [
8406
+ { no: 0, name: "NONE" },
8407
+ { no: 1, name: "QUADRA" },
8408
+ ]);
8409
+
8384
8410
  /**
8385
8411
  * @generated from enum norsk.api.media.VideoComposeConfiguration.PixelFormat
8386
8412
  */
@@ -10918,9 +10944,9 @@ export class CmafWebVttMessage extends Message<CmafWebVttMessage> {
10918
10944
  }
10919
10945
 
10920
10946
  /**
10921
- * @generated from message norsk.api.media.CmafMasterConfiguration
10947
+ * @generated from message norsk.api.media.CmafMultiVariantConfiguration
10922
10948
  */
10923
- export class CmafMasterConfiguration extends Message<CmafMasterConfiguration> {
10949
+ export class CmafMultiVariantConfiguration extends Message<CmafMultiVariantConfiguration> {
10924
10950
  /**
10925
10951
  * @generated from field: norsk.api.media.MediaNodeId id = 1;
10926
10952
  */
@@ -10942,7 +10968,7 @@ export class CmafMasterConfiguration extends Message<CmafMasterConfiguration> {
10942
10968
  destinations: CMAFDestination[] = [];
10943
10969
 
10944
10970
  /**
10945
- * Directives to add to the m3u master playlist
10971
+ * Directives to add to the m3u multi variant playlist
10946
10972
  *
10947
10973
  * @generated from field: string m3u_additions = 5;
10948
10974
  */
@@ -10955,13 +10981,13 @@ export class CmafMasterConfiguration extends Message<CmafMasterConfiguration> {
10955
10981
  */
10956
10982
  mpdAdditions = "";
10957
10983
 
10958
- constructor(data?: PartialMessage<CmafMasterConfiguration>) {
10984
+ constructor(data?: PartialMessage<CmafMultiVariantConfiguration>) {
10959
10985
  super();
10960
10986
  proto3.util.initPartial(data, this);
10961
10987
  }
10962
10988
 
10963
10989
  static readonly runtime = proto3;
10964
- static readonly typeName = "norsk.api.media.CmafMasterConfiguration";
10990
+ static readonly typeName = "norsk.api.media.CmafMultiVariantConfiguration";
10965
10991
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
10966
10992
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
10967
10993
  { no: 2, name: "playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -10971,29 +10997,29 @@ export class CmafMasterConfiguration extends Message<CmafMasterConfiguration> {
10971
10997
  { no: 6, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10972
10998
  ]);
10973
10999
 
10974
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafMasterConfiguration {
10975
- return new CmafMasterConfiguration().fromBinary(bytes, options);
11000
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafMultiVariantConfiguration {
11001
+ return new CmafMultiVariantConfiguration().fromBinary(bytes, options);
10976
11002
  }
10977
11003
 
10978
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CmafMasterConfiguration {
10979
- return new CmafMasterConfiguration().fromJson(jsonValue, options);
11004
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CmafMultiVariantConfiguration {
11005
+ return new CmafMultiVariantConfiguration().fromJson(jsonValue, options);
10980
11006
  }
10981
11007
 
10982
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CmafMasterConfiguration {
10983
- return new CmafMasterConfiguration().fromJsonString(jsonString, options);
11008
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CmafMultiVariantConfiguration {
11009
+ return new CmafMultiVariantConfiguration().fromJsonString(jsonString, options);
10984
11010
  }
10985
11011
 
10986
- static equals(a: CmafMasterConfiguration | PlainMessage<CmafMasterConfiguration> | undefined, b: CmafMasterConfiguration | PlainMessage<CmafMasterConfiguration> | undefined): boolean {
10987
- return proto3.util.equals(CmafMasterConfiguration, a, b);
11012
+ static equals(a: CmafMultiVariantConfiguration | PlainMessage<CmafMultiVariantConfiguration> | undefined, b: CmafMultiVariantConfiguration | PlainMessage<CmafMultiVariantConfiguration> | undefined): boolean {
11013
+ return proto3.util.equals(CmafMultiVariantConfiguration, a, b);
10988
11014
  }
10989
11015
  }
10990
11016
 
10991
11017
  /**
10992
- * @generated from message norsk.api.media.CmafMasterMessage
11018
+ * @generated from message norsk.api.media.CmafMultiVariantMessage
10993
11019
  */
10994
- export class CmafMasterMessage extends Message<CmafMasterMessage> {
11020
+ export class CmafMultiVariantMessage extends Message<CmafMultiVariantMessage> {
10995
11021
  /**
10996
- * @generated from oneof norsk.api.media.CmafMasterMessage.message
11022
+ * @generated from oneof norsk.api.media.CmafMultiVariantMessage.message
10997
11023
  */
10998
11024
  message: {
10999
11025
  /**
@@ -11003,9 +11029,9 @@ export class CmafMasterMessage extends Message<CmafMasterMessage> {
11003
11029
  case: "subscription";
11004
11030
  } | {
11005
11031
  /**
11006
- * @generated from field: norsk.api.media.CmafMasterConfiguration configuration = 2;
11032
+ * @generated from field: norsk.api.media.CmafMultiVariantConfiguration configuration = 2;
11007
11033
  */
11008
- value: CmafMasterConfiguration;
11034
+ value: CmafMultiVariantConfiguration;
11009
11035
  case: "configuration";
11010
11036
  } | {
11011
11037
  /**
@@ -11015,33 +11041,33 @@ export class CmafMasterMessage extends Message<CmafMasterMessage> {
11015
11041
  case: "updateCredentials";
11016
11042
  } | { case: undefined; value?: undefined } = { case: undefined };
11017
11043
 
11018
- constructor(data?: PartialMessage<CmafMasterMessage>) {
11044
+ constructor(data?: PartialMessage<CmafMultiVariantMessage>) {
11019
11045
  super();
11020
11046
  proto3.util.initPartial(data, this);
11021
11047
  }
11022
11048
 
11023
11049
  static readonly runtime = proto3;
11024
- static readonly typeName = "norsk.api.media.CmafMasterMessage";
11050
+ static readonly typeName = "norsk.api.media.CmafMultiVariantMessage";
11025
11051
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
11026
11052
  { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
11027
- { no: 2, name: "configuration", kind: "message", T: CmafMasterConfiguration, oneof: "message" },
11053
+ { no: 2, name: "configuration", kind: "message", T: CmafMultiVariantConfiguration, oneof: "message" },
11028
11054
  { no: 3, name: "update_credentials", kind: "message", T: UpdateCredentials, oneof: "message" },
11029
11055
  ]);
11030
11056
 
11031
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafMasterMessage {
11032
- return new CmafMasterMessage().fromBinary(bytes, options);
11057
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafMultiVariantMessage {
11058
+ return new CmafMultiVariantMessage().fromBinary(bytes, options);
11033
11059
  }
11034
11060
 
11035
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CmafMasterMessage {
11036
- return new CmafMasterMessage().fromJson(jsonValue, options);
11061
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CmafMultiVariantMessage {
11062
+ return new CmafMultiVariantMessage().fromJson(jsonValue, options);
11037
11063
  }
11038
11064
 
11039
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CmafMasterMessage {
11040
- return new CmafMasterMessage().fromJsonString(jsonString, options);
11065
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CmafMultiVariantMessage {
11066
+ return new CmafMultiVariantMessage().fromJsonString(jsonString, options);
11041
11067
  }
11042
11068
 
11043
- static equals(a: CmafMasterMessage | PlainMessage<CmafMasterMessage> | undefined, b: CmafMasterMessage | PlainMessage<CmafMasterMessage> | undefined): boolean {
11044
- return proto3.util.equals(CmafMasterMessage, a, b);
11069
+ static equals(a: CmafMultiVariantMessage | PlainMessage<CmafMultiVariantMessage> | undefined, b: CmafMultiVariantMessage | PlainMessage<CmafMultiVariantMessage> | undefined): boolean {
11070
+ return proto3.util.equals(CmafMultiVariantMessage, a, b);
11045
11071
  }
11046
11072
  }
11047
11073
 
@@ -14465,11 +14491,6 @@ export class QuadraH264 extends Message<QuadraH264> {
14465
14491
  */
14466
14492
  bitrate?: OptionalInt;
14467
14493
 
14468
- /**
14469
- * @generated from field: norsk.api.media.OptionalBool flushGop = 5;
14470
- */
14471
- flushGop?: OptionalBool;
14472
-
14473
14494
  /**
14474
14495
  * @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
14475
14496
  */
@@ -14480,11 +14501,6 @@ export class QuadraH264 extends Message<QuadraH264> {
14480
14501
  */
14481
14502
  crf?: OptionalInt;
14482
14503
 
14483
- /**
14484
- * @generated from field: norsk.api.media.OptionalBool cbr = 8;
14485
- */
14486
- cbr?: OptionalBool;
14487
-
14488
14504
  /**
14489
14505
  * @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
14490
14506
  */
@@ -14516,9 +14532,54 @@ export class QuadraH264 extends Message<QuadraH264> {
14516
14532
  intraQp?: OptionalInt;
14517
14533
 
14518
14534
  /**
14519
- * @generated from field: norsk.api.media.OptionalInt rcInitDelay = 15;
14535
+ * @generated from field: norsk.api.media.OptionalBool hrdEnable = 18;
14520
14536
  */
14521
- rcInitDelay?: OptionalInt;
14537
+ hrdEnable?: OptionalBool;
14538
+
14539
+ /**
14540
+ * @generated from field: norsk.api.media.OptionalInt dolbyVisionProfile = 19;
14541
+ */
14542
+ dolbyVisionProfile?: OptionalInt;
14543
+
14544
+ /**
14545
+ * @generated from field: norsk.api.media.OptionalBool fillerEnable = 20;
14546
+ */
14547
+ fillerEnable?: OptionalBool;
14548
+
14549
+ /**
14550
+ * @generated from field: norsk.api.media.OptionalInt minQp = 21;
14551
+ */
14552
+ minQp?: OptionalInt;
14553
+
14554
+ /**
14555
+ * @generated from field: norsk.api.media.OptionalInt maxQp = 22;
14556
+ */
14557
+ maxQp?: OptionalInt;
14558
+
14559
+ /**
14560
+ * @generated from field: norsk.api.media.OptionalInt maxDeltaQp = 23;
14561
+ */
14562
+ maxDeltaQp?: OptionalInt;
14563
+
14564
+ /**
14565
+ * @generated from field: norsk.api.media.OptionalBool cuLevelRCEnable = 24;
14566
+ */
14567
+ cuLevelRCEnable?: OptionalBool;
14568
+
14569
+ /**
14570
+ * @generated from field: norsk.api.media.OptionalInt lookAheadDepth = 25;
14571
+ */
14572
+ lookAheadDepth?: OptionalInt;
14573
+
14574
+ /**
14575
+ * @generated from field: norsk.api.media.OptionalInt vbvBufferSize = 26;
14576
+ */
14577
+ vbvBufferSize?: OptionalInt;
14578
+
14579
+ /**
14580
+ * @generated from field: norsk.api.media.OptionalInt vbvMaxRate = 27;
14581
+ */
14582
+ vbvMaxRate?: OptionalInt;
14522
14583
 
14523
14584
  constructor(data?: PartialMessage<QuadraH264>) {
14524
14585
  super();
@@ -14532,17 +14593,24 @@ export class QuadraH264 extends Message<QuadraH264> {
14532
14593
  { no: 2, name: "enableAud", kind: "message", T: OptionalBool },
14533
14594
  { no: 3, name: "gpuIndex", kind: "message", T: OptionalInt },
14534
14595
  { no: 4, name: "bitrate", kind: "message", T: OptionalInt },
14535
- { no: 5, name: "flushGop", kind: "message", T: OptionalBool },
14536
14596
  { no: 6, name: "enableVfr", kind: "message", T: OptionalBool },
14537
14597
  { no: 7, name: "crf", kind: "message", T: OptionalInt },
14538
- { no: 8, name: "cbr", kind: "message", T: OptionalBool },
14539
14598
  { no: 9, name: "gopPresetIndex", kind: "message", T: OptionalInt },
14540
14599
  { no: 10, name: "intraPeriod", kind: "message", T: OptionalInt },
14541
14600
  { no: 11, name: "profile", kind: "enum", T: proto3.getEnumType(QuadraH264_QuadraH264Profile) },
14542
14601
  { no: 12, name: "level", kind: "message", T: OptionalInt },
14543
14602
  { no: 13, name: "rcEnable", kind: "message", T: OptionalBool },
14544
14603
  { no: 14, name: "intraQp", kind: "message", T: OptionalInt },
14545
- { no: 15, name: "rcInitDelay", kind: "message", T: OptionalInt },
14604
+ { no: 18, name: "hrdEnable", kind: "message", T: OptionalBool },
14605
+ { no: 19, name: "dolbyVisionProfile", kind: "message", T: OptionalInt },
14606
+ { no: 20, name: "fillerEnable", kind: "message", T: OptionalBool },
14607
+ { no: 21, name: "minQp", kind: "message", T: OptionalInt },
14608
+ { no: 22, name: "maxQp", kind: "message", T: OptionalInt },
14609
+ { no: 23, name: "maxDeltaQp", kind: "message", T: OptionalInt },
14610
+ { no: 24, name: "cuLevelRCEnable", kind: "message", T: OptionalBool },
14611
+ { no: 25, name: "lookAheadDepth", kind: "message", T: OptionalInt },
14612
+ { no: 26, name: "vbvBufferSize", kind: "message", T: OptionalInt },
14613
+ { no: 27, name: "vbvMaxRate", kind: "message", T: OptionalInt },
14546
14614
  ]);
14547
14615
 
14548
14616
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QuadraH264 {
@@ -14630,11 +14698,6 @@ export class QuadraHevc extends Message<QuadraHevc> {
14630
14698
  */
14631
14699
  bitrate?: OptionalInt;
14632
14700
 
14633
- /**
14634
- * @generated from field: norsk.api.media.OptionalBool flushGop = 5;
14635
- */
14636
- flushGop?: OptionalBool;
14637
-
14638
14701
  /**
14639
14702
  * @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
14640
14703
  */
@@ -14645,11 +14708,6 @@ export class QuadraHevc extends Message<QuadraHevc> {
14645
14708
  */
14646
14709
  crf?: OptionalInt;
14647
14710
 
14648
- /**
14649
- * @generated from field: norsk.api.media.OptionalBool cbr = 8;
14650
- */
14651
- cbr?: OptionalBool;
14652
-
14653
14711
  /**
14654
14712
  * @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
14655
14713
  */
@@ -14690,11 +14748,6 @@ export class QuadraHevc extends Message<QuadraHevc> {
14690
14748
  */
14691
14749
  intraQp?: OptionalInt;
14692
14750
 
14693
- /**
14694
- * @generated from field: norsk.api.media.OptionalInt rcInitDelay = 17;
14695
- */
14696
- rcInitDelay?: OptionalInt;
14697
-
14698
14751
  /**
14699
14752
  * @generated from field: norsk.api.media.OptionalBool hrdEnable = 18;
14700
14753
  */
@@ -14705,6 +14758,46 @@ export class QuadraHevc extends Message<QuadraHevc> {
14705
14758
  */
14706
14759
  dolbyVisionProfile?: OptionalInt;
14707
14760
 
14761
+ /**
14762
+ * @generated from field: norsk.api.media.OptionalBool fillerEnable = 20;
14763
+ */
14764
+ fillerEnable?: OptionalBool;
14765
+
14766
+ /**
14767
+ * @generated from field: norsk.api.media.OptionalInt minQp = 21;
14768
+ */
14769
+ minQp?: OptionalInt;
14770
+
14771
+ /**
14772
+ * @generated from field: norsk.api.media.OptionalInt maxQp = 22;
14773
+ */
14774
+ maxQp?: OptionalInt;
14775
+
14776
+ /**
14777
+ * @generated from field: norsk.api.media.OptionalInt maxDeltaQp = 23;
14778
+ */
14779
+ maxDeltaQp?: OptionalInt;
14780
+
14781
+ /**
14782
+ * @generated from field: norsk.api.media.OptionalBool cuLevelRCEnable = 24;
14783
+ */
14784
+ cuLevelRCEnable?: OptionalBool;
14785
+
14786
+ /**
14787
+ * @generated from field: norsk.api.media.OptionalInt lookAheadDepth = 25;
14788
+ */
14789
+ lookAheadDepth?: OptionalInt;
14790
+
14791
+ /**
14792
+ * @generated from field: norsk.api.media.OptionalInt vbvBufferSize = 26;
14793
+ */
14794
+ vbvBufferSize?: OptionalInt;
14795
+
14796
+ /**
14797
+ * @generated from field: norsk.api.media.OptionalInt vbvMaxRate = 27;
14798
+ */
14799
+ vbvMaxRate?: OptionalInt;
14800
+
14708
14801
  constructor(data?: PartialMessage<QuadraHevc>) {
14709
14802
  super();
14710
14803
  proto3.util.initPartial(data, this);
@@ -14717,10 +14810,8 @@ export class QuadraHevc extends Message<QuadraHevc> {
14717
14810
  { no: 2, name: "enableAud", kind: "message", T: OptionalBool },
14718
14811
  { no: 3, name: "gpuIndex", kind: "message", T: OptionalInt },
14719
14812
  { no: 4, name: "bitrate", kind: "message", T: OptionalInt },
14720
- { no: 5, name: "flushGop", kind: "message", T: OptionalBool },
14721
14813
  { no: 6, name: "enableVfr", kind: "message", T: OptionalBool },
14722
14814
  { no: 7, name: "crf", kind: "message", T: OptionalInt },
14723
- { no: 8, name: "cbr", kind: "message", T: OptionalBool },
14724
14815
  { no: 9, name: "gopPresetIndex", kind: "message", T: OptionalInt },
14725
14816
  { no: 10, name: "intraPeriod", kind: "message", T: OptionalInt },
14726
14817
  { no: 11, name: "tier", kind: "enum", T: proto3.getEnumType(QuadraHevc_QuadraHevcTier) },
@@ -14729,9 +14820,16 @@ export class QuadraHevc extends Message<QuadraHevc> {
14729
14820
  { no: 14, name: "rcEnable", kind: "message", T: OptionalBool },
14730
14821
  { no: 15, name: "lossless", kind: "message", T: OptionalBool },
14731
14822
  { no: 16, name: "intraQp", kind: "message", T: OptionalInt },
14732
- { no: 17, name: "rcInitDelay", kind: "message", T: OptionalInt },
14733
14823
  { no: 18, name: "hrdEnable", kind: "message", T: OptionalBool },
14734
14824
  { no: 19, name: "dolbyVisionProfile", kind: "message", T: OptionalInt },
14825
+ { no: 20, name: "fillerEnable", kind: "message", T: OptionalBool },
14826
+ { no: 21, name: "minQp", kind: "message", T: OptionalInt },
14827
+ { no: 22, name: "maxQp", kind: "message", T: OptionalInt },
14828
+ { no: 23, name: "maxDeltaQp", kind: "message", T: OptionalInt },
14829
+ { no: 24, name: "cuLevelRCEnable", kind: "message", T: OptionalBool },
14830
+ { no: 25, name: "lookAheadDepth", kind: "message", T: OptionalInt },
14831
+ { no: 26, name: "vbvBufferSize", kind: "message", T: OptionalInt },
14832
+ { no: 27, name: "vbvMaxRate", kind: "message", T: OptionalInt },
14735
14833
  ]);
14736
14834
 
14737
14835
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QuadraHevc {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norskvideo/norsk-api",
3
- "version": "1.0.339",
3
+ "version": "1.0.340",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "@bufbuild/protobuf": "^0.3.0",