@bitmovin/api-sdk 1.272.0 → 1.273.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.
- package/README.md +1 -1
- package/dist/bitmovin-api-sdk.browser.js +713 -2
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/encoding/configurations/video/VideoApi.d.ts +2 -0
- package/dist/encoding/configurations/video/VideoApi.js +2 -0
- package/dist/encoding/configurations/video/h265v2/H265V2VideoConfigurationListQueryParams.d.ts +39 -0
- package/dist/encoding/configurations/video/h265v2/H265V2VideoConfigurationListQueryParams.js +36 -0
- package/dist/encoding/configurations/video/h265v2/H265v2Api.d.ts +43 -0
- package/dist/encoding/configurations/video/h265v2/H265v2Api.js +77 -0
- package/dist/models/Av1VideoConfiguration.d.ts +18 -0
- package/dist/models/Av1VideoConfiguration.js +3 -0
- package/dist/models/CodecConfigType.d.ts +2 -1
- package/dist/models/CodecConfigType.js +1 -0
- package/dist/models/CodecConfiguration.d.ts +2 -1
- package/dist/models/CodecConfiguration.js +2 -1
- package/dist/models/H265V2ConstantBitrateModeConfig.d.ts +22 -0
- package/dist/models/H265V2ConstantBitrateModeConfig.js +27 -0
- package/dist/models/H265V2MotionCompensatedTemporalFiltering.d.ts +10 -0
- package/dist/models/H265V2MotionCompensatedTemporalFiltering.js +14 -0
- package/dist/models/H265V2PerceptualEncodingMode.d.ts +9 -0
- package/dist/models/H265V2PerceptualEncodingMode.js +13 -0
- package/dist/models/H265V2PerceptualQualityModeConfig.d.ts +53 -0
- package/dist/models/H265V2PerceptualQualityModeConfig.js +32 -0
- package/dist/models/H265V2PresetConfiguration.d.ts +9 -0
- package/dist/models/H265V2PresetConfiguration.js +13 -0
- package/dist/models/H265V2RateControlModeConfig.d.ts +22 -0
- package/dist/models/H265V2RateControlModeConfig.js +24 -0
- package/dist/models/H265V2RateControlModeConfigType.d.ts +9 -0
- package/dist/models/H265V2RateControlModeConfigType.js +13 -0
- package/dist/models/H265V2VideoConfiguration.d.ts +50 -0
- package/dist/models/H265V2VideoConfiguration.js +32 -0
- package/dist/models/LiveEncodingHeartbeat.d.ts +7 -0
- package/dist/models/LiveEncodingHeartbeat.js +2 -0
- package/dist/models/LiveEncodingHeartbeatHlsManifestStats.d.ts +29 -0
- package/dist/models/LiveEncodingHeartbeatHlsManifestStats.js +23 -0
- package/dist/models/LiveEncodingHeartbeatManifestUpdate.d.ts +27 -0
- package/dist/models/LiveEncodingHeartbeatManifestUpdate.js +21 -0
- package/dist/models/LiveEncodingHeartbeatManifestUpdateLatencyStats.d.ts +33 -0
- package/dist/models/LiveEncodingHeartbeatManifestUpdateLatencyStats.js +22 -0
- package/dist/models/LiveEncodingHeartbeatManifests.d.ts +16 -0
- package/dist/models/LiveEncodingHeartbeatManifests.js +20 -0
- package/dist/models/LiveEncodingHeartbeatOutput.d.ts +23 -0
- package/dist/models/LiveEncodingHeartbeatOutput.js +22 -0
- package/dist/models/LiveEncodingHeartbeatSegments.d.ts +30 -0
- package/dist/models/LiveEncodingHeartbeatSegments.js +24 -0
- package/dist/models/LiveEncodingHeartbeatTotalProcessingOutlier.d.ts +21 -0
- package/dist/models/LiveEncodingHeartbeatTotalProcessingOutlier.js +20 -0
- package/dist/models/LiveEncodingHeartbeatTotalProcessingStatsMs.d.ts +33 -0
- package/dist/models/LiveEncodingHeartbeatTotalProcessingStatsMs.js +22 -0
- package/dist/models/LiveEncodingHeartbeatUploadOutlier.d.ts +27 -0
- package/dist/models/LiveEncodingHeartbeatUploadOutlier.js +21 -0
- package/dist/models/index.d.ts +17 -0
- package/dist/models/index.js +17 -0
- package/package.json +1 -1
|
@@ -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.
|
|
168
|
+
'X-Api-Client-Version': '1.273.0',
|
|
169
169
|
'Content-Type': 'application/json'
|
|
170
170
|
};
|
|
171
171
|
if (tenantOrgId) {
|
|
@@ -3,6 +3,7 @@ import Configuration from '../../../common/Configuration';
|
|
|
3
3
|
import H262Api from './h262/H262Api';
|
|
4
4
|
import H264Api from './h264/H264Api';
|
|
5
5
|
import H265Api from './h265/H265Api';
|
|
6
|
+
import H265v2Api from './h265v2/H265v2Api';
|
|
6
7
|
import Vp8Api from './vp8/Vp8Api';
|
|
7
8
|
import Vp9Api from './vp9/Vp9Api';
|
|
8
9
|
import Av1Api from './av1/Av1Api';
|
|
@@ -17,6 +18,7 @@ export default class VideoApi extends BaseAPI {
|
|
|
17
18
|
h262: H262Api;
|
|
18
19
|
h264: H264Api;
|
|
19
20
|
h265: H265Api;
|
|
21
|
+
h265v2: H265v2Api;
|
|
20
22
|
vp8: Vp8Api;
|
|
21
23
|
vp9: Vp9Api;
|
|
22
24
|
av1: Av1Api;
|
|
@@ -4,6 +4,7 @@ const BaseAPI_1 = require("../../../common/BaseAPI");
|
|
|
4
4
|
const H262Api_1 = require("./h262/H262Api");
|
|
5
5
|
const H264Api_1 = require("./h264/H264Api");
|
|
6
6
|
const H265Api_1 = require("./h265/H265Api");
|
|
7
|
+
const H265v2Api_1 = require("./h265v2/H265v2Api");
|
|
7
8
|
const Vp8Api_1 = require("./vp8/Vp8Api");
|
|
8
9
|
const Vp9Api_1 = require("./vp9/Vp9Api");
|
|
9
10
|
const Av1Api_1 = require("./av1/Av1Api");
|
|
@@ -20,6 +21,7 @@ class VideoApi extends BaseAPI_1.BaseAPI {
|
|
|
20
21
|
this.h262 = new H262Api_1.default(configuration);
|
|
21
22
|
this.h264 = new H264Api_1.default(configuration);
|
|
22
23
|
this.h265 = new H265Api_1.default(configuration);
|
|
24
|
+
this.h265v2 = new H265v2Api_1.default(configuration);
|
|
23
25
|
this.vp8 = new Vp8Api_1.default(configuration);
|
|
24
26
|
this.vp9 = new Vp9Api_1.default(configuration);
|
|
25
27
|
this.av1 = new Av1Api_1.default(configuration);
|
package/dist/encoding/configurations/video/h265v2/H265V2VideoConfigurationListQueryParams.d.ts
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export interface H265V2VideoConfigurationListQueryParams {
|
|
2
|
+
/**
|
|
3
|
+
* Index of the first item to return, starting at 0. Default is 0
|
|
4
|
+
* @type {number}
|
|
5
|
+
* @memberof H265V2VideoConfigurationListQueryParams
|
|
6
|
+
*/
|
|
7
|
+
offset?: number | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* Maximum number of items to return. Default is 25, maximum is 100
|
|
10
|
+
* @type {number}
|
|
11
|
+
* @memberof H265V2VideoConfigurationListQueryParams
|
|
12
|
+
*/
|
|
13
|
+
limit?: number | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Filter configuration by name
|
|
16
|
+
* @type {string}
|
|
17
|
+
* @memberof H265V2VideoConfigurationListQueryParams
|
|
18
|
+
*/
|
|
19
|
+
name?: string | undefined;
|
|
20
|
+
}
|
|
21
|
+
export declare class H265V2VideoConfigurationListQueryParamsBuilder {
|
|
22
|
+
private internalParams;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
26
|
+
*/
|
|
27
|
+
offset(offset: number): this;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
31
|
+
*/
|
|
32
|
+
limit(limit: number): this;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @param name Filter configuration by name
|
|
36
|
+
*/
|
|
37
|
+
name(name: string): this;
|
|
38
|
+
buildQueryParams(): H265V2VideoConfigurationListQueryParams;
|
|
39
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.H265V2VideoConfigurationListQueryParamsBuilder = void 0;
|
|
4
|
+
class H265V2VideoConfigurationListQueryParamsBuilder {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.internalParams = {};
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
11
|
+
*/
|
|
12
|
+
offset(offset) {
|
|
13
|
+
this.internalParams.offset = offset;
|
|
14
|
+
return this;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
19
|
+
*/
|
|
20
|
+
limit(limit) {
|
|
21
|
+
this.internalParams.limit = limit;
|
|
22
|
+
return this;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @param name Filter configuration by name
|
|
27
|
+
*/
|
|
28
|
+
name(name) {
|
|
29
|
+
this.internalParams.name = name;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
buildQueryParams() {
|
|
33
|
+
return this.internalParams;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.H265V2VideoConfigurationListQueryParamsBuilder = H265V2VideoConfigurationListQueryParamsBuilder;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { BaseAPI } from '../../../../common/BaseAPI';
|
|
2
|
+
import Configuration from '../../../../common/Configuration';
|
|
3
|
+
import BitmovinResponse from '../../../../models/BitmovinResponse';
|
|
4
|
+
import H265V2VideoConfiguration from '../../../../models/H265V2VideoConfiguration';
|
|
5
|
+
import PaginationResponse from '../../../../models/PaginationResponse';
|
|
6
|
+
import { H265V2VideoConfigurationListQueryParams, H265V2VideoConfigurationListQueryParamsBuilder } from './H265V2VideoConfigurationListQueryParams';
|
|
7
|
+
/**
|
|
8
|
+
* H265v2Api - object-oriented interface
|
|
9
|
+
* @export
|
|
10
|
+
* @class H265v2Api
|
|
11
|
+
* @extends {BaseAPI}
|
|
12
|
+
*/
|
|
13
|
+
export default class H265v2Api extends BaseAPI {
|
|
14
|
+
constructor(configuration: Configuration);
|
|
15
|
+
/**
|
|
16
|
+
* @summary Create H265 V2 Codec Configuration
|
|
17
|
+
* @param {H265V2VideoConfiguration} h265V2VideoConfiguration The H265 V2 Codec Configuration to be created
|
|
18
|
+
* @throws {BitmovinError}
|
|
19
|
+
* @memberof H265v2Api
|
|
20
|
+
*/
|
|
21
|
+
create(h265V2VideoConfiguration?: H265V2VideoConfiguration): Promise<H265V2VideoConfiguration>;
|
|
22
|
+
/**
|
|
23
|
+
* @summary Delete H265 V2 Codec Configuration
|
|
24
|
+
* @param {string} configurationId Id of the codec configuration
|
|
25
|
+
* @throws {BitmovinError}
|
|
26
|
+
* @memberof H265v2Api
|
|
27
|
+
*/
|
|
28
|
+
delete(configurationId: string): Promise<BitmovinResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* @summary H265 V2 Codec Configuration Details
|
|
31
|
+
* @param {string} configurationId Id of the codec configuration
|
|
32
|
+
* @throws {BitmovinError}
|
|
33
|
+
* @memberof H265v2Api
|
|
34
|
+
*/
|
|
35
|
+
get(configurationId: string): Promise<H265V2VideoConfiguration>;
|
|
36
|
+
/**
|
|
37
|
+
* @summary List H265 V2 Codec Configurations
|
|
38
|
+
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
39
|
+
* @throws {BitmovinError}
|
|
40
|
+
* @memberof H265v2Api
|
|
41
|
+
*/
|
|
42
|
+
list(queryParameters?: H265V2VideoConfigurationListQueryParams | ((q: H265V2VideoConfigurationListQueryParamsBuilder) => H265V2VideoConfigurationListQueryParamsBuilder)): Promise<PaginationResponse<H265V2VideoConfiguration>>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const BaseAPI_1 = require("../../../../common/BaseAPI");
|
|
4
|
+
const Mapper_1 = require("../../../../common/Mapper");
|
|
5
|
+
const BitmovinResponse_1 = require("../../../../models/BitmovinResponse");
|
|
6
|
+
const H265V2VideoConfiguration_1 = require("../../../../models/H265V2VideoConfiguration");
|
|
7
|
+
const PaginationResponse_1 = require("../../../../models/PaginationResponse");
|
|
8
|
+
const H265V2VideoConfigurationListQueryParams_1 = require("./H265V2VideoConfigurationListQueryParams");
|
|
9
|
+
/**
|
|
10
|
+
* H265v2Api - object-oriented interface
|
|
11
|
+
* @export
|
|
12
|
+
* @class H265v2Api
|
|
13
|
+
* @extends {BaseAPI}
|
|
14
|
+
*/
|
|
15
|
+
class H265v2Api extends BaseAPI_1.BaseAPI {
|
|
16
|
+
constructor(configuration) {
|
|
17
|
+
super(configuration);
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @summary Create H265 V2 Codec Configuration
|
|
21
|
+
* @param {H265V2VideoConfiguration} h265V2VideoConfiguration The H265 V2 Codec Configuration to be created
|
|
22
|
+
* @throws {BitmovinError}
|
|
23
|
+
* @memberof H265v2Api
|
|
24
|
+
*/
|
|
25
|
+
create(h265V2VideoConfiguration) {
|
|
26
|
+
return this.restClient.post('/encoding/configurations/video/h265v2', {}, h265V2VideoConfiguration).then((response) => {
|
|
27
|
+
return (0, Mapper_1.map)(response, H265V2VideoConfiguration_1.default);
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @summary Delete H265 V2 Codec Configuration
|
|
32
|
+
* @param {string} configurationId Id of the codec configuration
|
|
33
|
+
* @throws {BitmovinError}
|
|
34
|
+
* @memberof H265v2Api
|
|
35
|
+
*/
|
|
36
|
+
delete(configurationId) {
|
|
37
|
+
const pathParamMap = {
|
|
38
|
+
configuration_id: configurationId
|
|
39
|
+
};
|
|
40
|
+
return this.restClient.delete('/encoding/configurations/video/h265v2/{configuration_id}', pathParamMap).then((response) => {
|
|
41
|
+
return (0, Mapper_1.map)(response, BitmovinResponse_1.default);
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @summary H265 V2 Codec Configuration Details
|
|
46
|
+
* @param {string} configurationId Id of the codec configuration
|
|
47
|
+
* @throws {BitmovinError}
|
|
48
|
+
* @memberof H265v2Api
|
|
49
|
+
*/
|
|
50
|
+
get(configurationId) {
|
|
51
|
+
const pathParamMap = {
|
|
52
|
+
configuration_id: configurationId
|
|
53
|
+
};
|
|
54
|
+
return this.restClient.get('/encoding/configurations/video/h265v2/{configuration_id}', pathParamMap).then((response) => {
|
|
55
|
+
return (0, Mapper_1.map)(response, H265V2VideoConfiguration_1.default);
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* @summary List H265 V2 Codec Configurations
|
|
60
|
+
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
61
|
+
* @throws {BitmovinError}
|
|
62
|
+
* @memberof H265v2Api
|
|
63
|
+
*/
|
|
64
|
+
list(queryParameters) {
|
|
65
|
+
let queryParams = {};
|
|
66
|
+
if (typeof queryParameters === 'function') {
|
|
67
|
+
queryParams = queryParameters(new H265V2VideoConfigurationListQueryParams_1.H265V2VideoConfigurationListQueryParamsBuilder()).buildQueryParams();
|
|
68
|
+
}
|
|
69
|
+
else if (queryParameters) {
|
|
70
|
+
queryParams = queryParameters;
|
|
71
|
+
}
|
|
72
|
+
return this.restClient.get('/encoding/configurations/video/h265v2', {}, queryParams).then((response) => {
|
|
73
|
+
return new PaginationResponse_1.default(response, H265V2VideoConfiguration_1.default);
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
exports.default = H265v2Api;
|
|
@@ -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;
|
|
@@ -34,5 +34,6 @@ var CodecConfigType;
|
|
|
34
34
|
CodecConfigType["WEBVTT"] = "WEBVTT";
|
|
35
35
|
CodecConfigType["IMSC"] = "IMSC";
|
|
36
36
|
CodecConfigType["DVB_SUBTITLE"] = "DVB_SUBTITLE";
|
|
37
|
+
CodecConfigType["H265V2"] = "H265V2";
|
|
37
38
|
})(CodecConfigType || (exports.CodecConfigType = CodecConfigType = {}));
|
|
38
39
|
exports.default = CodecConfigType;
|
|
@@ -12,6 +12,7 @@ import DvbSubtitleConfiguration from './DvbSubtitleConfiguration';
|
|
|
12
12
|
import Eac3AudioConfiguration from './Eac3AudioConfiguration';
|
|
13
13
|
import H262VideoConfiguration from './H262VideoConfiguration';
|
|
14
14
|
import H264VideoConfiguration from './H264VideoConfiguration';
|
|
15
|
+
import H265V2VideoConfiguration from './H265V2VideoConfiguration';
|
|
15
16
|
import H265VideoConfiguration from './H265VideoConfiguration';
|
|
16
17
|
import HeAacV1AudioConfiguration from './HeAacV1AudioConfiguration';
|
|
17
18
|
import HeAacV2AudioConfiguration from './HeAacV2AudioConfiguration';
|
|
@@ -26,7 +27,7 @@ import VorbisAudioConfiguration from './VorbisAudioConfiguration';
|
|
|
26
27
|
import Vp8VideoConfiguration from './Vp8VideoConfiguration';
|
|
27
28
|
import Vp9VideoConfiguration from './Vp9VideoConfiguration';
|
|
28
29
|
import WebVttConfiguration from './WebVttConfiguration';
|
|
29
|
-
export type CodecConfigurationUnion = AacAudioConfiguration | PassthroughAudioConfiguration | DtsPassthroughAudioConfiguration | DtsAudioConfiguration | DtsXAudioConfiguration | DvbSubtitleConfiguration | HeAacV1AudioConfiguration | HeAacV2AudioConfiguration | H264VideoConfiguration | H265VideoConfiguration | Vp9VideoConfiguration | Vp8VideoConfiguration | Mp2AudioConfiguration | Mp3AudioConfiguration | Ac3AudioConfiguration | DolbyDigitalAudioConfiguration | Eac3AudioConfiguration | DolbyDigitalPlusAudioConfiguration | OpusAudioConfiguration | VorbisAudioConfiguration | MjpegVideoConfiguration | Av1VideoConfiguration | DolbyAtmosAudioConfiguration | H262VideoConfiguration | PcmAudioConfiguration | WebVttConfiguration | ImscConfiguration;
|
|
30
|
+
export type CodecConfigurationUnion = AacAudioConfiguration | PassthroughAudioConfiguration | DtsPassthroughAudioConfiguration | DtsAudioConfiguration | DtsXAudioConfiguration | DvbSubtitleConfiguration | HeAacV1AudioConfiguration | HeAacV2AudioConfiguration | H264VideoConfiguration | H265VideoConfiguration | Vp9VideoConfiguration | Vp8VideoConfiguration | Mp2AudioConfiguration | Mp3AudioConfiguration | Ac3AudioConfiguration | DolbyDigitalAudioConfiguration | Eac3AudioConfiguration | DolbyDigitalPlusAudioConfiguration | OpusAudioConfiguration | VorbisAudioConfiguration | MjpegVideoConfiguration | Av1VideoConfiguration | DolbyAtmosAudioConfiguration | H262VideoConfiguration | PcmAudioConfiguration | WebVttConfiguration | ImscConfiguration | H265V2VideoConfiguration;
|
|
30
31
|
/**
|
|
31
32
|
* @export
|
|
32
33
|
* @class CodecConfiguration
|
|
@@ -43,6 +43,7 @@ CodecConfiguration._discriminatorMapping = {
|
|
|
43
43
|
"H262": 'H262VideoConfiguration',
|
|
44
44
|
"PCM": 'PcmAudioConfiguration',
|
|
45
45
|
"WEBVTT": 'WebVttConfiguration',
|
|
46
|
-
"IMSC": 'ImscConfiguration'
|
|
46
|
+
"IMSC": 'ImscConfiguration',
|
|
47
|
+
"H265V2": 'H265V2VideoConfiguration'
|
|
47
48
|
};
|
|
48
49
|
exports.default = CodecConfiguration;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import H265V2RateControlModeConfig from './H265V2RateControlModeConfig';
|
|
2
|
+
import H265V2RateControlModeConfigType from './H265V2RateControlModeConfigType';
|
|
3
|
+
/**
|
|
4
|
+
* @export
|
|
5
|
+
* @class H265V2ConstantBitrateModeConfig
|
|
6
|
+
*/
|
|
7
|
+
export declare class H265V2ConstantBitrateModeConfig extends H265V2RateControlModeConfig {
|
|
8
|
+
/**
|
|
9
|
+
* Discriminator property for H265V2RateControlModeConfig
|
|
10
|
+
* @type {string}
|
|
11
|
+
* @memberof H265V2ConstantBitrateModeConfig
|
|
12
|
+
*/
|
|
13
|
+
readonly type: H265V2RateControlModeConfigType;
|
|
14
|
+
/**
|
|
15
|
+
* Enable filler data for constant bitrate mode.
|
|
16
|
+
* @type {boolean}
|
|
17
|
+
* @memberof H265V2ConstantBitrateModeConfig
|
|
18
|
+
*/
|
|
19
|
+
fillerdata?: boolean;
|
|
20
|
+
constructor(obj?: Partial<H265V2ConstantBitrateModeConfig>);
|
|
21
|
+
}
|
|
22
|
+
export default H265V2ConstantBitrateModeConfig;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.H265V2ConstantBitrateModeConfig = void 0;
|
|
4
|
+
const Mapper_1 = require("../common/Mapper");
|
|
5
|
+
const H265V2RateControlModeConfig_1 = require("./H265V2RateControlModeConfig");
|
|
6
|
+
const H265V2RateControlModeConfigType_1 = require("./H265V2RateControlModeConfigType");
|
|
7
|
+
/**
|
|
8
|
+
* @export
|
|
9
|
+
* @class H265V2ConstantBitrateModeConfig
|
|
10
|
+
*/
|
|
11
|
+
class H265V2ConstantBitrateModeConfig extends H265V2RateControlModeConfig_1.default {
|
|
12
|
+
constructor(obj) {
|
|
13
|
+
super(obj);
|
|
14
|
+
/**
|
|
15
|
+
* Discriminator property for H265V2RateControlModeConfig
|
|
16
|
+
* @type {string}
|
|
17
|
+
* @memberof H265V2ConstantBitrateModeConfig
|
|
18
|
+
*/
|
|
19
|
+
this.type = H265V2RateControlModeConfigType_1.default.CONSTANT_BITRATE_MODE;
|
|
20
|
+
if (!obj) {
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
this.fillerdata = (0, Mapper_1.map)(obj.fillerdata);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.H265V2ConstantBitrateModeConfig = H265V2ConstantBitrateModeConfig;
|
|
27
|
+
exports.default = H265V2ConstantBitrateModeConfig;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.H265V2MotionCompensatedTemporalFiltering = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* @export
|
|
6
|
+
* @enum {string}
|
|
7
|
+
*/
|
|
8
|
+
var H265V2MotionCompensatedTemporalFiltering;
|
|
9
|
+
(function (H265V2MotionCompensatedTemporalFiltering) {
|
|
10
|
+
H265V2MotionCompensatedTemporalFiltering["AUTO"] = "AUTO";
|
|
11
|
+
H265V2MotionCompensatedTemporalFiltering["OFF"] = "OFF";
|
|
12
|
+
H265V2MotionCompensatedTemporalFiltering["ON"] = "ON";
|
|
13
|
+
})(H265V2MotionCompensatedTemporalFiltering || (exports.H265V2MotionCompensatedTemporalFiltering = H265V2MotionCompensatedTemporalFiltering = {}));
|
|
14
|
+
exports.default = H265V2MotionCompensatedTemporalFiltering;
|
|
@@ -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;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import H265V2PerceptualEncodingMode from './H265V2PerceptualEncodingMode';
|
|
2
|
+
import H265V2RateControlModeConfig from './H265V2RateControlModeConfig';
|
|
3
|
+
import H265V2RateControlModeConfigType from './H265V2RateControlModeConfigType';
|
|
4
|
+
/**
|
|
5
|
+
* @export
|
|
6
|
+
* @class H265V2PerceptualQualityModeConfig
|
|
7
|
+
*/
|
|
8
|
+
export declare class H265V2PerceptualQualityModeConfig extends H265V2RateControlModeConfig {
|
|
9
|
+
/**
|
|
10
|
+
* Discriminator property for H265V2RateControlModeConfig
|
|
11
|
+
* @type {string}
|
|
12
|
+
* @memberof H265V2PerceptualQualityModeConfig
|
|
13
|
+
*/
|
|
14
|
+
readonly type: H265V2RateControlModeConfigType;
|
|
15
|
+
/**
|
|
16
|
+
* HVS-based perceptual encoding mode.
|
|
17
|
+
* @type {H265V2PerceptualEncodingMode}
|
|
18
|
+
* @memberof H265V2PerceptualQualityModeConfig
|
|
19
|
+
*/
|
|
20
|
+
perceptualEncodingMode?: H265V2PerceptualEncodingMode;
|
|
21
|
+
/**
|
|
22
|
+
* Overall strength of perceptual model (0.0-1.0).
|
|
23
|
+
* @type {number}
|
|
24
|
+
* @memberof H265V2PerceptualQualityModeConfig
|
|
25
|
+
*/
|
|
26
|
+
perceptualStrength?: number;
|
|
27
|
+
/**
|
|
28
|
+
* Strength of penalties from perceptual model (0.0-1.0).
|
|
29
|
+
* @type {number}
|
|
30
|
+
* @memberof H265V2PerceptualQualityModeConfig
|
|
31
|
+
*/
|
|
32
|
+
perceptualPenaltyStrength?: number;
|
|
33
|
+
/**
|
|
34
|
+
* Knee point of penalty strength modulation (0.0-1.0).
|
|
35
|
+
* @type {number}
|
|
36
|
+
* @memberof H265V2PerceptualQualityModeConfig
|
|
37
|
+
*/
|
|
38
|
+
perceptualPenaltyKnee?: number;
|
|
39
|
+
/**
|
|
40
|
+
* Strength of temporal component of perceptual model (0.0-1.0).
|
|
41
|
+
* @type {number}
|
|
42
|
+
* @memberof H265V2PerceptualQualityModeConfig
|
|
43
|
+
*/
|
|
44
|
+
perceptualTemporalStrength?: number;
|
|
45
|
+
/**
|
|
46
|
+
* Pixels per degree (horizontal), i.e. width / FOV.
|
|
47
|
+
* @type {number}
|
|
48
|
+
* @memberof H265V2PerceptualQualityModeConfig
|
|
49
|
+
*/
|
|
50
|
+
pixelPerDegree?: number;
|
|
51
|
+
constructor(obj?: Partial<H265V2PerceptualQualityModeConfig>);
|
|
52
|
+
}
|
|
53
|
+
export default H265V2PerceptualQualityModeConfig;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.H265V2PerceptualQualityModeConfig = void 0;
|
|
4
|
+
const Mapper_1 = require("../common/Mapper");
|
|
5
|
+
const H265V2RateControlModeConfig_1 = require("./H265V2RateControlModeConfig");
|
|
6
|
+
const H265V2RateControlModeConfigType_1 = require("./H265V2RateControlModeConfigType");
|
|
7
|
+
/**
|
|
8
|
+
* @export
|
|
9
|
+
* @class H265V2PerceptualQualityModeConfig
|
|
10
|
+
*/
|
|
11
|
+
class H265V2PerceptualQualityModeConfig extends H265V2RateControlModeConfig_1.default {
|
|
12
|
+
constructor(obj) {
|
|
13
|
+
super(obj);
|
|
14
|
+
/**
|
|
15
|
+
* Discriminator property for H265V2RateControlModeConfig
|
|
16
|
+
* @type {string}
|
|
17
|
+
* @memberof H265V2PerceptualQualityModeConfig
|
|
18
|
+
*/
|
|
19
|
+
this.type = H265V2RateControlModeConfigType_1.default.PERCEPTUAL_QUALITY_MODE;
|
|
20
|
+
if (!obj) {
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
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
|
+
this.pixelPerDegree = (0, Mapper_1.map)(obj.pixelPerDegree);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.H265V2PerceptualQualityModeConfig = H265V2PerceptualQualityModeConfig;
|
|
32
|
+
exports.default = H265V2PerceptualQualityModeConfig;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.H265V2PresetConfiguration = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* @export
|
|
6
|
+
* @enum {string}
|
|
7
|
+
*/
|
|
8
|
+
var H265V2PresetConfiguration;
|
|
9
|
+
(function (H265V2PresetConfiguration) {
|
|
10
|
+
H265V2PresetConfiguration["VOD_QUALITY"] = "VOD_QUALITY";
|
|
11
|
+
H265V2PresetConfiguration["VOD_HIGH_QUALITY"] = "VOD_HIGH_QUALITY";
|
|
12
|
+
})(H265V2PresetConfiguration || (exports.H265V2PresetConfiguration = H265V2PresetConfiguration = {}));
|
|
13
|
+
exports.default = H265V2PresetConfiguration;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import H265V2ConstantBitrateModeConfig from './H265V2ConstantBitrateModeConfig';
|
|
2
|
+
import H265V2PerceptualQualityModeConfig from './H265V2PerceptualQualityModeConfig';
|
|
3
|
+
import H265V2RateControlModeConfigType from './H265V2RateControlModeConfigType';
|
|
4
|
+
export type H265V2RateControlModeConfigUnion = H265V2PerceptualQualityModeConfig | H265V2ConstantBitrateModeConfig;
|
|
5
|
+
/**
|
|
6
|
+
* Rate control mode configuration. Use H265V2PerceptualQualityModeConfig for PQP mode or H265V2ConstantBitrateModeConfig for CBR mode.
|
|
7
|
+
* @export
|
|
8
|
+
* @class H265V2RateControlModeConfig
|
|
9
|
+
*/
|
|
10
|
+
export declare class H265V2RateControlModeConfig {
|
|
11
|
+
protected static readonly _discriminatorName = "type";
|
|
12
|
+
protected static readonly _discriminatorMapping: {
|
|
13
|
+
[key: string]: string;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* @type {H265V2RateControlModeConfigType}
|
|
17
|
+
* @memberof H265V2RateControlModeConfig
|
|
18
|
+
*/
|
|
19
|
+
type?: H265V2RateControlModeConfigType;
|
|
20
|
+
constructor(obj?: Partial<H265V2RateControlModeConfig>);
|
|
21
|
+
}
|
|
22
|
+
export default H265V2RateControlModeConfig;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.H265V2RateControlModeConfig = void 0;
|
|
4
|
+
const Mapper_1 = require("../common/Mapper");
|
|
5
|
+
/**
|
|
6
|
+
* Rate control mode configuration. Use H265V2PerceptualQualityModeConfig for PQP mode or H265V2ConstantBitrateModeConfig for CBR mode.
|
|
7
|
+
* @export
|
|
8
|
+
* @class H265V2RateControlModeConfig
|
|
9
|
+
*/
|
|
10
|
+
class H265V2RateControlModeConfig {
|
|
11
|
+
constructor(obj) {
|
|
12
|
+
if (!obj) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
this.type = (0, Mapper_1.map)(obj.type);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.H265V2RateControlModeConfig = H265V2RateControlModeConfig;
|
|
19
|
+
H265V2RateControlModeConfig._discriminatorName = 'type';
|
|
20
|
+
H265V2RateControlModeConfig._discriminatorMapping = {
|
|
21
|
+
"PERCEPTUAL_QUALITY_MODE": 'H265V2PerceptualQualityModeConfig',
|
|
22
|
+
"CONSTANT_BITRATE_MODE": 'H265V2ConstantBitrateModeConfig'
|
|
23
|
+
};
|
|
24
|
+
exports.default = H265V2RateControlModeConfig;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.H265V2RateControlModeConfigType = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* @export
|
|
6
|
+
* @enum {string}
|
|
7
|
+
*/
|
|
8
|
+
var H265V2RateControlModeConfigType;
|
|
9
|
+
(function (H265V2RateControlModeConfigType) {
|
|
10
|
+
H265V2RateControlModeConfigType["PERCEPTUAL_QUALITY_MODE"] = "PERCEPTUAL_QUALITY_MODE";
|
|
11
|
+
H265V2RateControlModeConfigType["CONSTANT_BITRATE_MODE"] = "CONSTANT_BITRATE_MODE";
|
|
12
|
+
})(H265V2RateControlModeConfigType || (exports.H265V2RateControlModeConfigType = H265V2RateControlModeConfigType = {}));
|
|
13
|
+
exports.default = H265V2RateControlModeConfigType;
|