@bitmovin/api-sdk 1.272.2 → 1.274.0

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.
@@ -165,7 +165,7 @@ class HeaderHandler extends DelegatingHandler {
165
165
  const headers = {
166
166
  'X-Api-Key': apiKey,
167
167
  'X-Api-Client': 'bitmovin-api-sdk-javascript',
168
- 'X-Api-Client-Version': '1.272.2',
168
+ 'X-Api-Client-Version': '1.274.0',
169
169
  'Content-Type': 'application/json'
170
170
  };
171
171
  if (tenantOrgId) {
@@ -25,6 +25,24 @@ export declare class Av1VideoConfiguration extends VideoConfiguration {
25
25
  * @memberof Av1VideoConfiguration
26
26
  */
27
27
  autoLevelSetup?: AutoLevelSetup;
28
+ /**
29
+ * Set the mastering display color volume metadata. The chromaticity coordinates for the green (G), blue (B), red (R) primaries and the white point (WP) are given in increments of 0.00002 (i.e. multiply the actual value by 50000), and the luminance values (L) are given in increments of 0.0001 cd/m² (i.e. multiply the actual value by 10000). For example `G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1)` describes a P3D65 1000-nits monitor, where G(x=0.265, y=0.690), B(x=0.150, y=0.060), R(x=0.680, y=0.320), WP(x=0.3127, y=0.3290), L(max=1000, min=0.0001). Part of HDR-10 metadata.
30
+ * @type {string}
31
+ * @memberof Av1VideoConfiguration
32
+ */
33
+ masterDisplay?: string;
34
+ /**
35
+ * Set the max content light level (MaxCLL). Use together with maxPictureAverageLightLevel (which will be 0 if not set). Part of HDR-10 metadata.
36
+ * @type {number}
37
+ * @memberof Av1VideoConfiguration
38
+ */
39
+ maxContentLightLevel?: number;
40
+ /**
41
+ * Set the maximum picture average light level (MaxFALL). Use together with maxContentLightLevel (which will be 0 if not set). Part of HDR-10 metadata.
42
+ * @type {number}
43
+ * @memberof Av1VideoConfiguration
44
+ */
45
+ maxPictureAverageLightLevel?: number;
28
46
  constructor(obj?: Partial<Av1VideoConfiguration>);
29
47
  }
30
48
  export default Av1VideoConfiguration;
@@ -22,6 +22,9 @@ class Av1VideoConfiguration extends VideoConfiguration_1.default {
22
22
  }
23
23
  this.presetConfiguration = (0, Mapper_1.map)(obj.presetConfiguration);
24
24
  this.autoLevelSetup = (0, Mapper_1.map)(obj.autoLevelSetup);
25
+ this.masterDisplay = (0, Mapper_1.map)(obj.masterDisplay);
26
+ this.maxContentLightLevel = (0, Mapper_1.map)(obj.maxContentLightLevel);
27
+ this.maxPictureAverageLightLevel = (0, Mapper_1.map)(obj.maxPictureAverageLightLevel);
25
28
  }
26
29
  }
27
30
  exports.Av1VideoConfiguration = Av1VideoConfiguration;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @export
3
+ * @enum {string}
4
+ */
5
+ export declare enum H265V2PerceptualEncodingMode {
6
+ OFF = "OFF",
7
+ CU_DELTA_QP = "CU_DELTA_QP"
8
+ }
9
+ export default H265V2PerceptualEncodingMode;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.H265V2PerceptualEncodingMode = void 0;
4
+ /**
5
+ * @export
6
+ * @enum {string}
7
+ */
8
+ var H265V2PerceptualEncodingMode;
9
+ (function (H265V2PerceptualEncodingMode) {
10
+ H265V2PerceptualEncodingMode["OFF"] = "OFF";
11
+ H265V2PerceptualEncodingMode["CU_DELTA_QP"] = "CU_DELTA_QP";
12
+ })(H265V2PerceptualEncodingMode || (exports.H265V2PerceptualEncodingMode = H265V2PerceptualEncodingMode = {}));
13
+ exports.default = H265V2PerceptualEncodingMode;
@@ -1,3 +1,4 @@
1
+ import H265V2PerceptualEncodingMode from './H265V2PerceptualEncodingMode';
1
2
  import H265V2RateControlModeConfig from './H265V2RateControlModeConfig';
2
3
  import H265V2RateControlModeConfigType from './H265V2RateControlModeConfigType';
3
4
  /**
@@ -12,35 +13,35 @@ export declare class H265V2PerceptualQualityModeConfig extends H265V2RateControl
12
13
  */
13
14
  readonly type: H265V2RateControlModeConfigType;
14
15
  /**
15
- * HVS-based perceptual encoding mode (0:off 1:cudqp 2:+quant).
16
- * @type {number}
16
+ * HVS-based perceptual encoding mode.
17
+ * @type {H265V2PerceptualEncodingMode}
17
18
  * @memberof H265V2PerceptualQualityModeConfig
18
19
  */
19
- percept?: number;
20
+ perceptualEncodingMode?: H265V2PerceptualEncodingMode;
20
21
  /**
21
22
  * Overall strength of perceptual model (0.0-1.0).
22
23
  * @type {number}
23
24
  * @memberof H265V2PerceptualQualityModeConfig
24
25
  */
25
- percStr?: number;
26
+ perceptualStrength?: number;
26
27
  /**
27
28
  * Strength of penalties from perceptual model (0.0-1.0).
28
29
  * @type {number}
29
30
  * @memberof H265V2PerceptualQualityModeConfig
30
31
  */
31
- percPenaltyStr?: number;
32
+ perceptualPenaltyStrength?: number;
32
33
  /**
33
34
  * Knee point of penalty strength modulation (0.0-1.0).
34
35
  * @type {number}
35
36
  * @memberof H265V2PerceptualQualityModeConfig
36
37
  */
37
- percPenaltyKnee?: number;
38
+ perceptualPenaltyKnee?: number;
38
39
  /**
39
40
  * Strength of temporal component of perceptual model (0.0-1.0).
40
41
  * @type {number}
41
42
  * @memberof H265V2PerceptualQualityModeConfig
42
43
  */
43
- percTemporalStr?: number;
44
+ perceptualTemporalStrength?: number;
44
45
  /**
45
46
  * Pixels per degree (horizontal), i.e. width / FOV.
46
47
  * @type {number}
@@ -20,11 +20,11 @@ class H265V2PerceptualQualityModeConfig extends H265V2RateControlModeConfig_1.de
20
20
  if (!obj) {
21
21
  return;
22
22
  }
23
- this.percept = (0, Mapper_1.map)(obj.percept);
24
- this.percStr = (0, Mapper_1.map)(obj.percStr);
25
- this.percPenaltyStr = (0, Mapper_1.map)(obj.percPenaltyStr);
26
- this.percPenaltyKnee = (0, Mapper_1.map)(obj.percPenaltyKnee);
27
- this.percTemporalStr = (0, Mapper_1.map)(obj.percTemporalStr);
23
+ this.perceptualEncodingMode = (0, Mapper_1.map)(obj.perceptualEncodingMode);
24
+ this.perceptualStrength = (0, Mapper_1.map)(obj.perceptualStrength);
25
+ this.perceptualPenaltyStrength = (0, Mapper_1.map)(obj.perceptualPenaltyStrength);
26
+ this.perceptualPenaltyKnee = (0, Mapper_1.map)(obj.perceptualPenaltyKnee);
27
+ this.perceptualTemporalStrength = (0, Mapper_1.map)(obj.perceptualTemporalStrength);
28
28
  this.pixelPerDegree = (0, Mapper_1.map)(obj.pixelPerDegree);
29
29
  }
30
30
  }
@@ -455,6 +455,7 @@ export * from './H265PerTitleConfiguration';
455
455
  export * from './H265V2ConstantBitrateModeConfig';
456
456
  export * from './H265V2MotionCompensatedTemporalFiltering';
457
457
  export * from './H265V2PerTitleConfiguration';
458
+ export * from './H265V2PerceptualEncodingMode';
458
459
  export * from './H265V2PerceptualQualityModeConfig';
459
460
  export * from './H265V2PresetConfiguration';
460
461
  export * from './H265V2RateControlModeConfig';
@@ -471,6 +471,7 @@ __exportStar(require("./H265PerTitleConfiguration"), exports);
471
471
  __exportStar(require("./H265V2ConstantBitrateModeConfig"), exports);
472
472
  __exportStar(require("./H265V2MotionCompensatedTemporalFiltering"), exports);
473
473
  __exportStar(require("./H265V2PerTitleConfiguration"), exports);
474
+ __exportStar(require("./H265V2PerceptualEncodingMode"), exports);
474
475
  __exportStar(require("./H265V2PerceptualQualityModeConfig"), exports);
475
476
  __exportStar(require("./H265V2PresetConfiguration"), exports);
476
477
  __exportStar(require("./H265V2RateControlModeConfig"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitmovin/api-sdk",
3
- "version": "1.272.2",
3
+ "version": "1.274.0",
4
4
  "description": "Bitmovin JS/TS API SDK",
5
5
  "author": "Bitmovin Inc",
6
6
  "keywords": [