@bitmovin/api-sdk 1.272.0 → 1.272.2
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 +685 -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/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/H265V2PerceptualQualityModeConfig.d.ts +52 -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 +16 -0
- package/dist/models/index.js +16 -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.272.
|
|
168
|
+
'X-Api-Client-Version': '1.272.2',
|
|
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;
|
|
@@ -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,52 @@
|
|
|
1
|
+
import H265V2RateControlModeConfig from './H265V2RateControlModeConfig';
|
|
2
|
+
import H265V2RateControlModeConfigType from './H265V2RateControlModeConfigType';
|
|
3
|
+
/**
|
|
4
|
+
* @export
|
|
5
|
+
* @class H265V2PerceptualQualityModeConfig
|
|
6
|
+
*/
|
|
7
|
+
export declare class H265V2PerceptualQualityModeConfig extends H265V2RateControlModeConfig {
|
|
8
|
+
/**
|
|
9
|
+
* Discriminator property for H265V2RateControlModeConfig
|
|
10
|
+
* @type {string}
|
|
11
|
+
* @memberof H265V2PerceptualQualityModeConfig
|
|
12
|
+
*/
|
|
13
|
+
readonly type: H265V2RateControlModeConfigType;
|
|
14
|
+
/**
|
|
15
|
+
* HVS-based perceptual encoding mode (0:off 1:cudqp 2:+quant).
|
|
16
|
+
* @type {number}
|
|
17
|
+
* @memberof H265V2PerceptualQualityModeConfig
|
|
18
|
+
*/
|
|
19
|
+
percept?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Overall strength of perceptual model (0.0-1.0).
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof H265V2PerceptualQualityModeConfig
|
|
24
|
+
*/
|
|
25
|
+
percStr?: number;
|
|
26
|
+
/**
|
|
27
|
+
* Strength of penalties from perceptual model (0.0-1.0).
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof H265V2PerceptualQualityModeConfig
|
|
30
|
+
*/
|
|
31
|
+
percPenaltyStr?: number;
|
|
32
|
+
/**
|
|
33
|
+
* Knee point of penalty strength modulation (0.0-1.0).
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof H265V2PerceptualQualityModeConfig
|
|
36
|
+
*/
|
|
37
|
+
percPenaltyKnee?: number;
|
|
38
|
+
/**
|
|
39
|
+
* Strength of temporal component of perceptual model (0.0-1.0).
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof H265V2PerceptualQualityModeConfig
|
|
42
|
+
*/
|
|
43
|
+
percTemporalStr?: number;
|
|
44
|
+
/**
|
|
45
|
+
* Pixels per degree (horizontal), i.e. width / FOV.
|
|
46
|
+
* @type {number}
|
|
47
|
+
* @memberof H265V2PerceptualQualityModeConfig
|
|
48
|
+
*/
|
|
49
|
+
pixelPerDegree?: number;
|
|
50
|
+
constructor(obj?: Partial<H265V2PerceptualQualityModeConfig>);
|
|
51
|
+
}
|
|
52
|
+
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.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);
|
|
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;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import CodecConfigType from './CodecConfigType';
|
|
2
|
+
import H265DynamicRangeFormat from './H265DynamicRangeFormat';
|
|
3
|
+
import H265V2MotionCompensatedTemporalFiltering from './H265V2MotionCompensatedTemporalFiltering';
|
|
4
|
+
import H265V2PresetConfiguration from './H265V2PresetConfiguration';
|
|
5
|
+
import H265V2RateControlModeConfig from './H265V2RateControlModeConfig';
|
|
6
|
+
import VideoConfiguration from './VideoConfiguration';
|
|
7
|
+
/**
|
|
8
|
+
* @export
|
|
9
|
+
* @class H265V2VideoConfiguration
|
|
10
|
+
*/
|
|
11
|
+
export declare class H265V2VideoConfiguration extends VideoConfiguration {
|
|
12
|
+
/**
|
|
13
|
+
* Discriminator property for CodecConfiguration
|
|
14
|
+
* @type {string}
|
|
15
|
+
* @memberof H265V2VideoConfiguration
|
|
16
|
+
*/
|
|
17
|
+
readonly type: CodecConfigType;
|
|
18
|
+
/**
|
|
19
|
+
* Use a set of well defined configurations preset to support certain use cases. Can be overwritten with more specific values.
|
|
20
|
+
* @type {H265V2PresetConfiguration}
|
|
21
|
+
* @memberof H265V2VideoConfiguration
|
|
22
|
+
*/
|
|
23
|
+
presetConfiguration?: H265V2PresetConfiguration;
|
|
24
|
+
/**
|
|
25
|
+
* Automatically configures the encoder for the given SDR/HDR format.
|
|
26
|
+
* @type {H265DynamicRangeFormat}
|
|
27
|
+
* @memberof H265V2VideoConfiguration
|
|
28
|
+
*/
|
|
29
|
+
dynamicRangeFormat?: H265DynamicRangeFormat;
|
|
30
|
+
/**
|
|
31
|
+
* Rate control mode configuration. Used to Configure the Perceptual Encoding Mode Settings.
|
|
32
|
+
* @type {H265V2RateControlModeConfig}
|
|
33
|
+
* @memberof H265V2VideoConfiguration
|
|
34
|
+
*/
|
|
35
|
+
rateControlModeConfig?: H265V2RateControlModeConfig;
|
|
36
|
+
/**
|
|
37
|
+
* Motion compensated temporal filtering mode.
|
|
38
|
+
* @type {H265V2MotionCompensatedTemporalFiltering}
|
|
39
|
+
* @memberof H265V2VideoConfiguration
|
|
40
|
+
*/
|
|
41
|
+
motionCompensatedTemporalFiltering?: H265V2MotionCompensatedTemporalFiltering;
|
|
42
|
+
/**
|
|
43
|
+
* Set codec tier to high when true, main when false.
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof H265V2VideoConfiguration
|
|
46
|
+
*/
|
|
47
|
+
levelHighTier?: boolean;
|
|
48
|
+
constructor(obj?: Partial<H265V2VideoConfiguration>);
|
|
49
|
+
}
|
|
50
|
+
export default H265V2VideoConfiguration;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.H265V2VideoConfiguration = void 0;
|
|
4
|
+
const Mapper_1 = require("../common/Mapper");
|
|
5
|
+
const CodecConfigType_1 = require("./CodecConfigType");
|
|
6
|
+
const H265V2RateControlModeConfig_1 = require("./H265V2RateControlModeConfig");
|
|
7
|
+
const VideoConfiguration_1 = require("./VideoConfiguration");
|
|
8
|
+
/**
|
|
9
|
+
* @export
|
|
10
|
+
* @class H265V2VideoConfiguration
|
|
11
|
+
*/
|
|
12
|
+
class H265V2VideoConfiguration extends VideoConfiguration_1.default {
|
|
13
|
+
constructor(obj) {
|
|
14
|
+
super(obj);
|
|
15
|
+
/**
|
|
16
|
+
* Discriminator property for CodecConfiguration
|
|
17
|
+
* @type {string}
|
|
18
|
+
* @memberof H265V2VideoConfiguration
|
|
19
|
+
*/
|
|
20
|
+
this.type = CodecConfigType_1.default.H265V2;
|
|
21
|
+
if (!obj) {
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
this.presetConfiguration = (0, Mapper_1.map)(obj.presetConfiguration);
|
|
25
|
+
this.dynamicRangeFormat = (0, Mapper_1.map)(obj.dynamicRangeFormat);
|
|
26
|
+
this.rateControlModeConfig = (0, Mapper_1.map)(obj.rateControlModeConfig, H265V2RateControlModeConfig_1.default);
|
|
27
|
+
this.motionCompensatedTemporalFiltering = (0, Mapper_1.map)(obj.motionCompensatedTemporalFiltering);
|
|
28
|
+
this.levelHighTier = (0, Mapper_1.map)(obj.levelHighTier);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.H265V2VideoConfiguration = H265V2VideoConfiguration;
|
|
32
|
+
exports.default = H265V2VideoConfiguration;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import LiveEncodingHeartbeatEvent from './LiveEncodingHeartbeatEvent';
|
|
2
2
|
import LiveEncodingHeartbeatIngest from './LiveEncodingHeartbeatIngest';
|
|
3
|
+
import LiveEncodingHeartbeatOutput from './LiveEncodingHeartbeatOutput';
|
|
3
4
|
/**
|
|
4
5
|
* Heartbeat data for a Live Encoding.
|
|
5
6
|
* @export
|
|
@@ -24,6 +25,12 @@ export declare class LiveEncodingHeartbeat {
|
|
|
24
25
|
* @memberof LiveEncodingHeartbeat
|
|
25
26
|
*/
|
|
26
27
|
events?: LiveEncodingHeartbeatEvent[];
|
|
28
|
+
/**
|
|
29
|
+
* Output statistics for the live encoding
|
|
30
|
+
* @type {LiveEncodingHeartbeatOutput}
|
|
31
|
+
* @memberof LiveEncodingHeartbeat
|
|
32
|
+
*/
|
|
33
|
+
output?: LiveEncodingHeartbeatOutput;
|
|
27
34
|
constructor(obj?: Partial<LiveEncodingHeartbeat>);
|
|
28
35
|
}
|
|
29
36
|
export default LiveEncodingHeartbeat;
|