@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.
Files changed (70) hide show
  1. package/.jsii +60888 -0
  2. package/.jsii.tabl.json.gz +0 -0
  3. package/.warnings.jsii.js +524 -0
  4. package/LICENSE +201 -0
  5. package/NOTICE +2 -0
  6. package/README.md +1297 -0
  7. package/grants.json +27 -0
  8. package/lib/audio-codec-settings.d.ts +901 -0
  9. package/lib/audio-codec-settings.js +1098 -0
  10. package/lib/audio-selector.d.ts +170 -0
  11. package/lib/audio-selector.js +306 -0
  12. package/lib/avail-settings.d.ts +231 -0
  13. package/lib/avail-settings.js +226 -0
  14. package/lib/caption-selector.d.ts +234 -0
  15. package/lib/caption-selector.js +413 -0
  16. package/lib/caption-settings.d.ts +349 -0
  17. package/lib/caption-settings.js +482 -0
  18. package/lib/channel-features.d.ts +106 -0
  19. package/lib/channel-features.js +85 -0
  20. package/lib/channel-placement-group.d.ts +73 -0
  21. package/lib/channel-placement-group.js +132 -0
  22. package/lib/channel.d.ts +687 -0
  23. package/lib/channel.js +1096 -0
  24. package/lib/cluster.d.ts +129 -0
  25. package/lib/cluster.js +158 -0
  26. package/lib/color-correction.d.ts +39 -0
  27. package/lib/color-correction.js +29 -0
  28. package/lib/destinations.d.ts +242 -0
  29. package/lib/destinations.js +455 -0
  30. package/lib/encode-configuration.d.ts +615 -0
  31. package/lib/encode-configuration.js +629 -0
  32. package/lib/enums.d.ts +698 -0
  33. package/lib/enums.js +1045 -0
  34. package/lib/file-location.d.ts +65 -0
  35. package/lib/file-location.js +150 -0
  36. package/lib/framerate.d.ts +31 -0
  37. package/lib/framerate.js +71 -0
  38. package/lib/index.d.ts +26 -0
  39. package/lib/index.js +43 -0
  40. package/lib/input-attachment.d.ts +319 -0
  41. package/lib/input-attachment.js +228 -0
  42. package/lib/input-security-group.d.ts +51 -0
  43. package/lib/input-security-group.js +123 -0
  44. package/lib/input-specification.d.ts +111 -0
  45. package/lib/input-specification.js +181 -0
  46. package/lib/input.d.ts +505 -0
  47. package/lib/input.js +803 -0
  48. package/lib/m2ts-settings.d.ts +421 -0
  49. package/lib/m2ts-settings.js +469 -0
  50. package/lib/m3u8-settings.d.ts +272 -0
  51. package/lib/m3u8-settings.js +304 -0
  52. package/lib/medialive-grants.generated.d.ts +30 -0
  53. package/lib/medialive-grants.generated.js +92 -0
  54. package/lib/network.d.ts +83 -0
  55. package/lib/network.js +132 -0
  56. package/lib/output-group.d.ts +924 -0
  57. package/lib/output-group.js +941 -0
  58. package/lib/outputs.d.ts +304 -0
  59. package/lib/outputs.js +598 -0
  60. package/lib/sdi-source.d.ts +124 -0
  61. package/lib/sdi-source.js +180 -0
  62. package/lib/shared.d.ts +44 -0
  63. package/lib/shared.js +146 -0
  64. package/lib/video-codec-settings.d.ts +1500 -0
  65. package/lib/video-codec-settings.js +1722 -0
  66. package/lib/video-selection.d.ts +92 -0
  67. package/lib/video-selection.js +95 -0
  68. package/package.json +135 -0
  69. package/rosetta/_generated.ts-fixture +6 -0
  70. package/rosetta/default.ts-fixture +21 -0
@@ -0,0 +1,234 @@
1
+ /**
2
+ * The OCR language to use when converting an image-based caption source to text.
3
+ */
4
+ export declare class OcrLanguage {
5
+ /** German */
6
+ static readonly DEU: OcrLanguage;
7
+ /** English */
8
+ static readonly ENG: OcrLanguage;
9
+ /** French */
10
+ static readonly FRA: OcrLanguage;
11
+ /** Dutch */
12
+ static readonly NLD: OcrLanguage;
13
+ /** Portuguese */
14
+ static readonly POR: OcrLanguage;
15
+ /** Spanish */
16
+ static readonly SPA: OcrLanguage;
17
+ /** A value not yet modelled by AWS CDK. */
18
+ static of(value: string): OcrLanguage;
19
+ /** The underlying string value passed to CloudFormation. */
20
+ readonly value: string;
21
+ private constructor();
22
+ }
23
+ /**
24
+ * Whether to upconvert 608 captions to 708.
25
+ */
26
+ export declare class Convert608To708 {
27
+ /** Pass through 608 captions without upconverting. */
28
+ static readonly DISABLED: Convert608To708;
29
+ /** Upconvert 608 captions to 708 (608 data is also passed through). */
30
+ static readonly UPCONVERT: Convert608To708;
31
+ /** A value not yet modelled by AWS CDK. */
32
+ static of(value: string): Convert608To708;
33
+ /** The underlying string value passed to CloudFormation. */
34
+ readonly value: string;
35
+ private constructor();
36
+ }
37
+ /**
38
+ * SCTE-20 detection mode for an embedded caption source.
39
+ */
40
+ export declare class Scte20Detection {
41
+ /** Handle streams with intermittent or non-aligned SCTE-20 and embedded captions. */
42
+ static readonly AUTO: Scte20Detection;
43
+ /** Do not detect SCTE-20 captions. */
44
+ static readonly OFF: Scte20Detection;
45
+ /** A value not yet modelled by AWS CDK. */
46
+ static of(value: string): Scte20Detection;
47
+ /** The underlying string value passed to CloudFormation. */
48
+ readonly value: string;
49
+ private constructor();
50
+ }
51
+ /**
52
+ * Options for an embedded (CEA-608/708) caption source.
53
+ */
54
+ export interface EmbeddedCaptionSourceOptions {
55
+ /**
56
+ * Whether to upconvert 608 captions to 708.
57
+ * @default Convert608To708.DISABLED
58
+ */
59
+ readonly convert608To708?: Convert608To708;
60
+ /**
61
+ * SCTE-20 detection mode.
62
+ * @default Scte20Detection.OFF
63
+ */
64
+ readonly scte20Detection?: Scte20Detection;
65
+ /**
66
+ * The 608/708 channel number within the video track to extract captions from.
67
+ * @default - MediaLive service default
68
+ */
69
+ readonly source608ChannelNumber?: number;
70
+ }
71
+ /**
72
+ * Options for an ancillary caption source.
73
+ */
74
+ export interface AncillaryCaptionSourceOptions {
75
+ /**
76
+ * The captions channel (1-4) to extract from the ancillary captions. Required when
77
+ * converting to another caption format; ignored when passing through as embedded.
78
+ * @default - MediaLive ignores the channel (passthrough)
79
+ */
80
+ readonly sourceChannelNumber?: number;
81
+ }
82
+ /**
83
+ * Options for a DVB-Sub caption source.
84
+ */
85
+ export interface DvbSubCaptionSourceOptions {
86
+ /**
87
+ * The PID of the source content. Unused for DVB-Sub passthrough.
88
+ * @default - MediaLive service default
89
+ */
90
+ readonly pid?: number;
91
+ /**
92
+ * The OCR language to use when converting this image-based source to text.
93
+ * @default - MediaLive service default
94
+ */
95
+ readonly ocrLanguage?: OcrLanguage;
96
+ }
97
+ /**
98
+ * Options for an SCTE-20 caption source.
99
+ */
100
+ export interface Scte20CaptionSourceOptions {
101
+ /**
102
+ * Whether to upconvert 608 captions to 708.
103
+ * @default Convert608To708.DISABLED
104
+ */
105
+ readonly convert608To708?: Convert608To708;
106
+ /**
107
+ * The 608/708 channel number within the video track to extract captions from.
108
+ * @default - MediaLive service default
109
+ */
110
+ readonly source608ChannelNumber?: number;
111
+ }
112
+ /**
113
+ * Options for an SCTE-27 caption source.
114
+ */
115
+ export interface Scte27CaptionSourceOptions {
116
+ /**
117
+ * The PID to extract captions from. See the MediaLive docs for how PID and `languageCode`
118
+ * interact.
119
+ * @default - MediaLive service default
120
+ */
121
+ readonly pid?: number;
122
+ /**
123
+ * The OCR language to use when converting this image-based source to text.
124
+ * @default - MediaLive service default
125
+ */
126
+ readonly ocrLanguage?: OcrLanguage;
127
+ }
128
+ /**
129
+ * A display rectangle, expressed as percentages of the underlying video frame, for captions
130
+ * converted to EBU-TT-D or TTML.
131
+ */
132
+ export interface CaptionRectangle {
133
+ /** Height of the rectangle, as a percentage of the frame height (0–100). */
134
+ readonly height: number;
135
+ /** Width of the rectangle, as a percentage of the frame width (0–100). */
136
+ readonly width: number;
137
+ /** Left edge position, as a percentage of the frame width (0–100). */
138
+ readonly leftOffset: number;
139
+ /** Top edge position, as a percentage of the frame height (0–100). */
140
+ readonly topOffset: number;
141
+ }
142
+ /**
143
+ * Options for a Teletext caption source.
144
+ */
145
+ export interface TeletextCaptionSourceOptions {
146
+ /**
147
+ * The Teletext page number to extract captions from, as a hexadecimal string with no
148
+ * `0x` prefix (range `100`–`8FF`). Unused for passthrough.
149
+ * @default - MediaLive service default
150
+ */
151
+ readonly pageNumber?: string;
152
+ /**
153
+ * The caption rectangle to use when converting this source to EBU-TT-D or TTML.
154
+ * @default - no rectangle (service default)
155
+ */
156
+ readonly outputRectangle?: CaptionRectangle;
157
+ }
158
+ /**
159
+ * Controls whether MediaLive delays video to synchronize captions with audio and video output.
160
+ */
161
+ export declare class CaptionSynchronizationMode {
162
+ /** MediaLive does not delay video for caption alignment. */
163
+ static readonly NO_VIDEO_DELAY: CaptionSynchronizationMode;
164
+ /** MediaLive delays video to ensure captions are synchronized with audio and video. */
165
+ static readonly VIDEO_ALIGNED_CAPTIONS: CaptionSynchronizationMode;
166
+ /** A value not yet modelled by AWS CDK. */
167
+ static of(value: string): CaptionSynchronizationMode;
168
+ /** The underlying string value passed to CloudFormation. */
169
+ readonly value: string;
170
+ private constructor();
171
+ }
172
+ /**
173
+ * Options for a smart subtitle caption source (AI-generated subtitles via Elemental Inference).
174
+ */
175
+ export interface SmartSubtitleSourceOptions {
176
+ /**
177
+ * The name of the Elemental Inference feed output that provides the subtitles.
178
+ * @default - service default
179
+ */
180
+ readonly inferenceFeedOutput?: string;
181
+ /**
182
+ * Controls whether MediaLive delays video to synchronize captions with audio and video output.
183
+ * @default - service default
184
+ */
185
+ readonly captionSynchronizationMode?: CaptionSynchronizationMode;
186
+ }
187
+ /**
188
+ * A caption selector that identifies which captions to extract from the input. Create with
189
+ * the static factory methods — one per caption source format.
190
+ */
191
+ export declare abstract class CaptionSelector {
192
+ /**
193
+ * Select captions by language code (no specific source format).
194
+ */
195
+ static byLanguage(name: string, languageCode: string): CaptionSelector;
196
+ /**
197
+ * Select embedded (CEA-608/708) captions.
198
+ */
199
+ static embedded(name: string, options?: EmbeddedCaptionSourceOptions): CaptionSelector;
200
+ /**
201
+ * Select ancillary captions.
202
+ */
203
+ static ancillary(name: string, options?: AncillaryCaptionSourceOptions): CaptionSelector;
204
+ /**
205
+ * Select ARIB captions.
206
+ */
207
+ static arib(name: string): CaptionSelector;
208
+ /**
209
+ * Select DVB-Sub (image-based) captions.
210
+ */
211
+ static dvbSub(name: string, options?: DvbSubCaptionSourceOptions): CaptionSelector;
212
+ /**
213
+ * Select SCTE-20 captions.
214
+ */
215
+ static scte20(name: string, options?: Scte20CaptionSourceOptions): CaptionSelector;
216
+ /**
217
+ * Select SCTE-27 (image-based) captions.
218
+ */
219
+ static scte27(name: string, options?: Scte27CaptionSourceOptions): CaptionSelector;
220
+ /**
221
+ * Select Teletext captions.
222
+ */
223
+ static teletext(name: string, options?: TeletextCaptionSourceOptions): CaptionSelector;
224
+ /**
225
+ * Select smart subtitles generated by Elemental Inference.
226
+ */
227
+ static smartSubtitle(name: string, options?: SmartSubtitleSourceOptions): CaptionSelector;
228
+ /**
229
+ * The name of this caption selector, used to associate it with caption outputs. Unique
230
+ * within a channel.
231
+ */
232
+ readonly name: string;
233
+ protected constructor(name: string);
234
+ }