@aws-cdk/aws-medialive-alpha 2.268.0-alpha.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/.jsii +60888 -0
- package/.jsii.tabl.json.gz +0 -0
- package/.warnings.jsii.js +524 -0
- package/LICENSE +201 -0
- package/NOTICE +2 -0
- package/README.md +1297 -0
- package/grants.json +27 -0
- package/lib/audio-codec-settings.d.ts +901 -0
- package/lib/audio-codec-settings.js +1098 -0
- package/lib/audio-selector.d.ts +170 -0
- package/lib/audio-selector.js +306 -0
- package/lib/avail-settings.d.ts +231 -0
- package/lib/avail-settings.js +226 -0
- package/lib/caption-selector.d.ts +234 -0
- package/lib/caption-selector.js +413 -0
- package/lib/caption-settings.d.ts +349 -0
- package/lib/caption-settings.js +482 -0
- package/lib/channel-features.d.ts +106 -0
- package/lib/channel-features.js +85 -0
- package/lib/channel-placement-group.d.ts +73 -0
- package/lib/channel-placement-group.js +132 -0
- package/lib/channel.d.ts +687 -0
- package/lib/channel.js +1096 -0
- package/lib/cluster.d.ts +129 -0
- package/lib/cluster.js +158 -0
- package/lib/color-correction.d.ts +39 -0
- package/lib/color-correction.js +29 -0
- package/lib/destinations.d.ts +242 -0
- package/lib/destinations.js +455 -0
- package/lib/encode-configuration.d.ts +615 -0
- package/lib/encode-configuration.js +629 -0
- package/lib/enums.d.ts +698 -0
- package/lib/enums.js +1045 -0
- package/lib/file-location.d.ts +65 -0
- package/lib/file-location.js +150 -0
- package/lib/framerate.d.ts +31 -0
- package/lib/framerate.js +71 -0
- package/lib/index.d.ts +26 -0
- package/lib/index.js +43 -0
- package/lib/input-attachment.d.ts +319 -0
- package/lib/input-attachment.js +228 -0
- package/lib/input-security-group.d.ts +51 -0
- package/lib/input-security-group.js +123 -0
- package/lib/input-specification.d.ts +111 -0
- package/lib/input-specification.js +181 -0
- package/lib/input.d.ts +505 -0
- package/lib/input.js +803 -0
- package/lib/m2ts-settings.d.ts +421 -0
- package/lib/m2ts-settings.js +469 -0
- package/lib/m3u8-settings.d.ts +272 -0
- package/lib/m3u8-settings.js +304 -0
- package/lib/medialive-grants.generated.d.ts +30 -0
- package/lib/medialive-grants.generated.js +92 -0
- package/lib/network.d.ts +83 -0
- package/lib/network.js +132 -0
- package/lib/output-group.d.ts +924 -0
- package/lib/output-group.js +941 -0
- package/lib/outputs.d.ts +304 -0
- package/lib/outputs.js +598 -0
- package/lib/sdi-source.d.ts +124 -0
- package/lib/sdi-source.js +180 -0
- package/lib/shared.d.ts +44 -0
- package/lib/shared.js +146 -0
- package/lib/video-codec-settings.d.ts +1500 -0
- package/lib/video-codec-settings.js +1722 -0
- package/lib/video-selection.d.ts +92 -0
- package/lib/video-selection.js +95 -0
- package/package.json +135 -0
- package/rosetta/_generated.ts-fixture +6 -0
- package/rosetta/default.ts-fixture +21 -0
|
@@ -0,0 +1,1500 @@
|
|
|
1
|
+
import type { Bitrate, Duration } from 'aws-cdk-lib';
|
|
2
|
+
import type { Framerate } from './framerate';
|
|
3
|
+
import { PixelAspectRatio } from './shared';
|
|
4
|
+
/**
|
|
5
|
+
* H.264 profile.
|
|
6
|
+
*/
|
|
7
|
+
export declare class H264Profile {
|
|
8
|
+
/** Baseline profile */
|
|
9
|
+
static readonly BASELINE: H264Profile;
|
|
10
|
+
/** Main profile */
|
|
11
|
+
static readonly MAIN: H264Profile;
|
|
12
|
+
/** High profile */
|
|
13
|
+
static readonly HIGH: H264Profile;
|
|
14
|
+
/** High 10-bit profile */
|
|
15
|
+
static readonly HIGH_10BIT: H264Profile;
|
|
16
|
+
/** High 4:2:2 profile */
|
|
17
|
+
static readonly HIGH_422: H264Profile;
|
|
18
|
+
/** High 4:2:2 10-bit profile */
|
|
19
|
+
static readonly HIGH_422_10BIT: H264Profile;
|
|
20
|
+
/** A value not yet modelled by AWS CDK. */
|
|
21
|
+
static of(value: string): H264Profile;
|
|
22
|
+
/** The underlying string value passed to CloudFormation. */
|
|
23
|
+
readonly value: string;
|
|
24
|
+
private constructor();
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* H.264 level.
|
|
28
|
+
*/
|
|
29
|
+
export declare class H264Level {
|
|
30
|
+
/** Level 1 */
|
|
31
|
+
static readonly H264_LEVEL_1: H264Level;
|
|
32
|
+
/** Level 1.1 */
|
|
33
|
+
static readonly H264_LEVEL_1_1: H264Level;
|
|
34
|
+
/** Level 1.2 */
|
|
35
|
+
static readonly H264_LEVEL_1_2: H264Level;
|
|
36
|
+
/** Level 1.3 */
|
|
37
|
+
static readonly H264_LEVEL_1_3: H264Level;
|
|
38
|
+
/** Level 2 */
|
|
39
|
+
static readonly H264_LEVEL_2: H264Level;
|
|
40
|
+
/** Level 2.1 */
|
|
41
|
+
static readonly H264_LEVEL_2_1: H264Level;
|
|
42
|
+
/** Level 2.2 */
|
|
43
|
+
static readonly H264_LEVEL_2_2: H264Level;
|
|
44
|
+
/** Level 3 */
|
|
45
|
+
static readonly H264_LEVEL_3: H264Level;
|
|
46
|
+
/** Level 3.1 */
|
|
47
|
+
static readonly H264_LEVEL_3_1: H264Level;
|
|
48
|
+
/** Level 3.2 */
|
|
49
|
+
static readonly H264_LEVEL_3_2: H264Level;
|
|
50
|
+
/** Level 4 */
|
|
51
|
+
static readonly H264_LEVEL_4: H264Level;
|
|
52
|
+
/** Level 4.1 */
|
|
53
|
+
static readonly H264_LEVEL_4_1: H264Level;
|
|
54
|
+
/** Level 4.2 */
|
|
55
|
+
static readonly H264_LEVEL_4_2: H264Level;
|
|
56
|
+
/** Level 5 */
|
|
57
|
+
static readonly H264_LEVEL_5: H264Level;
|
|
58
|
+
/** Level 5.1 */
|
|
59
|
+
static readonly H264_LEVEL_5_1: H264Level;
|
|
60
|
+
/** Level 5.2 */
|
|
61
|
+
static readonly H264_LEVEL_5_2: H264Level;
|
|
62
|
+
/** Auto-select the level based on the encode configuration */
|
|
63
|
+
static readonly H264_LEVEL_AUTO: H264Level;
|
|
64
|
+
/** A value not yet modelled by AWS CDK. */
|
|
65
|
+
static of(value: string): H264Level;
|
|
66
|
+
/** The underlying string value passed to CloudFormation. */
|
|
67
|
+
readonly value: string;
|
|
68
|
+
private constructor();
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* H.265 level.
|
|
72
|
+
*/
|
|
73
|
+
export declare class H265Level {
|
|
74
|
+
/** Level 1 */
|
|
75
|
+
static readonly H265_LEVEL_1: H265Level;
|
|
76
|
+
/** Level 2 */
|
|
77
|
+
static readonly H265_LEVEL_2: H265Level;
|
|
78
|
+
/** Level 2.1 */
|
|
79
|
+
static readonly H265_LEVEL_2_1: H265Level;
|
|
80
|
+
/** Level 3 */
|
|
81
|
+
static readonly H265_LEVEL_3: H265Level;
|
|
82
|
+
/** Level 3.1 */
|
|
83
|
+
static readonly H265_LEVEL_3_1: H265Level;
|
|
84
|
+
/** Level 4 */
|
|
85
|
+
static readonly H265_LEVEL_4: H265Level;
|
|
86
|
+
/** Level 4.1 */
|
|
87
|
+
static readonly H265_LEVEL_4_1: H265Level;
|
|
88
|
+
/** Level 5 */
|
|
89
|
+
static readonly H265_LEVEL_5: H265Level;
|
|
90
|
+
/** Level 5.1 */
|
|
91
|
+
static readonly H265_LEVEL_5_1: H265Level;
|
|
92
|
+
/** Level 5.2 */
|
|
93
|
+
static readonly H265_LEVEL_5_2: H265Level;
|
|
94
|
+
/** Level 6 */
|
|
95
|
+
static readonly H265_LEVEL_6: H265Level;
|
|
96
|
+
/** Level 6.1 */
|
|
97
|
+
static readonly H265_LEVEL_6_1: H265Level;
|
|
98
|
+
/** Level 6.2 */
|
|
99
|
+
static readonly H265_LEVEL_6_2: H265Level;
|
|
100
|
+
/** Auto-select the level based on the encode configuration */
|
|
101
|
+
static readonly H265_LEVEL_AUTO: H265Level;
|
|
102
|
+
/** A value not yet modelled by AWS CDK. */
|
|
103
|
+
static of(value: string): H265Level;
|
|
104
|
+
/** The underlying string value passed to CloudFormation. */
|
|
105
|
+
readonly value: string;
|
|
106
|
+
private constructor();
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* AV1 level.
|
|
110
|
+
*/
|
|
111
|
+
export declare class Av1Level {
|
|
112
|
+
/** Level 2 */
|
|
113
|
+
static readonly AV1_LEVEL_2: Av1Level;
|
|
114
|
+
/** Level 2.1 */
|
|
115
|
+
static readonly AV1_LEVEL_2_1: Av1Level;
|
|
116
|
+
/** Level 3 */
|
|
117
|
+
static readonly AV1_LEVEL_3: Av1Level;
|
|
118
|
+
/** Level 3.1 */
|
|
119
|
+
static readonly AV1_LEVEL_3_1: Av1Level;
|
|
120
|
+
/** Level 4 */
|
|
121
|
+
static readonly AV1_LEVEL_4: Av1Level;
|
|
122
|
+
/** Level 4.1 */
|
|
123
|
+
static readonly AV1_LEVEL_4_1: Av1Level;
|
|
124
|
+
/** Level 5 */
|
|
125
|
+
static readonly AV1_LEVEL_5: Av1Level;
|
|
126
|
+
/** Level 5.1 */
|
|
127
|
+
static readonly AV1_LEVEL_5_1: Av1Level;
|
|
128
|
+
/** Level 5.2 */
|
|
129
|
+
static readonly AV1_LEVEL_5_2: Av1Level;
|
|
130
|
+
/** Level 5.3 */
|
|
131
|
+
static readonly AV1_LEVEL_5_3: Av1Level;
|
|
132
|
+
/** Level 6 */
|
|
133
|
+
static readonly AV1_LEVEL_6: Av1Level;
|
|
134
|
+
/** Level 6.1 */
|
|
135
|
+
static readonly AV1_LEVEL_6_1: Av1Level;
|
|
136
|
+
/** Level 6.2 */
|
|
137
|
+
static readonly AV1_LEVEL_6_2: Av1Level;
|
|
138
|
+
/** Level 6.3 */
|
|
139
|
+
static readonly AV1_LEVEL_6_3: Av1Level;
|
|
140
|
+
/** Auto-select the level based on the encode configuration */
|
|
141
|
+
static readonly AV1_LEVEL_AUTO: Av1Level;
|
|
142
|
+
/** A value not yet modelled by AWS CDK. */
|
|
143
|
+
static of(value: string): Av1Level;
|
|
144
|
+
/** The underlying string value passed to CloudFormation. */
|
|
145
|
+
readonly value: string;
|
|
146
|
+
private constructor();
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* H.264 adaptive quantization strength.
|
|
150
|
+
*/
|
|
151
|
+
export declare class H264AdaptiveQuantization {
|
|
152
|
+
/** Auto */
|
|
153
|
+
static readonly AUTO: H264AdaptiveQuantization;
|
|
154
|
+
/** High */
|
|
155
|
+
static readonly HIGH: H264AdaptiveQuantization;
|
|
156
|
+
/** Higher */
|
|
157
|
+
static readonly HIGHER: H264AdaptiveQuantization;
|
|
158
|
+
/** Low */
|
|
159
|
+
static readonly LOW: H264AdaptiveQuantization;
|
|
160
|
+
/** Max */
|
|
161
|
+
static readonly MAX: H264AdaptiveQuantization;
|
|
162
|
+
/** Medium */
|
|
163
|
+
static readonly MEDIUM: H264AdaptiveQuantization;
|
|
164
|
+
/** Off */
|
|
165
|
+
static readonly OFF: H264AdaptiveQuantization;
|
|
166
|
+
/** A value not yet modelled by AWS CDK. */
|
|
167
|
+
static of(value: string): H264AdaptiveQuantization;
|
|
168
|
+
/** The underlying string value passed to CloudFormation. */
|
|
169
|
+
readonly value: string;
|
|
170
|
+
private constructor();
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* GOP size (keyframe interval). Use the static factory methods to specify in frames or seconds.
|
|
174
|
+
*
|
|
175
|
+
* The value must be greater than zero. When expressed in frames it must be a whole number;
|
|
176
|
+
* when expressed in seconds it may be fractional.
|
|
177
|
+
*/
|
|
178
|
+
export declare class GopSize {
|
|
179
|
+
/** GOP size in seconds. May be fractional (e.g. `1.5`). */
|
|
180
|
+
static seconds(value: number): GopSize;
|
|
181
|
+
/** GOP size in frames. Must be a whole number. */
|
|
182
|
+
static frames(value: number): GopSize;
|
|
183
|
+
private constructor();
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* AFD signaling mode.
|
|
187
|
+
*/
|
|
188
|
+
export declare class AfdSignaling {
|
|
189
|
+
/** Auto — preserve input AFD value */
|
|
190
|
+
static readonly AUTO: AfdSignaling;
|
|
191
|
+
/** Fixed — use the value from fixedAfd */
|
|
192
|
+
static readonly FIXED: AfdSignaling;
|
|
193
|
+
/** None — do not write AFD */
|
|
194
|
+
static readonly NONE: AfdSignaling;
|
|
195
|
+
/** A value not yet modelled by AWS CDK. */
|
|
196
|
+
static of(value: string): AfdSignaling;
|
|
197
|
+
/** The underlying string value passed to CloudFormation. */
|
|
198
|
+
readonly value: string;
|
|
199
|
+
private constructor();
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* Color metadata inclusion.
|
|
203
|
+
*/
|
|
204
|
+
export declare class ColorMetadata {
|
|
205
|
+
/** Ignore — do not include color metadata */
|
|
206
|
+
static readonly IGNORE: ColorMetadata;
|
|
207
|
+
/** Insert — include color metadata */
|
|
208
|
+
static readonly INSERT: ColorMetadata;
|
|
209
|
+
/** A value not yet modelled by AWS CDK. */
|
|
210
|
+
static of(value: string): ColorMetadata;
|
|
211
|
+
/** The underlying string value passed to CloudFormation. */
|
|
212
|
+
readonly value: string;
|
|
213
|
+
private constructor();
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* Scan type for the output video.
|
|
217
|
+
*/
|
|
218
|
+
export declare class ScanType {
|
|
219
|
+
/** Interlaced (top field first) */
|
|
220
|
+
static readonly INTERLACED: ScanType;
|
|
221
|
+
/** Progressive */
|
|
222
|
+
static readonly PROGRESSIVE: ScanType;
|
|
223
|
+
/** A value not yet modelled by AWS CDK. */
|
|
224
|
+
static of(value: string): ScanType;
|
|
225
|
+
/** The underlying string value passed to CloudFormation. */
|
|
226
|
+
readonly value: string;
|
|
227
|
+
private constructor();
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* Flicker adaptive quantization.
|
|
231
|
+
*/
|
|
232
|
+
export declare class FlickerAq {
|
|
233
|
+
/** Enabled */
|
|
234
|
+
static readonly ENABLED: FlickerAq;
|
|
235
|
+
/** Disabled */
|
|
236
|
+
static readonly DISABLED: FlickerAq;
|
|
237
|
+
/** A value not yet modelled by AWS CDK. */
|
|
238
|
+
static of(value: string): FlickerAq;
|
|
239
|
+
/** The underlying string value passed to CloudFormation. */
|
|
240
|
+
readonly value: string;
|
|
241
|
+
private constructor();
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* GOP B-frame reference.
|
|
245
|
+
*/
|
|
246
|
+
export declare class GopBReference {
|
|
247
|
+
/** Enabled */
|
|
248
|
+
static readonly ENABLED: GopBReference;
|
|
249
|
+
/** Disabled */
|
|
250
|
+
static readonly DISABLED: GopBReference;
|
|
251
|
+
/** A value not yet modelled by AWS CDK. */
|
|
252
|
+
static of(value: string): GopBReference;
|
|
253
|
+
/** The underlying string value passed to CloudFormation. */
|
|
254
|
+
readonly value: string;
|
|
255
|
+
private constructor();
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* Lookahead rate control.
|
|
259
|
+
*/
|
|
260
|
+
export declare class LookAheadRateControl {
|
|
261
|
+
/** High — better quality, more latency and memory */
|
|
262
|
+
static readonly HIGH: LookAheadRateControl;
|
|
263
|
+
/** Low — less latency and memory */
|
|
264
|
+
static readonly LOW: LookAheadRateControl;
|
|
265
|
+
/** Medium */
|
|
266
|
+
static readonly MEDIUM: LookAheadRateControl;
|
|
267
|
+
/** A value not yet modelled by AWS CDK. */
|
|
268
|
+
static of(value: string): LookAheadRateControl;
|
|
269
|
+
/** The underlying string value passed to CloudFormation. */
|
|
270
|
+
readonly value: string;
|
|
271
|
+
private constructor();
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* Timecode insertion mode.
|
|
275
|
+
*
|
|
276
|
+
* @remarks This controls timecode insertion in the output elementary stream.
|
|
277
|
+
* To preserve source timecodes, set `TimecodeSource.EMBEDDED` on the channel's `timecodeConfig`.
|
|
278
|
+
*/
|
|
279
|
+
export declare class TimecodeInsertion {
|
|
280
|
+
/** Disabled — do not include timecodes */
|
|
281
|
+
static readonly DISABLED: TimecodeInsertion;
|
|
282
|
+
/** PIC_TIMING_SEI — pass through picture timing SEI messages */
|
|
283
|
+
static readonly PIC_TIMING_SEI: TimecodeInsertion;
|
|
284
|
+
/** A value not yet modelled by AWS CDK. */
|
|
285
|
+
static of(value: string): TimecodeInsertion;
|
|
286
|
+
/** The underlying string value passed to CloudFormation. */
|
|
287
|
+
readonly value: string;
|
|
288
|
+
private constructor();
|
|
289
|
+
}
|
|
290
|
+
/**
|
|
291
|
+
* Sub-GOP length mode.
|
|
292
|
+
*/
|
|
293
|
+
export declare class SubgopLength {
|
|
294
|
+
/** Dynamic — let MediaLive optimize B-frames per sub-GOP */
|
|
295
|
+
static readonly DYNAMIC: SubgopLength;
|
|
296
|
+
/** Fixed — use gopNumBFrames in each sub-GOP */
|
|
297
|
+
static readonly FIXED: SubgopLength;
|
|
298
|
+
/** A value not yet modelled by AWS CDK. */
|
|
299
|
+
static of(value: string): SubgopLength;
|
|
300
|
+
/** The underlying string value passed to CloudFormation. */
|
|
301
|
+
readonly value: string;
|
|
302
|
+
private constructor();
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* H.264 entropy encoding mode.
|
|
306
|
+
*/
|
|
307
|
+
export declare class H264EntropyEncoding {
|
|
308
|
+
/** CABAC (requires Main or High profile) */
|
|
309
|
+
static readonly CABAC: H264EntropyEncoding;
|
|
310
|
+
/** CAVLC */
|
|
311
|
+
static readonly CAVLC: H264EntropyEncoding;
|
|
312
|
+
/** A value not yet modelled by AWS CDK. */
|
|
313
|
+
static of(value: string): H264EntropyEncoding;
|
|
314
|
+
/** The underlying string value passed to CloudFormation. */
|
|
315
|
+
readonly value: string;
|
|
316
|
+
private constructor();
|
|
317
|
+
}
|
|
318
|
+
/**
|
|
319
|
+
* H.264 force field pictures.
|
|
320
|
+
*/
|
|
321
|
+
export declare class H264ForceFieldPictures {
|
|
322
|
+
/** Enabled — force coding on a field basis */
|
|
323
|
+
static readonly ENABLED: H264ForceFieldPictures;
|
|
324
|
+
/** Disabled — let encoder decide */
|
|
325
|
+
static readonly DISABLED: H264ForceFieldPictures;
|
|
326
|
+
/** A value not yet modelled by AWS CDK. */
|
|
327
|
+
static of(value: string): H264ForceFieldPictures;
|
|
328
|
+
/** The underlying string value passed to CloudFormation. */
|
|
329
|
+
readonly value: string;
|
|
330
|
+
private constructor();
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
* H.264 syntax mode.
|
|
334
|
+
*/
|
|
335
|
+
export declare class H264Syntax {
|
|
336
|
+
/** Default */
|
|
337
|
+
static readonly DEFAULT: H264Syntax;
|
|
338
|
+
/** RP-2027 compliant */
|
|
339
|
+
static readonly RP2027: H264Syntax;
|
|
340
|
+
/** A value not yet modelled by AWS CDK. */
|
|
341
|
+
static of(value: string): H264Syntax;
|
|
342
|
+
/** The underlying string value passed to CloudFormation. */
|
|
343
|
+
readonly value: string;
|
|
344
|
+
private constructor();
|
|
345
|
+
}
|
|
346
|
+
/**
|
|
347
|
+
* H.264 quality level.
|
|
348
|
+
*/
|
|
349
|
+
export declare class H264QualityLevel {
|
|
350
|
+
/** Enhanced quality (may incur additional cost) */
|
|
351
|
+
static readonly ENHANCED_QUALITY: H264QualityLevel;
|
|
352
|
+
/** Standard quality */
|
|
353
|
+
static readonly STANDARD_QUALITY: H264QualityLevel;
|
|
354
|
+
/** A value not yet modelled by AWS CDK. */
|
|
355
|
+
static of(value: string): H264QualityLevel;
|
|
356
|
+
/** The underlying string value passed to CloudFormation. */
|
|
357
|
+
readonly value: string;
|
|
358
|
+
private constructor();
|
|
359
|
+
}
|
|
360
|
+
/**
|
|
361
|
+
* H.265 adaptive quantization.
|
|
362
|
+
*/
|
|
363
|
+
export declare class H265AdaptiveQuantization {
|
|
364
|
+
/** Auto */
|
|
365
|
+
static readonly AUTO: H265AdaptiveQuantization;
|
|
366
|
+
/** High */
|
|
367
|
+
static readonly HIGH: H265AdaptiveQuantization;
|
|
368
|
+
/** Higher */
|
|
369
|
+
static readonly HIGHER: H265AdaptiveQuantization;
|
|
370
|
+
/** Low */
|
|
371
|
+
static readonly LOW: H265AdaptiveQuantization;
|
|
372
|
+
/** Max */
|
|
373
|
+
static readonly MAX: H265AdaptiveQuantization;
|
|
374
|
+
/** Medium */
|
|
375
|
+
static readonly MEDIUM: H265AdaptiveQuantization;
|
|
376
|
+
/** Off */
|
|
377
|
+
static readonly OFF: H265AdaptiveQuantization;
|
|
378
|
+
/** A value not yet modelled by AWS CDK. */
|
|
379
|
+
static of(value: string): H265AdaptiveQuantization;
|
|
380
|
+
/** The underlying string value passed to CloudFormation. */
|
|
381
|
+
readonly value: string;
|
|
382
|
+
private constructor();
|
|
383
|
+
}
|
|
384
|
+
/**
|
|
385
|
+
* H.265 alternative transfer function.
|
|
386
|
+
*/
|
|
387
|
+
export declare class H265AlternativeTransferFunction {
|
|
388
|
+
/** Insert */
|
|
389
|
+
static readonly INSERT: H265AlternativeTransferFunction;
|
|
390
|
+
/** Omit */
|
|
391
|
+
static readonly OMIT: H265AlternativeTransferFunction;
|
|
392
|
+
/** A value not yet modelled by AWS CDK. */
|
|
393
|
+
static of(value: string): H265AlternativeTransferFunction;
|
|
394
|
+
/** The underlying string value passed to CloudFormation. */
|
|
395
|
+
readonly value: string;
|
|
396
|
+
private constructor();
|
|
397
|
+
}
|
|
398
|
+
/**
|
|
399
|
+
* H.265 deblocking filter.
|
|
400
|
+
*/
|
|
401
|
+
export declare class H265Deblocking {
|
|
402
|
+
/** Disabled */
|
|
403
|
+
static readonly DISABLED: H265Deblocking;
|
|
404
|
+
/** Enabled */
|
|
405
|
+
static readonly ENABLED: H265Deblocking;
|
|
406
|
+
/** A value not yet modelled by AWS CDK. */
|
|
407
|
+
static of(value: string): H265Deblocking;
|
|
408
|
+
/** The underlying string value passed to CloudFormation. */
|
|
409
|
+
readonly value: string;
|
|
410
|
+
private constructor();
|
|
411
|
+
}
|
|
412
|
+
/**
|
|
413
|
+
* H.265 motion vector over picture boundaries.
|
|
414
|
+
*/
|
|
415
|
+
export declare class H265MvOverPictureBoundaries {
|
|
416
|
+
/** Disabled */
|
|
417
|
+
static readonly DISABLED: H265MvOverPictureBoundaries;
|
|
418
|
+
/** Enabled */
|
|
419
|
+
static readonly ENABLED: H265MvOverPictureBoundaries;
|
|
420
|
+
/** A value not yet modelled by AWS CDK. */
|
|
421
|
+
static of(value: string): H265MvOverPictureBoundaries;
|
|
422
|
+
/** The underlying string value passed to CloudFormation. */
|
|
423
|
+
readonly value: string;
|
|
424
|
+
private constructor();
|
|
425
|
+
}
|
|
426
|
+
/**
|
|
427
|
+
* H.265 motion vector temporal predictor.
|
|
428
|
+
*/
|
|
429
|
+
export declare class H265MvTemporalPredictor {
|
|
430
|
+
/** Disabled */
|
|
431
|
+
static readonly DISABLED: H265MvTemporalPredictor;
|
|
432
|
+
/** Enabled */
|
|
433
|
+
static readonly ENABLED: H265MvTemporalPredictor;
|
|
434
|
+
/** A value not yet modelled by AWS CDK. */
|
|
435
|
+
static of(value: string): H265MvTemporalPredictor;
|
|
436
|
+
/** The underlying string value passed to CloudFormation. */
|
|
437
|
+
readonly value: string;
|
|
438
|
+
private constructor();
|
|
439
|
+
}
|
|
440
|
+
/**
|
|
441
|
+
* H.265 tile padding.
|
|
442
|
+
*/
|
|
443
|
+
export declare class H265TilePadding {
|
|
444
|
+
/** None */
|
|
445
|
+
static readonly NONE: H265TilePadding;
|
|
446
|
+
/** Padded */
|
|
447
|
+
static readonly PADDED: H265TilePadding;
|
|
448
|
+
/** A value not yet modelled by AWS CDK. */
|
|
449
|
+
static of(value: string): H265TilePadding;
|
|
450
|
+
/** The underlying string value passed to CloudFormation. */
|
|
451
|
+
readonly value: string;
|
|
452
|
+
private constructor();
|
|
453
|
+
}
|
|
454
|
+
/**
|
|
455
|
+
* H.265 treeblock size.
|
|
456
|
+
*/
|
|
457
|
+
export declare class H265TreeblockSize {
|
|
458
|
+
/** Auto */
|
|
459
|
+
static readonly AUTO: H265TreeblockSize;
|
|
460
|
+
/** 32x32 */
|
|
461
|
+
static readonly TREE_SIZE_32X32: H265TreeblockSize;
|
|
462
|
+
/** A value not yet modelled by AWS CDK. */
|
|
463
|
+
static of(value: string): H265TreeblockSize;
|
|
464
|
+
/** The underlying string value passed to CloudFormation. */
|
|
465
|
+
readonly value: string;
|
|
466
|
+
private constructor();
|
|
467
|
+
}
|
|
468
|
+
/**
|
|
469
|
+
* AV1 bit depth.
|
|
470
|
+
*/
|
|
471
|
+
export declare class Av1BitDepth {
|
|
472
|
+
/** 8-bit */
|
|
473
|
+
static readonly BIT_DEPTH_8: Av1BitDepth;
|
|
474
|
+
/** 10-bit */
|
|
475
|
+
static readonly BIT_DEPTH_10: Av1BitDepth;
|
|
476
|
+
/** A value not yet modelled by AWS CDK. */
|
|
477
|
+
static of(value: string): Av1BitDepth;
|
|
478
|
+
/** The underlying string value passed to CloudFormation. */
|
|
479
|
+
readonly value: string;
|
|
480
|
+
private constructor();
|
|
481
|
+
}
|
|
482
|
+
/**
|
|
483
|
+
* AV1 scene change detection.
|
|
484
|
+
*/
|
|
485
|
+
export declare class Av1SceneChangeDetect {
|
|
486
|
+
/** Disabled */
|
|
487
|
+
static readonly DISABLED: Av1SceneChangeDetect;
|
|
488
|
+
/** Enabled */
|
|
489
|
+
static readonly ENABLED: Av1SceneChangeDetect;
|
|
490
|
+
/** A value not yet modelled by AWS CDK. */
|
|
491
|
+
static of(value: string): Av1SceneChangeDetect;
|
|
492
|
+
/** The underlying string value passed to CloudFormation. */
|
|
493
|
+
readonly value: string;
|
|
494
|
+
private constructor();
|
|
495
|
+
}
|
|
496
|
+
/**
|
|
497
|
+
* AV1 spatial adaptive quantization.
|
|
498
|
+
*/
|
|
499
|
+
export declare class Av1SpatialAq {
|
|
500
|
+
/** Disabled */
|
|
501
|
+
static readonly DISABLED: Av1SpatialAq;
|
|
502
|
+
/** Enabled */
|
|
503
|
+
static readonly ENABLED: Av1SpatialAq;
|
|
504
|
+
/** A value not yet modelled by AWS CDK. */
|
|
505
|
+
static of(value: string): Av1SpatialAq;
|
|
506
|
+
/** The underlying string value passed to CloudFormation. */
|
|
507
|
+
readonly value: string;
|
|
508
|
+
private constructor();
|
|
509
|
+
}
|
|
510
|
+
/**
|
|
511
|
+
* AV1 temporal adaptive quantization.
|
|
512
|
+
*/
|
|
513
|
+
export declare class Av1TemporalAq {
|
|
514
|
+
/** Disabled */
|
|
515
|
+
static readonly DISABLED: Av1TemporalAq;
|
|
516
|
+
/** Enabled */
|
|
517
|
+
static readonly ENABLED: Av1TemporalAq;
|
|
518
|
+
/** A value not yet modelled by AWS CDK. */
|
|
519
|
+
static of(value: string): Av1TemporalAq;
|
|
520
|
+
/** The underlying string value passed to CloudFormation. */
|
|
521
|
+
readonly value: string;
|
|
522
|
+
private constructor();
|
|
523
|
+
}
|
|
524
|
+
/**
|
|
525
|
+
* H.264 scene change detection.
|
|
526
|
+
*/
|
|
527
|
+
export declare class H264SceneChangeDetect {
|
|
528
|
+
/** Disabled */
|
|
529
|
+
static readonly DISABLED: H264SceneChangeDetect;
|
|
530
|
+
/** Enabled */
|
|
531
|
+
static readonly ENABLED: H264SceneChangeDetect;
|
|
532
|
+
/** A value not yet modelled by AWS CDK. */
|
|
533
|
+
static of(value: string): H264SceneChangeDetect;
|
|
534
|
+
/** The underlying string value passed to CloudFormation. */
|
|
535
|
+
readonly value: string;
|
|
536
|
+
private constructor();
|
|
537
|
+
}
|
|
538
|
+
/**
|
|
539
|
+
* H.264 spatial adaptive quantization.
|
|
540
|
+
*/
|
|
541
|
+
export declare class H264SpatialAq {
|
|
542
|
+
/** Disabled */
|
|
543
|
+
static readonly DISABLED: H264SpatialAq;
|
|
544
|
+
/** Enabled */
|
|
545
|
+
static readonly ENABLED: H264SpatialAq;
|
|
546
|
+
/** A value not yet modelled by AWS CDK. */
|
|
547
|
+
static of(value: string): H264SpatialAq;
|
|
548
|
+
/** The underlying string value passed to CloudFormation. */
|
|
549
|
+
readonly value: string;
|
|
550
|
+
private constructor();
|
|
551
|
+
}
|
|
552
|
+
/**
|
|
553
|
+
* H.264 temporal adaptive quantization.
|
|
554
|
+
*/
|
|
555
|
+
export declare class H264TemporalAq {
|
|
556
|
+
/** Disabled */
|
|
557
|
+
static readonly DISABLED: H264TemporalAq;
|
|
558
|
+
/** Enabled */
|
|
559
|
+
static readonly ENABLED: H264TemporalAq;
|
|
560
|
+
/** A value not yet modelled by AWS CDK. */
|
|
561
|
+
static of(value: string): H264TemporalAq;
|
|
562
|
+
/** The underlying string value passed to CloudFormation. */
|
|
563
|
+
readonly value: string;
|
|
564
|
+
private constructor();
|
|
565
|
+
}
|
|
566
|
+
/**
|
|
567
|
+
* H.265 scene change detection.
|
|
568
|
+
*/
|
|
569
|
+
export declare class H265SceneChangeDetect {
|
|
570
|
+
/** Disabled */
|
|
571
|
+
static readonly DISABLED: H265SceneChangeDetect;
|
|
572
|
+
/** Enabled */
|
|
573
|
+
static readonly ENABLED: H265SceneChangeDetect;
|
|
574
|
+
/** A value not yet modelled by AWS CDK. */
|
|
575
|
+
static of(value: string): H265SceneChangeDetect;
|
|
576
|
+
/** The underlying string value passed to CloudFormation. */
|
|
577
|
+
readonly value: string;
|
|
578
|
+
private constructor();
|
|
579
|
+
}
|
|
580
|
+
/**
|
|
581
|
+
* AV1 timecode insertion.
|
|
582
|
+
*/
|
|
583
|
+
export declare class Av1TimecodeInsertion {
|
|
584
|
+
/** Disabled — do not insert timecodes */
|
|
585
|
+
static readonly DISABLED: Av1TimecodeInsertion;
|
|
586
|
+
/**
|
|
587
|
+
* Include timecodes as a metadata OBU (Open Bitstream Unit) of type
|
|
588
|
+
* `METADATA_TYPE_TIMECODE`, based on the source specified in the channel's timecode config.
|
|
589
|
+
*/
|
|
590
|
+
static readonly METADATA_OBU: Av1TimecodeInsertion;
|
|
591
|
+
/** A value not yet modelled by AWS CDK. */
|
|
592
|
+
static of(value: string): Av1TimecodeInsertion;
|
|
593
|
+
/** The underlying string value passed to CloudFormation. */
|
|
594
|
+
readonly value: string;
|
|
595
|
+
private constructor();
|
|
596
|
+
}
|
|
597
|
+
/**
|
|
598
|
+
* Font size for timecode burn-in.
|
|
599
|
+
*/
|
|
600
|
+
export declare class TimecodeBurninFontSize {
|
|
601
|
+
/** Extra small */
|
|
602
|
+
static readonly EXTRA_SMALL_10: TimecodeBurninFontSize;
|
|
603
|
+
/** Large */
|
|
604
|
+
static readonly LARGE_48: TimecodeBurninFontSize;
|
|
605
|
+
/** Medium */
|
|
606
|
+
static readonly MEDIUM_32: TimecodeBurninFontSize;
|
|
607
|
+
/** Small */
|
|
608
|
+
static readonly SMALL_16: TimecodeBurninFontSize;
|
|
609
|
+
/** A value not yet modelled by AWS CDK. */
|
|
610
|
+
static of(value: string): TimecodeBurninFontSize;
|
|
611
|
+
/** The underlying string value passed to CloudFormation. */
|
|
612
|
+
readonly value: string;
|
|
613
|
+
private constructor();
|
|
614
|
+
}
|
|
615
|
+
/**
|
|
616
|
+
* Position for timecode burn-in overlay.
|
|
617
|
+
*/
|
|
618
|
+
export declare class TimecodeBurninPosition {
|
|
619
|
+
/** Bottom center */
|
|
620
|
+
static readonly BOTTOM_CENTER: TimecodeBurninPosition;
|
|
621
|
+
/** Bottom left */
|
|
622
|
+
static readonly BOTTOM_LEFT: TimecodeBurninPosition;
|
|
623
|
+
/** Bottom right */
|
|
624
|
+
static readonly BOTTOM_RIGHT: TimecodeBurninPosition;
|
|
625
|
+
/** Middle center */
|
|
626
|
+
static readonly MIDDLE_CENTER: TimecodeBurninPosition;
|
|
627
|
+
/** Middle left */
|
|
628
|
+
static readonly MIDDLE_LEFT: TimecodeBurninPosition;
|
|
629
|
+
/** Middle right */
|
|
630
|
+
static readonly MIDDLE_RIGHT: TimecodeBurninPosition;
|
|
631
|
+
/** Top center */
|
|
632
|
+
static readonly TOP_CENTER: TimecodeBurninPosition;
|
|
633
|
+
/** Top left */
|
|
634
|
+
static readonly TOP_LEFT: TimecodeBurninPosition;
|
|
635
|
+
/** Top right */
|
|
636
|
+
static readonly TOP_RIGHT: TimecodeBurninPosition;
|
|
637
|
+
/** A value not yet modelled by AWS CDK. */
|
|
638
|
+
static of(value: string): TimecodeBurninPosition;
|
|
639
|
+
/** The underlying string value passed to CloudFormation. */
|
|
640
|
+
readonly value: string;
|
|
641
|
+
private constructor();
|
|
642
|
+
}
|
|
643
|
+
/**
|
|
644
|
+
* Settings for burning a timecode overlay into the video output.
|
|
645
|
+
*/
|
|
646
|
+
export interface TimecodeBurninSettings {
|
|
647
|
+
/**
|
|
648
|
+
* The font size of the timecode overlay.
|
|
649
|
+
* @default - service default
|
|
650
|
+
*/
|
|
651
|
+
readonly fontSize?: TimecodeBurninFontSize;
|
|
652
|
+
/**
|
|
653
|
+
* The position of the timecode overlay on the video.
|
|
654
|
+
* @default - service default
|
|
655
|
+
*/
|
|
656
|
+
readonly position?: TimecodeBurninPosition;
|
|
657
|
+
/**
|
|
658
|
+
* A string prepended to the timecode (e.g. a channel name).
|
|
659
|
+
* @default - no prefix
|
|
660
|
+
*/
|
|
661
|
+
readonly prefix?: string;
|
|
662
|
+
}
|
|
663
|
+
/** Properties for CBR rate control. */
|
|
664
|
+
export interface CbrRateControlProps {
|
|
665
|
+
/** The constant bitrate. */
|
|
666
|
+
readonly bitrate: Bitrate;
|
|
667
|
+
}
|
|
668
|
+
/** Properties for VBR rate control. */
|
|
669
|
+
export interface VbrRateControlProps {
|
|
670
|
+
/** The average bitrate. */
|
|
671
|
+
readonly bitrate: Bitrate;
|
|
672
|
+
/** The maximum bitrate. */
|
|
673
|
+
readonly maxBitrate: Bitrate;
|
|
674
|
+
}
|
|
675
|
+
/** Properties for QVBR rate control. */
|
|
676
|
+
export interface QvbrRateControlProps {
|
|
677
|
+
/** The maximum bitrate. */
|
|
678
|
+
readonly maxBitrate: Bitrate;
|
|
679
|
+
/**
|
|
680
|
+
* The QVBR quality level (1-10). Leave unset to let MediaLive infer the target quality from the
|
|
681
|
+
* output resolution and max bitrate.
|
|
682
|
+
* @default - MediaLive infers the quality level from the resolution and max bitrate
|
|
683
|
+
*/
|
|
684
|
+
readonly qvbrQualityLevel?: number;
|
|
685
|
+
}
|
|
686
|
+
/**
|
|
687
|
+
* H.264 rate control. Use the static factory methods to create.
|
|
688
|
+
*/
|
|
689
|
+
export declare class H264RateControl {
|
|
690
|
+
/** Constant bitrate. */
|
|
691
|
+
static cbr(props: CbrRateControlProps): H264RateControl;
|
|
692
|
+
/** Variable bitrate. */
|
|
693
|
+
static vbr(props: VbrRateControlProps): H264RateControl;
|
|
694
|
+
/** Quality-defined variable bitrate. */
|
|
695
|
+
static qvbr(props: QvbrRateControlProps): H264RateControl;
|
|
696
|
+
private constructor();
|
|
697
|
+
}
|
|
698
|
+
/**
|
|
699
|
+
* H.265 rate control. Use the static factory methods to create.
|
|
700
|
+
*/
|
|
701
|
+
export declare class H265RateControl {
|
|
702
|
+
/** Constant bitrate. */
|
|
703
|
+
static cbr(props: CbrRateControlProps): H265RateControl;
|
|
704
|
+
/** Variable bitrate. */
|
|
705
|
+
static vbr(props: VbrRateControlProps): H265RateControl;
|
|
706
|
+
/** Quality-defined variable bitrate. */
|
|
707
|
+
static qvbr(props: QvbrRateControlProps): H265RateControl;
|
|
708
|
+
private constructor();
|
|
709
|
+
}
|
|
710
|
+
/**
|
|
711
|
+
* AV1 rate control. AV1 supports QVBR and CBR.
|
|
712
|
+
*/
|
|
713
|
+
export declare class Av1RateControl {
|
|
714
|
+
/** Quality-defined variable bitrate. */
|
|
715
|
+
static qvbr(props: QvbrRateControlProps): Av1RateControl;
|
|
716
|
+
/** Constant bitrate. */
|
|
717
|
+
static cbr(props: CbrRateControlProps): Av1RateControl;
|
|
718
|
+
private constructor();
|
|
719
|
+
}
|
|
720
|
+
/**
|
|
721
|
+
* Color space settings for H.264 video.
|
|
722
|
+
*/
|
|
723
|
+
export declare class H264ColorSpaceSettings {
|
|
724
|
+
/** Pass through the source color space with no conversion. */
|
|
725
|
+
static passthrough(): H264ColorSpaceSettings;
|
|
726
|
+
/** Convert to Rec.601 color space. */
|
|
727
|
+
static rec601(): H264ColorSpaceSettings;
|
|
728
|
+
/** Convert to Rec.709 color space. */
|
|
729
|
+
static rec709(): H264ColorSpaceSettings;
|
|
730
|
+
private readonly config;
|
|
731
|
+
private constructor();
|
|
732
|
+
}
|
|
733
|
+
/**
|
|
734
|
+
* Properties for HDR10 color space settings.
|
|
735
|
+
*/
|
|
736
|
+
export interface Hdr10SettingsProps {
|
|
737
|
+
/**
|
|
738
|
+
* Maximum Content Light Level — the maximum light level of any single pixel in nits.
|
|
739
|
+
* @default - service default
|
|
740
|
+
*/
|
|
741
|
+
readonly maxCll?: number;
|
|
742
|
+
/**
|
|
743
|
+
* Maximum Frame Average Light Level — the maximum average light level of any single frame in nits.
|
|
744
|
+
* @default - service default
|
|
745
|
+
*/
|
|
746
|
+
readonly maxFall?: number;
|
|
747
|
+
}
|
|
748
|
+
/**
|
|
749
|
+
* Color space settings for H.265 video.
|
|
750
|
+
*/
|
|
751
|
+
export declare class H265ColorSpaceSettings {
|
|
752
|
+
/** Pass through the source color space with no conversion. */
|
|
753
|
+
static passthrough(): H265ColorSpaceSettings;
|
|
754
|
+
/** Dolby Vision 8.1 color space. */
|
|
755
|
+
static dolbyVision81(): H265ColorSpaceSettings;
|
|
756
|
+
/** HDR10 color space. */
|
|
757
|
+
static hdr10(props?: Hdr10SettingsProps): H265ColorSpaceSettings;
|
|
758
|
+
/** HLG 2020 color space. */
|
|
759
|
+
static hlg2020(): H265ColorSpaceSettings;
|
|
760
|
+
/** Convert to Rec.601 color space. */
|
|
761
|
+
static rec601(): H265ColorSpaceSettings;
|
|
762
|
+
/** Convert to Rec.709 color space. */
|
|
763
|
+
static rec709(): H265ColorSpaceSettings;
|
|
764
|
+
private readonly config;
|
|
765
|
+
private constructor();
|
|
766
|
+
}
|
|
767
|
+
/**
|
|
768
|
+
* Color space settings for AV1 video.
|
|
769
|
+
*/
|
|
770
|
+
export declare class Av1ColorSpaceSettings {
|
|
771
|
+
/** Pass through the source color space with no conversion. */
|
|
772
|
+
static passthrough(): Av1ColorSpaceSettings;
|
|
773
|
+
/** HDR10 color space. */
|
|
774
|
+
static hdr10(props?: Hdr10SettingsProps): Av1ColorSpaceSettings;
|
|
775
|
+
/** HLG 2020 color space. */
|
|
776
|
+
static hlg2020(): Av1ColorSpaceSettings;
|
|
777
|
+
/** Convert to Rec.601 color space. */
|
|
778
|
+
static rec601(): Av1ColorSpaceSettings;
|
|
779
|
+
/** Convert to Rec.709 color space. */
|
|
780
|
+
static rec709(): Av1ColorSpaceSettings;
|
|
781
|
+
private readonly config;
|
|
782
|
+
private constructor();
|
|
783
|
+
}
|
|
784
|
+
/**
|
|
785
|
+
* Post-filter sharpening for temporal filter.
|
|
786
|
+
*/
|
|
787
|
+
export declare class TemporalFilterPostFilterSharpening {
|
|
788
|
+
/** Auto */
|
|
789
|
+
static readonly AUTO: TemporalFilterPostFilterSharpening;
|
|
790
|
+
/** Disabled */
|
|
791
|
+
static readonly DISABLED: TemporalFilterPostFilterSharpening;
|
|
792
|
+
/** Enabled */
|
|
793
|
+
static readonly ENABLED: TemporalFilterPostFilterSharpening;
|
|
794
|
+
/** A value not yet modelled by AWS CDK. */
|
|
795
|
+
static of(value: string): TemporalFilterPostFilterSharpening;
|
|
796
|
+
/** The underlying string value passed to CloudFormation. */
|
|
797
|
+
readonly value: string;
|
|
798
|
+
private constructor();
|
|
799
|
+
}
|
|
800
|
+
/**
|
|
801
|
+
* Temporal filter strength.
|
|
802
|
+
*/
|
|
803
|
+
export declare class TemporalFilterStrength {
|
|
804
|
+
/** Auto */
|
|
805
|
+
static readonly AUTO: TemporalFilterStrength;
|
|
806
|
+
/** Strength 1 (recommended) */
|
|
807
|
+
static readonly STRENGTH_1: TemporalFilterStrength;
|
|
808
|
+
/** Strength 2 (recommended) */
|
|
809
|
+
static readonly STRENGTH_2: TemporalFilterStrength;
|
|
810
|
+
/** Strength 3 */
|
|
811
|
+
static readonly STRENGTH_3: TemporalFilterStrength;
|
|
812
|
+
/** Strength 4 */
|
|
813
|
+
static readonly STRENGTH_4: TemporalFilterStrength;
|
|
814
|
+
/** Strength 5 */
|
|
815
|
+
static readonly STRENGTH_5: TemporalFilterStrength;
|
|
816
|
+
/** Strength 6 */
|
|
817
|
+
static readonly STRENGTH_6: TemporalFilterStrength;
|
|
818
|
+
/** Strength 7 */
|
|
819
|
+
static readonly STRENGTH_7: TemporalFilterStrength;
|
|
820
|
+
/** Strength 8 */
|
|
821
|
+
static readonly STRENGTH_8: TemporalFilterStrength;
|
|
822
|
+
/** Strength 9 */
|
|
823
|
+
static readonly STRENGTH_9: TemporalFilterStrength;
|
|
824
|
+
/** Strength 10 */
|
|
825
|
+
static readonly STRENGTH_10: TemporalFilterStrength;
|
|
826
|
+
/** Strength 11 */
|
|
827
|
+
static readonly STRENGTH_11: TemporalFilterStrength;
|
|
828
|
+
/** Strength 12 */
|
|
829
|
+
static readonly STRENGTH_12: TemporalFilterStrength;
|
|
830
|
+
/** Strength 13 */
|
|
831
|
+
static readonly STRENGTH_13: TemporalFilterStrength;
|
|
832
|
+
/** Strength 14 */
|
|
833
|
+
static readonly STRENGTH_14: TemporalFilterStrength;
|
|
834
|
+
/** Strength 15 */
|
|
835
|
+
static readonly STRENGTH_15: TemporalFilterStrength;
|
|
836
|
+
/** Strength 16 */
|
|
837
|
+
static readonly STRENGTH_16: TemporalFilterStrength;
|
|
838
|
+
/** A value not yet modelled by AWS CDK. */
|
|
839
|
+
static of(value: string): TemporalFilterStrength;
|
|
840
|
+
/** The underlying string value passed to CloudFormation. */
|
|
841
|
+
readonly value: string;
|
|
842
|
+
private constructor();
|
|
843
|
+
}
|
|
844
|
+
/**
|
|
845
|
+
* Post-filter sharpening for bandwidth reduction filter.
|
|
846
|
+
*/
|
|
847
|
+
export declare class BandwidthReductionPostFilterSharpening {
|
|
848
|
+
/** Disabled */
|
|
849
|
+
static readonly DISABLED: BandwidthReductionPostFilterSharpening;
|
|
850
|
+
/** Sharpening level 1 */
|
|
851
|
+
static readonly SHARPENING_1: BandwidthReductionPostFilterSharpening;
|
|
852
|
+
/** Sharpening level 2 */
|
|
853
|
+
static readonly SHARPENING_2: BandwidthReductionPostFilterSharpening;
|
|
854
|
+
/** Sharpening level 3 */
|
|
855
|
+
static readonly SHARPENING_3: BandwidthReductionPostFilterSharpening;
|
|
856
|
+
/** A value not yet modelled by AWS CDK. */
|
|
857
|
+
static of(value: string): BandwidthReductionPostFilterSharpening;
|
|
858
|
+
/** The underlying string value passed to CloudFormation. */
|
|
859
|
+
readonly value: string;
|
|
860
|
+
private constructor();
|
|
861
|
+
}
|
|
862
|
+
/**
|
|
863
|
+
* Bandwidth reduction filter strength.
|
|
864
|
+
*/
|
|
865
|
+
export declare class BandwidthReductionStrength {
|
|
866
|
+
/** Auto */
|
|
867
|
+
static readonly AUTO: BandwidthReductionStrength;
|
|
868
|
+
/** Strength 1 */
|
|
869
|
+
static readonly STRENGTH_1: BandwidthReductionStrength;
|
|
870
|
+
/** Strength 2 */
|
|
871
|
+
static readonly STRENGTH_2: BandwidthReductionStrength;
|
|
872
|
+
/** Strength 3 */
|
|
873
|
+
static readonly STRENGTH_3: BandwidthReductionStrength;
|
|
874
|
+
/** Strength 4 */
|
|
875
|
+
static readonly STRENGTH_4: BandwidthReductionStrength;
|
|
876
|
+
/** A value not yet modelled by AWS CDK. */
|
|
877
|
+
static of(value: string): BandwidthReductionStrength;
|
|
878
|
+
/** The underlying string value passed to CloudFormation. */
|
|
879
|
+
readonly value: string;
|
|
880
|
+
private constructor();
|
|
881
|
+
}
|
|
882
|
+
/**
|
|
883
|
+
* Properties for a temporal filter.
|
|
884
|
+
*/
|
|
885
|
+
export interface TemporalFilterProps {
|
|
886
|
+
/**
|
|
887
|
+
* Post-filter sharpening control.
|
|
888
|
+
*
|
|
889
|
+
* @default - service default
|
|
890
|
+
*/
|
|
891
|
+
readonly postFilterSharpening?: TemporalFilterPostFilterSharpening;
|
|
892
|
+
/**
|
|
893
|
+
* Filter strength. We recommend 1 or 2. Higher values may remove useful detail.
|
|
894
|
+
*
|
|
895
|
+
* @default - service default
|
|
896
|
+
*/
|
|
897
|
+
readonly strength?: TemporalFilterStrength;
|
|
898
|
+
}
|
|
899
|
+
/**
|
|
900
|
+
* Properties for a bandwidth reduction filter.
|
|
901
|
+
*/
|
|
902
|
+
export interface BandwidthReductionFilterProps {
|
|
903
|
+
/**
|
|
904
|
+
* Post-filter sharpening control.
|
|
905
|
+
*
|
|
906
|
+
* @default - service default
|
|
907
|
+
*/
|
|
908
|
+
readonly postFilterSharpening?: BandwidthReductionPostFilterSharpening;
|
|
909
|
+
/**
|
|
910
|
+
* Bandwidth reduction strength.
|
|
911
|
+
*
|
|
912
|
+
* @default - service default
|
|
913
|
+
*/
|
|
914
|
+
readonly strength?: BandwidthReductionStrength;
|
|
915
|
+
}
|
|
916
|
+
/**
|
|
917
|
+
* Filter settings for H.264 video. Supports temporal filter and bandwidth reduction filter.
|
|
918
|
+
*/
|
|
919
|
+
export declare class H264FilterSettings {
|
|
920
|
+
/** Apply a temporal filter. */
|
|
921
|
+
static temporalFilter(props?: TemporalFilterProps): H264FilterSettings;
|
|
922
|
+
/** Apply a bandwidth reduction filter. */
|
|
923
|
+
static bandwidthReductionFilter(props?: BandwidthReductionFilterProps): H264FilterSettings;
|
|
924
|
+
private readonly config;
|
|
925
|
+
private constructor();
|
|
926
|
+
}
|
|
927
|
+
/**
|
|
928
|
+
* Filter settings for H.265 video. Supports temporal filter and bandwidth reduction filter.
|
|
929
|
+
*/
|
|
930
|
+
export declare class H265FilterSettings {
|
|
931
|
+
/** Apply a temporal filter. */
|
|
932
|
+
static temporalFilter(props?: TemporalFilterProps): H265FilterSettings;
|
|
933
|
+
/** Apply a bandwidth reduction filter. */
|
|
934
|
+
static bandwidthReductionFilter(props?: BandwidthReductionFilterProps): H265FilterSettings;
|
|
935
|
+
private readonly config;
|
|
936
|
+
private constructor();
|
|
937
|
+
}
|
|
938
|
+
/**
|
|
939
|
+
* Properties for H.264 codec settings.
|
|
940
|
+
*/
|
|
941
|
+
export interface H264SettingsProps {
|
|
942
|
+
/**
|
|
943
|
+
* The rate control configuration.
|
|
944
|
+
* @default - CBR with no bitrate (service default)
|
|
945
|
+
*/
|
|
946
|
+
readonly rateControl?: H264RateControl;
|
|
947
|
+
/**
|
|
948
|
+
* The H.264 profile.
|
|
949
|
+
* @default H264Profile.MAIN
|
|
950
|
+
*/
|
|
951
|
+
readonly profile?: H264Profile;
|
|
952
|
+
/**
|
|
953
|
+
* The GOP size (keyframe interval).
|
|
954
|
+
* @default GopSize.seconds(1)
|
|
955
|
+
*/
|
|
956
|
+
readonly gopSize?: GopSize;
|
|
957
|
+
/**
|
|
958
|
+
* The number of B-frames between reference frames.
|
|
959
|
+
* @default - service default
|
|
960
|
+
*/
|
|
961
|
+
readonly gopNumBFrames?: number;
|
|
962
|
+
/**
|
|
963
|
+
* The adaptive quantization. This allows intra-frame quantizers to vary to improve visual quality.
|
|
964
|
+
* @default H264AdaptiveQuantization.AUTO
|
|
965
|
+
*/
|
|
966
|
+
readonly adaptiveQuantization?: H264AdaptiveQuantization;
|
|
967
|
+
/**
|
|
968
|
+
* The video frame rate.
|
|
969
|
+
* @default - follow source
|
|
970
|
+
*/
|
|
971
|
+
readonly framerate?: Framerate;
|
|
972
|
+
/**
|
|
973
|
+
* The pixel aspect ratio (PAR) of the video.
|
|
974
|
+
* @default - follow source (or square pixels when framerate is specified)
|
|
975
|
+
*/
|
|
976
|
+
readonly pixelAspectRatio?: PixelAspectRatio;
|
|
977
|
+
/**
|
|
978
|
+
* Timecode burn-in settings to overlay timecode on the video.
|
|
979
|
+
* @default - no timecode burn-in
|
|
980
|
+
*/
|
|
981
|
+
readonly timecodeBurnin?: TimecodeBurninSettings;
|
|
982
|
+
/**
|
|
983
|
+
* Indicates that AFD values will be written into the output stream. If afdSignaling is auto, the
|
|
984
|
+
* system tries to preserve the input AFD value (in cases where multiple AFD values are valid). If
|
|
985
|
+
* set to fixed, the AFD value is the value configured in the fixedAfd parameter.
|
|
986
|
+
* @default AfdSignaling.NONE
|
|
987
|
+
*/
|
|
988
|
+
readonly afdSignaling?: AfdSignaling;
|
|
989
|
+
/**
|
|
990
|
+
* Percentage of the buffer that should initially be filled (HRD buffer model).
|
|
991
|
+
* @default - service default
|
|
992
|
+
*/
|
|
993
|
+
readonly bufFillPct?: number;
|
|
994
|
+
/**
|
|
995
|
+
* Size of the buffer (HRD buffer model) in bits/second.
|
|
996
|
+
* @default - service default
|
|
997
|
+
*/
|
|
998
|
+
readonly bufSize?: number;
|
|
999
|
+
/**
|
|
1000
|
+
* Whether to include color space metadata in the output.
|
|
1001
|
+
* @default - service default
|
|
1002
|
+
*/
|
|
1003
|
+
readonly colorMetadata?: ColorMetadata;
|
|
1004
|
+
/**
|
|
1005
|
+
* Color space settings for the video.
|
|
1006
|
+
*
|
|
1007
|
+
* @default - service default
|
|
1008
|
+
*/
|
|
1009
|
+
readonly colorSpaceSettings?: H264ColorSpaceSettings;
|
|
1010
|
+
/**
|
|
1011
|
+
* The entropy encoding mode. CABAC requires Main or High profile.
|
|
1012
|
+
* @default - service default
|
|
1013
|
+
*/
|
|
1014
|
+
readonly entropyEncoding?: H264EntropyEncoding;
|
|
1015
|
+
/**
|
|
1016
|
+
* Optional video filter settings.
|
|
1017
|
+
*
|
|
1018
|
+
* @default - service default
|
|
1019
|
+
*/
|
|
1020
|
+
readonly filterSettings?: H264FilterSettings;
|
|
1021
|
+
/**
|
|
1022
|
+
* Four-bit AFD value to write on all frames. Only valid when afdSignaling is FIXED.
|
|
1023
|
+
*
|
|
1024
|
+
* Valid values: FIXED_0000, FIXED_0010, FIXED_0011, FIXED_0100, FIXED_1000,
|
|
1025
|
+
* FIXED_1001, FIXED_1010, FIXED_1011, FIXED_1100, FIXED_1101, FIXED_1110, FIXED_1111.
|
|
1026
|
+
*
|
|
1027
|
+
* @default - service default
|
|
1028
|
+
*/
|
|
1029
|
+
readonly fixedAfd?: string;
|
|
1030
|
+
/**
|
|
1031
|
+
* If enabled, adjusts quantization within each frame to reduce flicker on I-frames.
|
|
1032
|
+
* @default FlickerAq.ENABLED
|
|
1033
|
+
*/
|
|
1034
|
+
readonly flickerAq?: FlickerAq;
|
|
1035
|
+
/**
|
|
1036
|
+
* Controls whether coding is on a field basis or frame basis when scan type is interlaced.
|
|
1037
|
+
* @default - service default
|
|
1038
|
+
*/
|
|
1039
|
+
readonly forceFieldPictures?: H264ForceFieldPictures;
|
|
1040
|
+
/**
|
|
1041
|
+
* If enabled, uses reference B frames for GOP structures that have B frames > 1.
|
|
1042
|
+
* @default - service default
|
|
1043
|
+
*/
|
|
1044
|
+
readonly gopBReference?: GopBReference;
|
|
1045
|
+
/**
|
|
1046
|
+
* Frequency of closed GOPs. Set to 1 for streaming so decoders joining mid-stream get an IDR frame quickly.
|
|
1047
|
+
* @default - service default
|
|
1048
|
+
*/
|
|
1049
|
+
readonly gopClosedCadence?: number;
|
|
1050
|
+
/**
|
|
1051
|
+
* The H.264 level.
|
|
1052
|
+
*
|
|
1053
|
+
* Valid values: H264_LEVEL_1, H264_LEVEL_1_1, H264_LEVEL_1_2, H264_LEVEL_1_3,
|
|
1054
|
+
* H264_LEVEL_2, H264_LEVEL_2_1, H264_LEVEL_2_2, H264_LEVEL_3, H264_LEVEL_3_1,
|
|
1055
|
+
* H264_LEVEL_3_2, H264_LEVEL_4, H264_LEVEL_4_1, H264_LEVEL_4_2, H264_LEVEL_5,
|
|
1056
|
+
* H264_LEVEL_5_1, H264_LEVEL_5_2, H264_LEVEL_AUTO.
|
|
1057
|
+
*
|
|
1058
|
+
* @default H264Level.H264_LEVEL_AUTO
|
|
1059
|
+
*/
|
|
1060
|
+
readonly level?: H264Level;
|
|
1061
|
+
/**
|
|
1062
|
+
* Amount of lookahead. Low decreases latency/memory; high can produce better quality.
|
|
1063
|
+
* @default LookAheadRateControl.HIGH
|
|
1064
|
+
*/
|
|
1065
|
+
readonly lookAheadRateControl?: LookAheadRateControl;
|
|
1066
|
+
/**
|
|
1067
|
+
* Only meaningful if sceneChangeDetect is enabled. Enforces separation between
|
|
1068
|
+
* repeated (cadence) I-frames and I-frames inserted by scene change detection.
|
|
1069
|
+
* @default - service default
|
|
1070
|
+
*/
|
|
1071
|
+
readonly minIInterval?: number;
|
|
1072
|
+
/**
|
|
1073
|
+
* The number of reference frames to use. The encoder might use more if B-frames or interlaced encoding is used.
|
|
1074
|
+
* @default - service default
|
|
1075
|
+
*/
|
|
1076
|
+
readonly numRefFrames?: number;
|
|
1077
|
+
/**
|
|
1078
|
+
* Sets the scan type of the output.
|
|
1079
|
+
* @default ScanType.PROGRESSIVE
|
|
1080
|
+
*/
|
|
1081
|
+
readonly scanType?: ScanType;
|
|
1082
|
+
/**
|
|
1083
|
+
* Number of slices per picture. Must be <= macroblock rows (progressive) or half (interlaced).
|
|
1084
|
+
* @default - encoder chooses based on resolution
|
|
1085
|
+
*/
|
|
1086
|
+
readonly slices?: number;
|
|
1087
|
+
/**
|
|
1088
|
+
* Softness. Selects a quantizer matrix; larger values reduce high-frequency content.
|
|
1089
|
+
* @default - service default
|
|
1090
|
+
*/
|
|
1091
|
+
readonly softness?: number;
|
|
1092
|
+
/**
|
|
1093
|
+
* Produces a bitstream compliant with SMPTE RP-2027.
|
|
1094
|
+
* @default H264Syntax.DEFAULT
|
|
1095
|
+
*/
|
|
1096
|
+
readonly syntax?: H264Syntax;
|
|
1097
|
+
/**
|
|
1098
|
+
* Determines how timecodes are inserted into the video elementary stream.
|
|
1099
|
+
* This controls insertion into the output elementary stream. The channel's `timecodeConfig` controls the
|
|
1100
|
+
* source of the timecode used for output.
|
|
1101
|
+
* @default - service default
|
|
1102
|
+
*/
|
|
1103
|
+
readonly timecodeInsertion?: TimecodeInsertion;
|
|
1104
|
+
/**
|
|
1105
|
+
* Minimum QP value. Sets a floor on the quantization parameter.
|
|
1106
|
+
* @default - service default
|
|
1107
|
+
*/
|
|
1108
|
+
readonly minQp?: number;
|
|
1109
|
+
/**
|
|
1110
|
+
* Minimum bitrate in bits/second.
|
|
1111
|
+
* @default - service default
|
|
1112
|
+
*/
|
|
1113
|
+
readonly minBitrate?: number;
|
|
1114
|
+
/**
|
|
1115
|
+
* Quality level. ENHANCED_QUALITY produces slightly better video without increasing bitrate.
|
|
1116
|
+
* @default - service default
|
|
1117
|
+
*/
|
|
1118
|
+
readonly qualityLevel?: H264QualityLevel;
|
|
1119
|
+
/**
|
|
1120
|
+
* Whether scene change detection inserts I-frames on scene changes.
|
|
1121
|
+
* @default H264SceneChangeDetect.ENABLED
|
|
1122
|
+
*/
|
|
1123
|
+
readonly sceneChangeDetect?: H264SceneChangeDetect;
|
|
1124
|
+
/**
|
|
1125
|
+
* Whether spatial adaptive quantization adjusts quantization within each frame based on spatial variation.
|
|
1126
|
+
* @default H264SpatialAq.ENABLED
|
|
1127
|
+
*/
|
|
1128
|
+
readonly spatialAq?: H264SpatialAq;
|
|
1129
|
+
/**
|
|
1130
|
+
* Whether temporal adaptive quantization adjusts quantization based on temporal variation between frames.
|
|
1131
|
+
* @default H264TemporalAq.ENABLED
|
|
1132
|
+
*/
|
|
1133
|
+
readonly temporalAq?: H264TemporalAq;
|
|
1134
|
+
/**
|
|
1135
|
+
* Sub-GOP length mode.
|
|
1136
|
+
* @default - service default
|
|
1137
|
+
*/
|
|
1138
|
+
readonly subgopLength?: SubgopLength;
|
|
1139
|
+
}
|
|
1140
|
+
/**
|
|
1141
|
+
* H.265 profile.
|
|
1142
|
+
*/
|
|
1143
|
+
export declare class H265Profile {
|
|
1144
|
+
/** Main profile */
|
|
1145
|
+
static readonly MAIN: H265Profile;
|
|
1146
|
+
/** Main 10-bit profile */
|
|
1147
|
+
static readonly MAIN_10BIT: H265Profile;
|
|
1148
|
+
/** A value not yet modelled by AWS CDK. */
|
|
1149
|
+
static of(value: string): H265Profile;
|
|
1150
|
+
/** The underlying string value passed to CloudFormation. */
|
|
1151
|
+
readonly value: string;
|
|
1152
|
+
private constructor();
|
|
1153
|
+
}
|
|
1154
|
+
/**
|
|
1155
|
+
* H.265 tier.
|
|
1156
|
+
*/
|
|
1157
|
+
export declare class H265Tier {
|
|
1158
|
+
/** Main tier */
|
|
1159
|
+
static readonly MAIN: H265Tier;
|
|
1160
|
+
/** High tier */
|
|
1161
|
+
static readonly HIGH: H265Tier;
|
|
1162
|
+
/** A value not yet modelled by AWS CDK. */
|
|
1163
|
+
static of(value: string): H265Tier;
|
|
1164
|
+
/** The underlying string value passed to CloudFormation. */
|
|
1165
|
+
readonly value: string;
|
|
1166
|
+
private constructor();
|
|
1167
|
+
}
|
|
1168
|
+
/**
|
|
1169
|
+
* Properties for H.265 codec settings.
|
|
1170
|
+
*/
|
|
1171
|
+
export interface H265SettingsProps {
|
|
1172
|
+
/**
|
|
1173
|
+
* The rate control configuration.
|
|
1174
|
+
* @default - CBR with no bitrate (service default)
|
|
1175
|
+
*/
|
|
1176
|
+
readonly rateControl?: H265RateControl;
|
|
1177
|
+
/**
|
|
1178
|
+
* The H.265 profile.
|
|
1179
|
+
* @default H265Profile.MAIN
|
|
1180
|
+
*/
|
|
1181
|
+
readonly profile?: H265Profile;
|
|
1182
|
+
/**
|
|
1183
|
+
* The H.265 tier.
|
|
1184
|
+
* @default H265Tier.MAIN
|
|
1185
|
+
*/
|
|
1186
|
+
readonly tier?: H265Tier;
|
|
1187
|
+
/**
|
|
1188
|
+
* The GOP size (keyframe interval).
|
|
1189
|
+
* @default GopSize.seconds(1)
|
|
1190
|
+
*/
|
|
1191
|
+
readonly gopSize?: GopSize;
|
|
1192
|
+
/**
|
|
1193
|
+
* The video frame rate. Required for H.265.
|
|
1194
|
+
*/
|
|
1195
|
+
readonly framerate: Framerate;
|
|
1196
|
+
/**
|
|
1197
|
+
* The pixel aspect ratio (PAR) of the video.
|
|
1198
|
+
* @default - square pixels
|
|
1199
|
+
*/
|
|
1200
|
+
readonly pixelAspectRatio?: PixelAspectRatio;
|
|
1201
|
+
/**
|
|
1202
|
+
* Timecode burn-in settings to overlay timecode on the video.
|
|
1203
|
+
* @default - no timecode burn-in
|
|
1204
|
+
*/
|
|
1205
|
+
readonly timecodeBurnin?: TimecodeBurninSettings;
|
|
1206
|
+
/**
|
|
1207
|
+
* The adaptive quantization. Allows intra-frame quantizers to vary to improve visual quality.
|
|
1208
|
+
* @default H265AdaptiveQuantization.AUTO
|
|
1209
|
+
*/
|
|
1210
|
+
readonly adaptiveQuantization?: H265AdaptiveQuantization;
|
|
1211
|
+
/**
|
|
1212
|
+
* AFD signaling mode.
|
|
1213
|
+
* @default AfdSignaling.NONE
|
|
1214
|
+
*/
|
|
1215
|
+
readonly afdSignaling?: AfdSignaling;
|
|
1216
|
+
/**
|
|
1217
|
+
* Whether to insert an Alternative Transfer Function SEI message for backwards compatibility with non-HDR decoders.
|
|
1218
|
+
* @default - service default
|
|
1219
|
+
*/
|
|
1220
|
+
readonly alternativeTransferFunction?: H265AlternativeTransferFunction;
|
|
1221
|
+
/**
|
|
1222
|
+
* Size of buffer (HRD buffer model) in bits.
|
|
1223
|
+
* @default - service default
|
|
1224
|
+
*/
|
|
1225
|
+
readonly bufSize?: number;
|
|
1226
|
+
/**
|
|
1227
|
+
* Whether to include color space metadata in the output.
|
|
1228
|
+
* @default - service default
|
|
1229
|
+
*/
|
|
1230
|
+
readonly colorMetadata?: ColorMetadata;
|
|
1231
|
+
/**
|
|
1232
|
+
* Color space settings for the video.
|
|
1233
|
+
*
|
|
1234
|
+
* @default - service default
|
|
1235
|
+
*/
|
|
1236
|
+
readonly colorSpaceSettings?: H265ColorSpaceSettings;
|
|
1237
|
+
/**
|
|
1238
|
+
* Deblocking filter control.
|
|
1239
|
+
* @default - service default
|
|
1240
|
+
*/
|
|
1241
|
+
readonly deblocking?: H265Deblocking;
|
|
1242
|
+
/**
|
|
1243
|
+
* Optional video filter settings.
|
|
1244
|
+
*
|
|
1245
|
+
* @default - service default
|
|
1246
|
+
*/
|
|
1247
|
+
readonly filterSettings?: H265FilterSettings;
|
|
1248
|
+
/**
|
|
1249
|
+
* Four-bit AFD value to write on all frames. Only valid when afdSignaling is FIXED.
|
|
1250
|
+
*
|
|
1251
|
+
* Valid values: FIXED_0000, FIXED_0010, FIXED_0011, FIXED_0100, FIXED_1000,
|
|
1252
|
+
* FIXED_1001, FIXED_1010, FIXED_1011, FIXED_1100, FIXED_1101, FIXED_1110, FIXED_1111.
|
|
1253
|
+
*
|
|
1254
|
+
* @default - service default
|
|
1255
|
+
*/
|
|
1256
|
+
readonly fixedAfd?: string;
|
|
1257
|
+
/**
|
|
1258
|
+
* If enabled, adjusts quantization within each frame to reduce flicker on I-frames.
|
|
1259
|
+
* @default - service default
|
|
1260
|
+
*/
|
|
1261
|
+
readonly flickerAq?: FlickerAq;
|
|
1262
|
+
/**
|
|
1263
|
+
* If enabled, uses reference B frames for GOP structures that have B frames > 1.
|
|
1264
|
+
* @default - service default
|
|
1265
|
+
*/
|
|
1266
|
+
readonly gopBReference?: GopBReference;
|
|
1267
|
+
/**
|
|
1268
|
+
* Frequency of closed GOPs. Set to 1 for streaming so decoders joining mid-stream get an IDR frame quickly.
|
|
1269
|
+
* @default - service default
|
|
1270
|
+
*/
|
|
1271
|
+
readonly gopClosedCadence?: number;
|
|
1272
|
+
/**
|
|
1273
|
+
* Number of B-frames between reference frames.
|
|
1274
|
+
* @default - service default
|
|
1275
|
+
*/
|
|
1276
|
+
readonly gopNumBFrames?: number;
|
|
1277
|
+
/**
|
|
1278
|
+
* The H.265 level.
|
|
1279
|
+
*
|
|
1280
|
+
* Valid values: H265_LEVEL_1, H265_LEVEL_2, H265_LEVEL_2_1, H265_LEVEL_3,
|
|
1281
|
+
* H265_LEVEL_3_1, H265_LEVEL_4, H265_LEVEL_4_1, H265_LEVEL_5, H265_LEVEL_5_1,
|
|
1282
|
+
* H265_LEVEL_5_2, H265_LEVEL_6, H265_LEVEL_6_1, H265_LEVEL_6_2, H265_LEVEL_AUTO.
|
|
1283
|
+
*
|
|
1284
|
+
* @default - service default (auto)
|
|
1285
|
+
*/
|
|
1286
|
+
readonly level?: H265Level;
|
|
1287
|
+
/**
|
|
1288
|
+
* Amount of lookahead. Low decreases latency/memory; high can produce better quality.
|
|
1289
|
+
* @default - service default
|
|
1290
|
+
*/
|
|
1291
|
+
readonly lookAheadRateControl?: LookAheadRateControl;
|
|
1292
|
+
/**
|
|
1293
|
+
* Only meaningful if sceneChangeDetect is enabled. Enforces separation between
|
|
1294
|
+
* repeated (cadence) I-frames and I-frames inserted by scene change detection.
|
|
1295
|
+
* @default - service default
|
|
1296
|
+
*/
|
|
1297
|
+
readonly minIInterval?: number;
|
|
1298
|
+
/**
|
|
1299
|
+
* Sets the scan type of the output.
|
|
1300
|
+
* @default ScanType.PROGRESSIVE
|
|
1301
|
+
*/
|
|
1302
|
+
readonly scanType?: ScanType;
|
|
1303
|
+
/**
|
|
1304
|
+
* Number of slices per picture.
|
|
1305
|
+
* @default - encoder chooses based on resolution
|
|
1306
|
+
*/
|
|
1307
|
+
readonly slices?: number;
|
|
1308
|
+
/**
|
|
1309
|
+
* Determines how timecodes are inserted into the video elementary stream.
|
|
1310
|
+
* This controls insertion into the output elementary stream. The channel's `timecodeConfig` controls the
|
|
1311
|
+
* source of the timecode used for output.
|
|
1312
|
+
* @default - service default
|
|
1313
|
+
*/
|
|
1314
|
+
readonly timecodeInsertion?: TimecodeInsertion;
|
|
1315
|
+
/**
|
|
1316
|
+
* Minimum QP value.
|
|
1317
|
+
* @default - service default
|
|
1318
|
+
*/
|
|
1319
|
+
readonly minQp?: number;
|
|
1320
|
+
/**
|
|
1321
|
+
* Minimum bitrate in bits/second.
|
|
1322
|
+
* @default - service default
|
|
1323
|
+
*/
|
|
1324
|
+
readonly minBitrate?: number;
|
|
1325
|
+
/**
|
|
1326
|
+
* Whether motion vectors can cross picture boundaries.
|
|
1327
|
+
* @default - service default
|
|
1328
|
+
*/
|
|
1329
|
+
readonly mvOverPictureBoundaries?: H265MvOverPictureBoundaries;
|
|
1330
|
+
/**
|
|
1331
|
+
* Whether to use temporal motion vector prediction.
|
|
1332
|
+
* @default - service default
|
|
1333
|
+
*/
|
|
1334
|
+
readonly mvTemporalPredictor?: H265MvTemporalPredictor;
|
|
1335
|
+
/**
|
|
1336
|
+
* Sub-GOP length mode.
|
|
1337
|
+
* @default - service default
|
|
1338
|
+
*/
|
|
1339
|
+
readonly subgopLength?: SubgopLength;
|
|
1340
|
+
/**
|
|
1341
|
+
* Tile height in pixels. Must be a multiple of the CTU size.
|
|
1342
|
+
* @default - service default
|
|
1343
|
+
*/
|
|
1344
|
+
readonly tileHeight?: number;
|
|
1345
|
+
/**
|
|
1346
|
+
* Tile padding mode.
|
|
1347
|
+
* @default - service default
|
|
1348
|
+
*/
|
|
1349
|
+
readonly tilePadding?: H265TilePadding;
|
|
1350
|
+
/**
|
|
1351
|
+
* Tile width in pixels. Must be a multiple of the CTU size.
|
|
1352
|
+
* @default - service default
|
|
1353
|
+
*/
|
|
1354
|
+
readonly tileWidth?: number;
|
|
1355
|
+
/**
|
|
1356
|
+
* Treeblock size for the encoder.
|
|
1357
|
+
* @default - service default
|
|
1358
|
+
*/
|
|
1359
|
+
readonly treeblockSize?: H265TreeblockSize;
|
|
1360
|
+
/**
|
|
1361
|
+
* Whether scene change detection inserts I-frames on scene changes.
|
|
1362
|
+
* @default H265SceneChangeDetect.ENABLED
|
|
1363
|
+
*/
|
|
1364
|
+
readonly sceneChangeDetect?: H265SceneChangeDetect;
|
|
1365
|
+
}
|
|
1366
|
+
/**
|
|
1367
|
+
* Properties for AV1 codec settings.
|
|
1368
|
+
*/
|
|
1369
|
+
export interface Av1SettingsProps {
|
|
1370
|
+
/**
|
|
1371
|
+
* The rate control configuration.
|
|
1372
|
+
* @default - service default
|
|
1373
|
+
*/
|
|
1374
|
+
readonly rateControl?: Av1RateControl;
|
|
1375
|
+
/**
|
|
1376
|
+
* The GOP size (keyframe interval).
|
|
1377
|
+
* @default GopSize.seconds(1)
|
|
1378
|
+
*/
|
|
1379
|
+
readonly gopSize?: GopSize;
|
|
1380
|
+
/**
|
|
1381
|
+
* The video frame rate.
|
|
1382
|
+
* @default - follow source
|
|
1383
|
+
*/
|
|
1384
|
+
readonly framerate?: Framerate;
|
|
1385
|
+
/**
|
|
1386
|
+
* Timecode burn-in settings to overlay timecode on the video.
|
|
1387
|
+
* @default - no timecode burn-in
|
|
1388
|
+
*/
|
|
1389
|
+
readonly timecodeBurnin?: TimecodeBurninSettings;
|
|
1390
|
+
/**
|
|
1391
|
+
* AFD signaling mode.
|
|
1392
|
+
* @default AfdSignaling.NONE
|
|
1393
|
+
*/
|
|
1394
|
+
readonly afdSignaling?: AfdSignaling;
|
|
1395
|
+
/**
|
|
1396
|
+
* Bit depth for the AV1 encode.
|
|
1397
|
+
* @default - service default
|
|
1398
|
+
*/
|
|
1399
|
+
readonly bitDepth?: Av1BitDepth;
|
|
1400
|
+
/**
|
|
1401
|
+
* Size of buffer (HRD buffer model) in bits.
|
|
1402
|
+
* @default - service default
|
|
1403
|
+
*/
|
|
1404
|
+
readonly bufSize?: number;
|
|
1405
|
+
/**
|
|
1406
|
+
* Color space settings for the video.
|
|
1407
|
+
*
|
|
1408
|
+
* @default - service default
|
|
1409
|
+
*/
|
|
1410
|
+
readonly colorSpaceSettings?: Av1ColorSpaceSettings;
|
|
1411
|
+
/**
|
|
1412
|
+
* Four-bit AFD value to write on all frames. Only valid when afdSignaling is FIXED.
|
|
1413
|
+
*
|
|
1414
|
+
* Valid values: FIXED_0000, FIXED_0010, FIXED_0011, FIXED_0100, FIXED_1000,
|
|
1415
|
+
* FIXED_1001, FIXED_1010, FIXED_1011, FIXED_1100, FIXED_1101, FIXED_1110, FIXED_1111.
|
|
1416
|
+
*
|
|
1417
|
+
* @default - service default
|
|
1418
|
+
*/
|
|
1419
|
+
readonly fixedAfd?: string;
|
|
1420
|
+
/**
|
|
1421
|
+
* The AV1 level.
|
|
1422
|
+
*
|
|
1423
|
+
* Valid values: AV1_LEVEL_2, AV1_LEVEL_2_1, AV1_LEVEL_3, AV1_LEVEL_3_1,
|
|
1424
|
+
* AV1_LEVEL_4, AV1_LEVEL_4_1, AV1_LEVEL_5, AV1_LEVEL_5_1, AV1_LEVEL_5_2,
|
|
1425
|
+
* AV1_LEVEL_5_3, AV1_LEVEL_6, AV1_LEVEL_6_1, AV1_LEVEL_6_2, AV1_LEVEL_6_3,
|
|
1426
|
+
* AV1_LEVEL_AUTO.
|
|
1427
|
+
*
|
|
1428
|
+
* @default Av1Level.AV1_LEVEL_AUTO
|
|
1429
|
+
*/
|
|
1430
|
+
readonly level?: Av1Level;
|
|
1431
|
+
/**
|
|
1432
|
+
* Amount of lookahead. Low decreases latency/memory; high can produce better quality.
|
|
1433
|
+
* @default LookAheadRateControl.HIGH
|
|
1434
|
+
*/
|
|
1435
|
+
readonly lookAheadRateControl?: LookAheadRateControl;
|
|
1436
|
+
/**
|
|
1437
|
+
* Minimum bitrate in bits/second.
|
|
1438
|
+
* @default - service default
|
|
1439
|
+
*/
|
|
1440
|
+
readonly minBitrate?: number;
|
|
1441
|
+
/**
|
|
1442
|
+
* Only meaningful if sceneChangeDetect is enabled. Enforces separation between
|
|
1443
|
+
* repeated (cadence) I-frames and I-frames inserted by scene change detection.
|
|
1444
|
+
* @default - service default
|
|
1445
|
+
*/
|
|
1446
|
+
readonly minIInterval?: number;
|
|
1447
|
+
/**
|
|
1448
|
+
* The pixel aspect ratio (PAR) of the video.
|
|
1449
|
+
* @default - service default
|
|
1450
|
+
*/
|
|
1451
|
+
readonly pixelAspectRatio?: PixelAspectRatio;
|
|
1452
|
+
/**
|
|
1453
|
+
* Scene change detection.
|
|
1454
|
+
* @default Av1SceneChangeDetect.ENABLED
|
|
1455
|
+
*/
|
|
1456
|
+
readonly sceneChangeDetect?: Av1SceneChangeDetect;
|
|
1457
|
+
/**
|
|
1458
|
+
* Spatial adaptive quantization.
|
|
1459
|
+
* @default Av1SpatialAq.ENABLED
|
|
1460
|
+
*/
|
|
1461
|
+
readonly spatialAq?: Av1SpatialAq;
|
|
1462
|
+
/**
|
|
1463
|
+
* Temporal adaptive quantization.
|
|
1464
|
+
* @default Av1TemporalAq.ENABLED
|
|
1465
|
+
*/
|
|
1466
|
+
readonly temporalAq?: Av1TemporalAq;
|
|
1467
|
+
/**
|
|
1468
|
+
* Timecode insertion mode.
|
|
1469
|
+
* @default - service default
|
|
1470
|
+
*/
|
|
1471
|
+
readonly timecodeInsertion?: Av1TimecodeInsertion;
|
|
1472
|
+
}
|
|
1473
|
+
/**
|
|
1474
|
+
* Properties for frame capture codec settings.
|
|
1475
|
+
*/
|
|
1476
|
+
export interface FrameCaptureSettingsProps {
|
|
1477
|
+
/**
|
|
1478
|
+
* The interval between frame captures.
|
|
1479
|
+
* @default - service default
|
|
1480
|
+
*/
|
|
1481
|
+
readonly captureInterval?: Duration;
|
|
1482
|
+
/**
|
|
1483
|
+
* Timecode burn-in settings to overlay timecode on the video.
|
|
1484
|
+
* @default - no timecode burn-in
|
|
1485
|
+
*/
|
|
1486
|
+
readonly timecodeBurnin?: TimecodeBurninSettings;
|
|
1487
|
+
}
|
|
1488
|
+
/**
|
|
1489
|
+
* Video codec settings. Use the static factory methods to create.
|
|
1490
|
+
*/
|
|
1491
|
+
export declare abstract class VideoCodecSettings {
|
|
1492
|
+
/** Create H.264 (AVC) codec settings. */
|
|
1493
|
+
static h264(props?: H264SettingsProps): VideoCodecSettings;
|
|
1494
|
+
/** Create H.265 (HEVC) codec settings. Framerate is required for H.265. */
|
|
1495
|
+
static h265(props: H265SettingsProps): VideoCodecSettings;
|
|
1496
|
+
/** Create AV1 codec settings. */
|
|
1497
|
+
static av1(props?: Av1SettingsProps): VideoCodecSettings;
|
|
1498
|
+
/** Create frame capture codec settings. */
|
|
1499
|
+
static frameCapture(props?: FrameCaptureSettingsProps): VideoCodecSettings;
|
|
1500
|
+
}
|