UNPKG

249 kBTypeScriptView Raw
1import {Request} from '../lib/request';
2import {Response} from '../lib/response';
3import {AWSError} from '../lib/error';
4import {Service} from '../lib/service';
5import {ServiceConfigurationOptions} from '../lib/service';
6import {ConfigBase as Config} from '../lib/config';
7interface Blob {}
8declare class MediaConvert extends Service {
9 /**
10 * Constructs a service object. This object has one method for each API operation.
11 */
12 constructor(options?: MediaConvert.Types.ClientConfiguration)
13 config: Config & MediaConvert.Types.ClientConfiguration;
14 /**
15 * Associates an AWS Certificate Manager (ACM) Amazon Resource Name (ARN) with AWS Elemental MediaConvert.
16 */
17 associateCertificate(params: MediaConvert.Types.AssociateCertificateRequest, callback?: (err: AWSError, data: MediaConvert.Types.AssociateCertificateResponse) => void): Request<MediaConvert.Types.AssociateCertificateResponse, AWSError>;
18 /**
19 * Associates an AWS Certificate Manager (ACM) Amazon Resource Name (ARN) with AWS Elemental MediaConvert.
20 */
21 associateCertificate(callback?: (err: AWSError, data: MediaConvert.Types.AssociateCertificateResponse) => void): Request<MediaConvert.Types.AssociateCertificateResponse, AWSError>;
22 /**
23 * Permanently cancel a job. Once you have canceled a job, you can't start it again.
24 */
25 cancelJob(params: MediaConvert.Types.CancelJobRequest, callback?: (err: AWSError, data: MediaConvert.Types.CancelJobResponse) => void): Request<MediaConvert.Types.CancelJobResponse, AWSError>;
26 /**
27 * Permanently cancel a job. Once you have canceled a job, you can't start it again.
28 */
29 cancelJob(callback?: (err: AWSError, data: MediaConvert.Types.CancelJobResponse) => void): Request<MediaConvert.Types.CancelJobResponse, AWSError>;
30 /**
31 * Create a new transcoding job. For information about jobs and job settings, see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
32 */
33 createJob(params: MediaConvert.Types.CreateJobRequest, callback?: (err: AWSError, data: MediaConvert.Types.CreateJobResponse) => void): Request<MediaConvert.Types.CreateJobResponse, AWSError>;
34 /**
35 * Create a new transcoding job. For information about jobs and job settings, see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
36 */
37 createJob(callback?: (err: AWSError, data: MediaConvert.Types.CreateJobResponse) => void): Request<MediaConvert.Types.CreateJobResponse, AWSError>;
38 /**
39 * Create a new job template. For information about job templates see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
40 */
41 createJobTemplate(params: MediaConvert.Types.CreateJobTemplateRequest, callback?: (err: AWSError, data: MediaConvert.Types.CreateJobTemplateResponse) => void): Request<MediaConvert.Types.CreateJobTemplateResponse, AWSError>;
42 /**
43 * Create a new job template. For information about job templates see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
44 */
45 createJobTemplate(callback?: (err: AWSError, data: MediaConvert.Types.CreateJobTemplateResponse) => void): Request<MediaConvert.Types.CreateJobTemplateResponse, AWSError>;
46 /**
47 * Create a new preset. For information about job templates see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
48 */
49 createPreset(params: MediaConvert.Types.CreatePresetRequest, callback?: (err: AWSError, data: MediaConvert.Types.CreatePresetResponse) => void): Request<MediaConvert.Types.CreatePresetResponse, AWSError>;
50 /**
51 * Create a new preset. For information about job templates see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
52 */
53 createPreset(callback?: (err: AWSError, data: MediaConvert.Types.CreatePresetResponse) => void): Request<MediaConvert.Types.CreatePresetResponse, AWSError>;
54 /**
55 * Create a new transcoding queue. For information about queues, see Working With Queues in the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/working-with-queues.html
56 */
57 createQueue(params: MediaConvert.Types.CreateQueueRequest, callback?: (err: AWSError, data: MediaConvert.Types.CreateQueueResponse) => void): Request<MediaConvert.Types.CreateQueueResponse, AWSError>;
58 /**
59 * Create a new transcoding queue. For information about queues, see Working With Queues in the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/working-with-queues.html
60 */
61 createQueue(callback?: (err: AWSError, data: MediaConvert.Types.CreateQueueResponse) => void): Request<MediaConvert.Types.CreateQueueResponse, AWSError>;
62 /**
63 * Permanently delete a job template you have created.
64 */
65 deleteJobTemplate(params: MediaConvert.Types.DeleteJobTemplateRequest, callback?: (err: AWSError, data: MediaConvert.Types.DeleteJobTemplateResponse) => void): Request<MediaConvert.Types.DeleteJobTemplateResponse, AWSError>;
66 /**
67 * Permanently delete a job template you have created.
68 */
69 deleteJobTemplate(callback?: (err: AWSError, data: MediaConvert.Types.DeleteJobTemplateResponse) => void): Request<MediaConvert.Types.DeleteJobTemplateResponse, AWSError>;
70 /**
71 * Permanently delete a preset you have created.
72 */
73 deletePreset(params: MediaConvert.Types.DeletePresetRequest, callback?: (err: AWSError, data: MediaConvert.Types.DeletePresetResponse) => void): Request<MediaConvert.Types.DeletePresetResponse, AWSError>;
74 /**
75 * Permanently delete a preset you have created.
76 */
77 deletePreset(callback?: (err: AWSError, data: MediaConvert.Types.DeletePresetResponse) => void): Request<MediaConvert.Types.DeletePresetResponse, AWSError>;
78 /**
79 * Permanently delete a queue you have created.
80 */
81 deleteQueue(params: MediaConvert.Types.DeleteQueueRequest, callback?: (err: AWSError, data: MediaConvert.Types.DeleteQueueResponse) => void): Request<MediaConvert.Types.DeleteQueueResponse, AWSError>;
82 /**
83 * Permanently delete a queue you have created.
84 */
85 deleteQueue(callback?: (err: AWSError, data: MediaConvert.Types.DeleteQueueResponse) => void): Request<MediaConvert.Types.DeleteQueueResponse, AWSError>;
86 /**
87 * Send an request with an empty body to the regional API endpoint to get your account API endpoint.
88 */
89 describeEndpoints(params: MediaConvert.Types.DescribeEndpointsRequest, callback?: (err: AWSError, data: MediaConvert.Types.DescribeEndpointsResponse) => void): Request<MediaConvert.Types.DescribeEndpointsResponse, AWSError>;
90 /**
91 * Send an request with an empty body to the regional API endpoint to get your account API endpoint.
92 */
93 describeEndpoints(callback?: (err: AWSError, data: MediaConvert.Types.DescribeEndpointsResponse) => void): Request<MediaConvert.Types.DescribeEndpointsResponse, AWSError>;
94 /**
95 * Removes an association between the Amazon Resource Name (ARN) of an AWS Certificate Manager (ACM) certificate and an AWS Elemental MediaConvert resource.
96 */
97 disassociateCertificate(params: MediaConvert.Types.DisassociateCertificateRequest, callback?: (err: AWSError, data: MediaConvert.Types.DisassociateCertificateResponse) => void): Request<MediaConvert.Types.DisassociateCertificateResponse, AWSError>;
98 /**
99 * Removes an association between the Amazon Resource Name (ARN) of an AWS Certificate Manager (ACM) certificate and an AWS Elemental MediaConvert resource.
100 */
101 disassociateCertificate(callback?: (err: AWSError, data: MediaConvert.Types.DisassociateCertificateResponse) => void): Request<MediaConvert.Types.DisassociateCertificateResponse, AWSError>;
102 /**
103 * Retrieve the JSON for a specific completed transcoding job.
104 */
105 getJob(params: MediaConvert.Types.GetJobRequest, callback?: (err: AWSError, data: MediaConvert.Types.GetJobResponse) => void): Request<MediaConvert.Types.GetJobResponse, AWSError>;
106 /**
107 * Retrieve the JSON for a specific completed transcoding job.
108 */
109 getJob(callback?: (err: AWSError, data: MediaConvert.Types.GetJobResponse) => void): Request<MediaConvert.Types.GetJobResponse, AWSError>;
110 /**
111 * Retrieve the JSON for a specific job template.
112 */
113 getJobTemplate(params: MediaConvert.Types.GetJobTemplateRequest, callback?: (err: AWSError, data: MediaConvert.Types.GetJobTemplateResponse) => void): Request<MediaConvert.Types.GetJobTemplateResponse, AWSError>;
114 /**
115 * Retrieve the JSON for a specific job template.
116 */
117 getJobTemplate(callback?: (err: AWSError, data: MediaConvert.Types.GetJobTemplateResponse) => void): Request<MediaConvert.Types.GetJobTemplateResponse, AWSError>;
118 /**
119 * Retrieve the JSON for a specific preset.
120 */
121 getPreset(params: MediaConvert.Types.GetPresetRequest, callback?: (err: AWSError, data: MediaConvert.Types.GetPresetResponse) => void): Request<MediaConvert.Types.GetPresetResponse, AWSError>;
122 /**
123 * Retrieve the JSON for a specific preset.
124 */
125 getPreset(callback?: (err: AWSError, data: MediaConvert.Types.GetPresetResponse) => void): Request<MediaConvert.Types.GetPresetResponse, AWSError>;
126 /**
127 * Retrieve the JSON for a specific queue.
128 */
129 getQueue(params: MediaConvert.Types.GetQueueRequest, callback?: (err: AWSError, data: MediaConvert.Types.GetQueueResponse) => void): Request<MediaConvert.Types.GetQueueResponse, AWSError>;
130 /**
131 * Retrieve the JSON for a specific queue.
132 */
133 getQueue(callback?: (err: AWSError, data: MediaConvert.Types.GetQueueResponse) => void): Request<MediaConvert.Types.GetQueueResponse, AWSError>;
134 /**
135 * Retrieve a JSON array of up to twenty of your job templates. This will return the templates themselves, not just a list of them. To retrieve the next twenty templates, use the nextToken string returned with the array
136 */
137 listJobTemplates(params: MediaConvert.Types.ListJobTemplatesRequest, callback?: (err: AWSError, data: MediaConvert.Types.ListJobTemplatesResponse) => void): Request<MediaConvert.Types.ListJobTemplatesResponse, AWSError>;
138 /**
139 * Retrieve a JSON array of up to twenty of your job templates. This will return the templates themselves, not just a list of them. To retrieve the next twenty templates, use the nextToken string returned with the array
140 */
141 listJobTemplates(callback?: (err: AWSError, data: MediaConvert.Types.ListJobTemplatesResponse) => void): Request<MediaConvert.Types.ListJobTemplatesResponse, AWSError>;
142 /**
143 * Retrieve a JSON array of up to twenty of your most recently created jobs. This array includes in-process, completed, and errored jobs. This will return the jobs themselves, not just a list of the jobs. To retrieve the twenty next most recent jobs, use the nextToken string returned with the array.
144 */
145 listJobs(params: MediaConvert.Types.ListJobsRequest, callback?: (err: AWSError, data: MediaConvert.Types.ListJobsResponse) => void): Request<MediaConvert.Types.ListJobsResponse, AWSError>;
146 /**
147 * Retrieve a JSON array of up to twenty of your most recently created jobs. This array includes in-process, completed, and errored jobs. This will return the jobs themselves, not just a list of the jobs. To retrieve the twenty next most recent jobs, use the nextToken string returned with the array.
148 */
149 listJobs(callback?: (err: AWSError, data: MediaConvert.Types.ListJobsResponse) => void): Request<MediaConvert.Types.ListJobsResponse, AWSError>;
150 /**
151 * Retrieve a JSON array of up to twenty of your presets. This will return the presets themselves, not just a list of them. To retrieve the next twenty presets, use the nextToken string returned with the array.
152 */
153 listPresets(params: MediaConvert.Types.ListPresetsRequest, callback?: (err: AWSError, data: MediaConvert.Types.ListPresetsResponse) => void): Request<MediaConvert.Types.ListPresetsResponse, AWSError>;
154 /**
155 * Retrieve a JSON array of up to twenty of your presets. This will return the presets themselves, not just a list of them. To retrieve the next twenty presets, use the nextToken string returned with the array.
156 */
157 listPresets(callback?: (err: AWSError, data: MediaConvert.Types.ListPresetsResponse) => void): Request<MediaConvert.Types.ListPresetsResponse, AWSError>;
158 /**
159 * Retrieve a JSON array of up to twenty of your queues. This will return the queues themselves, not just a list of them. To retrieve the next twenty queues, use the nextToken string returned with the array.
160 */
161 listQueues(params: MediaConvert.Types.ListQueuesRequest, callback?: (err: AWSError, data: MediaConvert.Types.ListQueuesResponse) => void): Request<MediaConvert.Types.ListQueuesResponse, AWSError>;
162 /**
163 * Retrieve a JSON array of up to twenty of your queues. This will return the queues themselves, not just a list of them. To retrieve the next twenty queues, use the nextToken string returned with the array.
164 */
165 listQueues(callback?: (err: AWSError, data: MediaConvert.Types.ListQueuesResponse) => void): Request<MediaConvert.Types.ListQueuesResponse, AWSError>;
166 /**
167 * Retrieve the tags for a MediaConvert resource.
168 */
169 listTagsForResource(params: MediaConvert.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: MediaConvert.Types.ListTagsForResourceResponse) => void): Request<MediaConvert.Types.ListTagsForResourceResponse, AWSError>;
170 /**
171 * Retrieve the tags for a MediaConvert resource.
172 */
173 listTagsForResource(callback?: (err: AWSError, data: MediaConvert.Types.ListTagsForResourceResponse) => void): Request<MediaConvert.Types.ListTagsForResourceResponse, AWSError>;
174 /**
175 * Add tags to a MediaConvert queue, preset, or job template. For information about tagging, see the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.html
176 */
177 tagResource(params: MediaConvert.Types.TagResourceRequest, callback?: (err: AWSError, data: MediaConvert.Types.TagResourceResponse) => void): Request<MediaConvert.Types.TagResourceResponse, AWSError>;
178 /**
179 * Add tags to a MediaConvert queue, preset, or job template. For information about tagging, see the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.html
180 */
181 tagResource(callback?: (err: AWSError, data: MediaConvert.Types.TagResourceResponse) => void): Request<MediaConvert.Types.TagResourceResponse, AWSError>;
182 /**
183 * Remove tags from a MediaConvert queue, preset, or job template. For information about tagging, see the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.html
184 */
185 untagResource(params: MediaConvert.Types.UntagResourceRequest, callback?: (err: AWSError, data: MediaConvert.Types.UntagResourceResponse) => void): Request<MediaConvert.Types.UntagResourceResponse, AWSError>;
186 /**
187 * Remove tags from a MediaConvert queue, preset, or job template. For information about tagging, see the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.html
188 */
189 untagResource(callback?: (err: AWSError, data: MediaConvert.Types.UntagResourceResponse) => void): Request<MediaConvert.Types.UntagResourceResponse, AWSError>;
190 /**
191 * Modify one of your existing job templates.
192 */
193 updateJobTemplate(params: MediaConvert.Types.UpdateJobTemplateRequest, callback?: (err: AWSError, data: MediaConvert.Types.UpdateJobTemplateResponse) => void): Request<MediaConvert.Types.UpdateJobTemplateResponse, AWSError>;
194 /**
195 * Modify one of your existing job templates.
196 */
197 updateJobTemplate(callback?: (err: AWSError, data: MediaConvert.Types.UpdateJobTemplateResponse) => void): Request<MediaConvert.Types.UpdateJobTemplateResponse, AWSError>;
198 /**
199 * Modify one of your existing presets.
200 */
201 updatePreset(params: MediaConvert.Types.UpdatePresetRequest, callback?: (err: AWSError, data: MediaConvert.Types.UpdatePresetResponse) => void): Request<MediaConvert.Types.UpdatePresetResponse, AWSError>;
202 /**
203 * Modify one of your existing presets.
204 */
205 updatePreset(callback?: (err: AWSError, data: MediaConvert.Types.UpdatePresetResponse) => void): Request<MediaConvert.Types.UpdatePresetResponse, AWSError>;
206 /**
207 * Modify one of your existing queues.
208 */
209 updateQueue(params: MediaConvert.Types.UpdateQueueRequest, callback?: (err: AWSError, data: MediaConvert.Types.UpdateQueueResponse) => void): Request<MediaConvert.Types.UpdateQueueResponse, AWSError>;
210 /**
211 * Modify one of your existing queues.
212 */
213 updateQueue(callback?: (err: AWSError, data: MediaConvert.Types.UpdateQueueResponse) => void): Request<MediaConvert.Types.UpdateQueueResponse, AWSError>;
214}
215declare namespace MediaConvert {
216 export type AacAudioDescriptionBroadcasterMix = "BROADCASTER_MIXED_AD"|"NORMAL"|string;
217 export type AacCodecProfile = "LC"|"HEV1"|"HEV2"|string;
218 export type AacCodingMode = "AD_RECEIVER_MIX"|"CODING_MODE_1_0"|"CODING_MODE_1_1"|"CODING_MODE_2_0"|"CODING_MODE_5_1"|string;
219 export type AacRateControlMode = "CBR"|"VBR"|string;
220 export type AacRawFormat = "LATM_LOAS"|"NONE"|string;
221 export interface AacSettings {
222 /**
223 * Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair. The value for AudioType will be set to 3, which signals to downstream systems that this stream contains "broadcaster mixed AD". Note that the input received by the encoder must contain pre-mixed audio; the encoder does not perform the mixing. When you choose BROADCASTER_MIXED_AD, the encoder ignores any values you provide in AudioType and FollowInputAudioType. Choose NORMAL when the input does not contain pre-mixed audio + audio description (AD). In this case, the encoder will use any values you provide for AudioType and FollowInputAudioType.
224 */
225 AudioDescriptionBroadcasterMix?: AacAudioDescriptionBroadcasterMix;
226 /**
227 * Average bitrate in bits/second. The set of valid values for this setting is: 6000, 8000, 10000, 12000, 14000, 16000, 20000, 24000, 28000, 32000, 40000, 48000, 56000, 64000, 80000, 96000, 112000, 128000, 160000, 192000, 224000, 256000, 288000, 320000, 384000, 448000, 512000, 576000, 640000, 768000, 896000, 1024000. The value you set is also constrained by the values you choose for Profile (codecProfile), Bitrate control mode (codingMode), and Sample rate (sampleRate). Default values depend on Bitrate control mode and Profile.
228 */
229 Bitrate?: __integerMin6000Max1024000;
230 /**
231 * AAC Profile.
232 */
233 CodecProfile?: AacCodecProfile;
234 /**
235 * Mono (Audio Description), Mono, Stereo, or 5.1 channel layout. Valid values depend on rate control mode and profile. "1.0 - Audio Description (Receiver Mix)" setting receives a stereo description plus control track and emits a mono AAC encode of the description track, with control data emitted in the PES header as per ETSI TS 101 154 Annex E.
236 */
237 CodingMode?: AacCodingMode;
238 /**
239 * Rate Control Mode.
240 */
241 RateControlMode?: AacRateControlMode;
242 /**
243 * Enables LATM/LOAS AAC output. Note that if you use LATM/LOAS AAC in an output, you must choose "No container" for the output container.
244 */
245 RawFormat?: AacRawFormat;
246 /**
247 * Sample rate in Hz. Valid values depend on rate control mode and profile.
248 */
249 SampleRate?: __integerMin8000Max96000;
250 /**
251 * Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.
252 */
253 Specification?: AacSpecification;
254 /**
255 * VBR Quality Level - Only used if rate_control_mode is VBR.
256 */
257 VbrQuality?: AacVbrQuality;
258 }
259 export type AacSpecification = "MPEG2"|"MPEG4"|string;
260 export type AacVbrQuality = "LOW"|"MEDIUM_LOW"|"MEDIUM_HIGH"|"HIGH"|string;
261 export type Ac3BitstreamMode = "COMPLETE_MAIN"|"COMMENTARY"|"DIALOGUE"|"EMERGENCY"|"HEARING_IMPAIRED"|"MUSIC_AND_EFFECTS"|"VISUALLY_IMPAIRED"|"VOICE_OVER"|string;
262 export type Ac3CodingMode = "CODING_MODE_1_0"|"CODING_MODE_1_1"|"CODING_MODE_2_0"|"CODING_MODE_3_2_LFE"|string;
263 export type Ac3DynamicRangeCompressionProfile = "FILM_STANDARD"|"NONE"|string;
264 export type Ac3LfeFilter = "ENABLED"|"DISABLED"|string;
265 export type Ac3MetadataControl = "FOLLOW_INPUT"|"USE_CONFIGURED"|string;
266 export interface Ac3Settings {
267 /**
268 * Average bitrate in bits/second. Valid bitrates depend on the coding mode.
269 */
270 Bitrate?: __integerMin64000Max640000;
271 /**
272 * Specifies the "Bitstream Mode" (bsmod) for the emitted AC-3 stream. See ATSC A/52-2012 for background on these values.
273 */
274 BitstreamMode?: Ac3BitstreamMode;
275 /**
276 * Dolby Digital coding mode. Determines number of channels.
277 */
278 CodingMode?: Ac3CodingMode;
279 /**
280 * Sets the dialnorm for the output. If blank and input audio is Dolby Digital, dialnorm will be passed through.
281 */
282 Dialnorm?: __integerMin1Max31;
283 /**
284 * If set to FILM_STANDARD, adds dynamic range compression signaling to the output bitstream as defined in the Dolby Digital specification.
285 */
286 DynamicRangeCompressionProfile?: Ac3DynamicRangeCompressionProfile;
287 /**
288 * Applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only valid with 3_2_LFE coding mode.
289 */
290 LfeFilter?: Ac3LfeFilter;
291 /**
292 * When set to FOLLOW_INPUT, encoder metadata will be sourced from the DD, DD+, or DolbyE decoder that supplied this audio data. If audio was not supplied from one of these streams, then the static metadata settings will be used.
293 */
294 MetadataControl?: Ac3MetadataControl;
295 /**
296 * Sample rate in hz. Sample rate is always 48000.
297 */
298 SampleRate?: __integerMin48000Max48000;
299 }
300 export type AccelerationMode = "DISABLED"|"ENABLED"|string;
301 export interface AccelerationSettings {
302 /**
303 * Acceleration configuration for the job.
304 */
305 Mode: AccelerationMode;
306 }
307 export type AfdSignaling = "NONE"|"AUTO"|"FIXED"|string;
308 export interface AiffSettings {
309 /**
310 * Specify Bit depth (BitDepth), in bits per sample, to choose the encoding quality for this audio track.
311 */
312 BitDepth?: __integerMin16Max24;
313 /**
314 * Set Channels to specify the number of channels in this output audio track. Choosing Mono in the console will give you 1 output channel; choosing Stereo will give you 2. In the API, valid values are 1 and 2.
315 */
316 Channels?: __integerMin1Max2;
317 /**
318 * Sample rate in hz.
319 */
320 SampleRate?: __integerMin8000Max192000;
321 }
322 export interface AncillarySourceSettings {
323 /**
324 * Specifies the 608 channel number in the ancillary data track from which to extract captions. Unused for passthrough.
325 */
326 SourceAncillaryChannelNumber?: __integerMin1Max4;
327 }
328 export type AntiAlias = "DISABLED"|"ENABLED"|string;
329 export interface AssociateCertificateRequest {
330 /**
331 * The ARN of the ACM certificate that you want to associate with your MediaConvert resource.
332 */
333 Arn: __string;
334 }
335 export interface AssociateCertificateResponse {
336 }
337 export type AudioCodec = "AAC"|"MP2"|"WAV"|"AIFF"|"AC3"|"EAC3"|"PASSTHROUGH"|string;
338 export interface AudioCodecSettings {
339 /**
340 * Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value AAC. The service accepts one of two mutually exclusive groups of AAC settings--VBR and CBR. To select one of these modes, set the value of Bitrate control mode (rateControlMode) to "VBR" or "CBR". In VBR mode, you control the audio quality with the setting VBR quality (vbrQuality). In CBR mode, you use the setting Bitrate (bitrate). Defaults and valid values depend on the rate control mode.
341 */
342 AacSettings?: AacSettings;
343 /**
344 * Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value AC3.
345 */
346 Ac3Settings?: Ac3Settings;
347 /**
348 * Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value AIFF.
349 */
350 AiffSettings?: AiffSettings;
351 /**
352 * Type of Audio codec.
353 */
354 Codec?: AudioCodec;
355 /**
356 * Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value EAC3.
357 */
358 Eac3Settings?: Eac3Settings;
359 /**
360 * Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value MP2.
361 */
362 Mp2Settings?: Mp2Settings;
363 /**
364 * Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value WAV.
365 */
366 WavSettings?: WavSettings;
367 }
368 export type AudioDefaultSelection = "DEFAULT"|"NOT_DEFAULT"|string;
369 export interface AudioDescription {
370 /**
371 * Advanced audio normalization settings.
372 */
373 AudioNormalizationSettings?: AudioNormalizationSettings;
374 /**
375 * Specifies which audio data to use from each input. In the simplest case, specify an "Audio Selector":#inputs-audio_selector by name based on its order within each input. For example if you specify "Audio Selector 3", then the third audio selector will be used from each input. If an input does not have an "Audio Selector 3", then the audio selector marked as "default" in that input will be used. If there is no audio selector marked as "default", silence will be inserted for the duration of that input. Alternatively, an "Audio Selector Group":#inputs-audio_selector_group name may be specified, with similar default/silence behavior. If no audio_source_name is specified, then "Audio Selector 1" will be chosen automatically.
376 */
377 AudioSourceName?: __string;
378 /**
379 * Applies only if Follow Input Audio Type is unchecked (false). A number between 0 and 255. The following are defined in ISO-IEC 13818-1: 0 = Undefined, 1 = Clean Effects, 2 = Hearing Impaired, 3 = Visually Impaired Commentary, 4-255 = Reserved.
380 */
381 AudioType?: __integerMin0Max255;
382 /**
383 * When set to FOLLOW_INPUT, if the input contains an ISO 639 audio_type, then that value is passed through to the output. If the input contains no ISO 639 audio_type, the value in Audio Type is included in the output. Otherwise the value in Audio Type is included in the output. Note that this field and audioType are both ignored if audioDescriptionBroadcasterMix is set to BROADCASTER_MIXED_AD.
384 */
385 AudioTypeControl?: AudioTypeControl;
386 /**
387 * Audio codec settings (CodecSettings) under (AudioDescriptions) contains the group of settings related to audio encoding. The settings in this group vary depending on the value you choose for Audio codec (Codec). For each codec enum you choose, define the corresponding settings object. The following lists the codec enum, settings object pairs. * AAC, AacSettings * MP2, Mp2Settings * WAV, WavSettings * AIFF, AiffSettings * AC3, Ac3Settings * EAC3, Eac3Settings
388 */
389 CodecSettings?: AudioCodecSettings;
390 /**
391 * Specify the language for this audio output track, using the ISO 639-2 or ISO 639-3 three-letter language code. The language specified will be used when 'Follow Input Language Code' is not selected or when 'Follow Input Language Code' is selected but there is no ISO 639 language code specified by the input.
392 */
393 CustomLanguageCode?: __stringMin3Max3PatternAZaZ3;
394 /**
395 * Indicates the language of the audio output track. The ISO 639 language specified in the 'Language Code' drop down will be used when 'Follow Input Language Code' is not selected or when 'Follow Input Language Code' is selected but there is no ISO 639 language code specified by the input.
396 */
397 LanguageCode?: LanguageCode;
398 /**
399 * Choosing FOLLOW_INPUT will cause the ISO 639 language code of the output to follow the ISO 639 language code of the input. The language specified for languageCode' will be used when USE_CONFIGURED is selected or when FOLLOW_INPUT is selected but there is no ISO 639 language code specified by the input.
400 */
401 LanguageCodeControl?: AudioLanguageCodeControl;
402 /**
403 * Advanced audio remixing settings.
404 */
405 RemixSettings?: RemixSettings;
406 /**
407 * Used for MS Smooth and Apple HLS outputs. Indicates the name displayed by the player (eg. English, or Director Commentary). Alphanumeric characters, spaces, and underscore are legal.
408 */
409 StreamName?: __stringPatternWS;
410 }
411 export type AudioLanguageCodeControl = "FOLLOW_INPUT"|"USE_CONFIGURED"|string;
412 export type AudioNormalizationAlgorithm = "ITU_BS_1770_1"|"ITU_BS_1770_2"|string;
413 export type AudioNormalizationAlgorithmControl = "CORRECT_AUDIO"|"MEASURE_ONLY"|string;
414 export type AudioNormalizationLoudnessLogging = "LOG"|"DONT_LOG"|string;
415 export type AudioNormalizationPeakCalculation = "TRUE_PEAK"|"NONE"|string;
416 export interface AudioNormalizationSettings {
417 /**
418 * Audio normalization algorithm to use. 1770-1 conforms to the CALM Act specification, 1770-2 conforms to the EBU R-128 specification.
419 */
420 Algorithm?: AudioNormalizationAlgorithm;
421 /**
422 * When enabled the output audio is corrected using the chosen algorithm. If disabled, the audio will be measured but not adjusted.
423 */
424 AlgorithmControl?: AudioNormalizationAlgorithmControl;
425 /**
426 * Content measuring above this level will be corrected to the target level. Content measuring below this level will not be corrected. Gating only applies when not using real_time_correction.
427 */
428 CorrectionGateLevel?: __integerMinNegative70Max0;
429 /**
430 * If set to LOG, log each output's audio track loudness to a CSV file.
431 */
432 LoudnessLogging?: AudioNormalizationLoudnessLogging;
433 /**
434 * If set to TRUE_PEAK, calculate and log the TruePeak for each output's audio track loudness.
435 */
436 PeakCalculation?: AudioNormalizationPeakCalculation;
437 /**
438 * Target LKFS(loudness) to adjust volume to. If no value is entered, a default value will be used according to the chosen algorithm. The CALM Act (1770-1) recommends a target of -24 LKFS. The EBU R-128 specification (1770-2) recommends a target of -23 LKFS.
439 */
440 TargetLkfs?: __doubleMinNegative59Max0;
441 }
442 export interface AudioSelector {
443 /**
444 * Selects a specific language code from within an audio source, using the ISO 639-2 or ISO 639-3 three-letter language code
445 */
446 CustomLanguageCode?: __stringMin3Max3PatternAZaZ3;
447 /**
448 * Enable this setting on one audio selector to set it as the default for the job. The service uses this default for outputs where it can't find the specified input audio. If you don't set a default, those outputs have no audio.
449 */
450 DefaultSelection?: AudioDefaultSelection;
451 /**
452 * Specifies audio data from an external file source.
453 */
454 ExternalAudioFileInput?: __stringPatternS3MM2VVMMPPEEGGAAVVIIMMPP4FFLLVVMMPPTTMMPPGGMM4VVTTRRPPFF4VVMM2TTSSTTSS264HH264MMKKVVMMOOVVMMTTSSMM2TTWWMMVVAASSFFVVOOBB3GGPP3GGPPPPMMXXFFDDIIVVXXXXVVIIDDRRAAWWDDVVGGXXFFMM1VV3GG2VVMMFFMM3UU8LLCCHHGGXXFFMMPPEEGG2MMXXFFMMPPEEGG2MMXXFFHHDDWWAAVVYY4MMAAAACCAAIIFFFFMMPP2AACC3EECC3DDTTSSEE;
455 /**
456 * Selects a specific language code from within an audio source.
457 */
458 LanguageCode?: LanguageCode;
459 /**
460 * Specifies a time delta in milliseconds to offset the audio from the input video.
461 */
462 Offset?: __integerMinNegative2147483648Max2147483647;
463 /**
464 * Selects a specific PID from within an audio source (e.g. 257 selects PID 0x101).
465 */
466 Pids?: __listOf__integerMin1Max2147483647;
467 /**
468 * Use this setting for input streams that contain Dolby E, to have the service extract specific program data from the track. To select multiple programs, create multiple selectors with the same Track and different Program numbers. In the console, this setting is visible when you set Selector type to Track. Choose the program number from the dropdown list. If you are sending a JSON file, provide the program ID, which is part of the audio metadata. If your input file has incorrect metadata, you can choose All channels instead of a program number to have the service ignore the program IDs and include all the programs in the track.
469 */
470 ProgramSelection?: __integerMin0Max8;
471 /**
472 * Use these settings to reorder the audio channels of one input to match those of another input. This allows you to combine the two files into a single output, one after the other.
473 */
474 RemixSettings?: RemixSettings;
475 /**
476 * Specifies the type of the audio selector.
477 */
478 SelectorType?: AudioSelectorType;
479 /**
480 * Identify a track from the input audio to include in this selector by entering the track index number. To include several tracks in a single audio selector, specify multiple tracks as follows. Using the console, enter a comma-separated list. For examle, type "1,2,3" to include tracks 1 through 3. Specifying directly in your JSON job file, provide the track numbers in an array. For example, "tracks": [1,2,3].
481 */
482 Tracks?: __listOf__integerMin1Max2147483647;
483 }
484 export interface AudioSelectorGroup {
485 /**
486 * Name of an Audio Selector within the same input to include in the group. Audio selector names are standardized, based on their order within the input (e.g., "Audio Selector 1"). The audio selector name parameter can be repeated to add any number of audio selectors to the group.
487 */
488 AudioSelectorNames?: __listOf__stringMin1;
489 }
490 export type AudioSelectorType = "PID"|"TRACK"|"LANGUAGE_CODE"|string;
491 export type AudioTypeControl = "FOLLOW_INPUT"|"USE_CONFIGURED"|string;
492 export interface AvailBlanking {
493 /**
494 * Blanking image to be used. Leave empty for solid black. Only bmp and png images are supported.
495 */
496 AvailBlankingImage?: __stringMin14PatternS3BmpBMPPngPNG;
497 }
498 export type BillingTagsSource = "QUEUE"|"PRESET"|"JOB_TEMPLATE"|string;
499 export interface BurninDestinationSettings {
500 /**
501 * If no explicit x_position or y_position is provided, setting alignment to centered will place the captions at the bottom center of the output. Similarly, setting a left alignment will align captions to the bottom left of the output. If x and y positions are given in conjunction with the alignment parameter, the font will be justified (either left or centered) relative to those coordinates. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.
502 */
503 Alignment?: BurninSubtitleAlignment;
504 /**
505 * Specifies the color of the rectangle behind the captions.
506All burn-in and DVB-Sub font settings must match.
507 */
508 BackgroundColor?: BurninSubtitleBackgroundColor;
509 /**
510 * Specifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. Leaving this parameter blank is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.
511 */
512 BackgroundOpacity?: __integerMin0Max255;
513 /**
514 * Specifies the color of the burned-in captions. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.
515 */
516 FontColor?: BurninSubtitleFontColor;
517 /**
518 * Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent.
519All burn-in and DVB-Sub font settings must match.
520 */
521 FontOpacity?: __integerMin0Max255;
522 /**
523 * Font resolution in DPI (dots per inch); default is 96 dpi.
524All burn-in and DVB-Sub font settings must match.
525 */
526 FontResolution?: __integerMin96Max600;
527 /**
528 * Provide the font script, using an ISO 15924 script code, if the LanguageCode is not sufficient for determining the script type. Where LanguageCode or CustomLanguageCode is sufficient, use "AUTOMATIC" or leave unset. This is used to help determine the appropriate font for rendering burn-in captions.
529 */
530 FontScript?: FontScript;
531 /**
532 * A positive integer indicates the exact font size in points. Set to 0 for automatic font size selection. All burn-in and DVB-Sub font settings must match.
533 */
534 FontSize?: __integerMin0Max96;
535 /**
536 * Specifies font outline color. This option is not valid for source captions that are either 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.
537 */
538 OutlineColor?: BurninSubtitleOutlineColor;
539 /**
540 * Specifies font outline size in pixels. This option is not valid for source captions that are either 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.
541 */
542 OutlineSize?: __integerMin0Max10;
543 /**
544 * Specifies the color of the shadow cast by the captions.
545All burn-in and DVB-Sub font settings must match.
546 */
547 ShadowColor?: BurninSubtitleShadowColor;
548 /**
549 * Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving this parameter blank is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.
550 */
551 ShadowOpacity?: __integerMin0Max255;
552 /**
553 * Specifies the horizontal offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels to the left. All burn-in and DVB-Sub font settings must match.
554 */
555 ShadowXOffset?: __integerMinNegative2147483648Max2147483647;
556 /**
557 * Specifies the vertical offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels above the text. All burn-in and DVB-Sub font settings must match.
558 */
559 ShadowYOffset?: __integerMinNegative2147483648Max2147483647;
560 /**
561 * Only applies to jobs with input captions in Teletext or STL formats. Specify whether the spacing between letters in your captions is set by the captions grid or varies depending on letter width. Choose fixed grid to conform to the spacing specified in the captions file more accurately. Choose proportional to make the text easier to read if the captions are closed caption.
562 */
563 TeletextSpacing?: BurninSubtitleTeletextSpacing;
564 /**
565 * Specifies the horizontal position of the caption relative to the left side of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the left of the output. If no explicit x_position is provided, the horizontal caption position will be determined by the alignment parameter. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.
566 */
567 XPosition?: __integerMin0Max2147483647;
568 /**
569 * Specifies the vertical position of the caption relative to the top of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the top of the output. If no explicit y_position is provided, the caption will be positioned towards the bottom of the output. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.
570 */
571 YPosition?: __integerMin0Max2147483647;
572 }
573 export type BurninSubtitleAlignment = "CENTERED"|"LEFT"|string;
574 export type BurninSubtitleBackgroundColor = "NONE"|"BLACK"|"WHITE"|string;
575 export type BurninSubtitleFontColor = "WHITE"|"BLACK"|"YELLOW"|"RED"|"GREEN"|"BLUE"|string;
576 export type BurninSubtitleOutlineColor = "BLACK"|"WHITE"|"YELLOW"|"RED"|"GREEN"|"BLUE"|string;
577 export type BurninSubtitleShadowColor = "NONE"|"BLACK"|"WHITE"|string;
578 export type BurninSubtitleTeletextSpacing = "FIXED_GRID"|"PROPORTIONAL"|string;
579 export interface CancelJobRequest {
580 /**
581 * The Job ID of the job to be cancelled.
582 */
583 Id: __string;
584 }
585 export interface CancelJobResponse {
586 }
587 export interface CaptionDescription {
588 /**
589 * Specifies which "Caption Selector":#inputs-caption_selector to use from each input when generating captions. The name should be of the format "Caption Selector ", which denotes that the Nth Caption Selector will be used from each input.
590 */
591 CaptionSelectorName?: __stringMin1;
592 /**
593 * Indicates the language of the caption output track, using the ISO 639-2 or ISO 639-3 three-letter language code. For most captions output formats, the encoder puts this language information in the output captions metadata. If your output captions format is DVB-Sub or Burn in, the encoder uses this language information to choose the font language for rendering the captions text.
594 */
595 CustomLanguageCode?: __stringMin3Max3PatternAZaZ3;
596 /**
597 * Specific settings required by destination type. Note that burnin_destination_settings are not available if the source of the caption data is Embedded or Teletext.
598 */
599 DestinationSettings?: CaptionDestinationSettings;
600 /**
601 * Specify the language of this captions output track. For most captions output formats, the encoder puts this language information in the output captions metadata. If your output captions format is DVB-Sub or Burn in, the encoder uses this language information to choose the font language for rendering the captions text.
602 */
603 LanguageCode?: LanguageCode;
604 /**
605 * Human readable information to indicate captions available for players (eg. English, or Spanish). Alphanumeric characters, spaces, and underscore are legal.
606 */
607 LanguageDescription?: __string;
608 }
609 export interface CaptionDescriptionPreset {
610 /**
611 * Indicates the language of the caption output track, using the ISO 639-2 or ISO 639-3 three-letter language code. For most captions output formats, the encoder puts this language information in the output captions metadata. If your output captions format is DVB-Sub or Burn in, the encoder uses this language information to choose the font language for rendering the captions text.
612 */
613 CustomLanguageCode?: __stringMin3Max3PatternAZaZ3;
614 /**
615 * Specific settings required by destination type. Note that burnin_destination_settings are not available if the source of the caption data is Embedded or Teletext.
616 */
617 DestinationSettings?: CaptionDestinationSettings;
618 /**
619 * Specify the language of this captions output track. For most captions output formats, the encoder puts this language information in the output captions metadata. If your output captions format is DVB-Sub or Burn in, the encoder uses this language information to choose the font language for rendering the captions text.
620 */
621 LanguageCode?: LanguageCode;
622 /**
623 * Human readable information to indicate captions available for players (eg. English, or Spanish). Alphanumeric characters, spaces, and underscore are legal.
624 */
625 LanguageDescription?: __string;
626 }
627 export interface CaptionDestinationSettings {
628 /**
629 * Burn-In Destination Settings.
630 */
631 BurninDestinationSettings?: BurninDestinationSettings;
632 /**
633 * Specify the format for this set of captions on this output. The default format is embedded without SCTE-20. Other options are embedded with SCTE-20, burn-in, DVB-sub, SCC, SRT, teletext, TTML, and web-VTT. If you are using SCTE-20, choose SCTE-20 plus embedded (SCTE20_PLUS_EMBEDDED) to create an output that complies with the SCTE-43 spec. To create a non-compliant output where the embedded captions come first, choose Embedded plus SCTE-20 (EMBEDDED_PLUS_SCTE20).
634 */
635 DestinationType?: CaptionDestinationType;
636 /**
637 * DVB-Sub Destination Settings
638 */
639 DvbSubDestinationSettings?: DvbSubDestinationSettings;
640 /**
641 * Settings specific to embedded/ancillary caption outputs, including 608/708 Channel destination number.
642 */
643 EmbeddedDestinationSettings?: EmbeddedDestinationSettings;
644 /**
645 * Settings for SCC caption output.
646 */
647 SccDestinationSettings?: SccDestinationSettings;
648 /**
649 * Settings for Teletext caption output
650 */
651 TeletextDestinationSettings?: TeletextDestinationSettings;
652 /**
653 * Settings specific to TTML caption outputs, including Pass style information (TtmlStylePassthrough).
654 */
655 TtmlDestinationSettings?: TtmlDestinationSettings;
656 }
657 export type CaptionDestinationType = "BURN_IN"|"DVB_SUB"|"EMBEDDED"|"EMBEDDED_PLUS_SCTE20"|"SCTE20_PLUS_EMBEDDED"|"SCC"|"SRT"|"SMI"|"TELETEXT"|"TTML"|"WEBVTT"|string;
658 export interface CaptionSelector {
659 /**
660 * The specific language to extract from source, using the ISO 639-2 or ISO 639-3 three-letter language code. If input is SCTE-27, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub and output is Burn-in or SMPTE-TT, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub that is being passed through, omit this field (and PID field); there is no way to extract a specific language with pass-through captions.
661 */
662 CustomLanguageCode?: __stringMin3Max3PatternAZaZ3;
663 /**
664 * The specific language to extract from source. If input is SCTE-27, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub and output is Burn-in or SMPTE-TT, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub that is being passed through, omit this field (and PID field); there is no way to extract a specific language with pass-through captions.
665 */
666 LanguageCode?: LanguageCode;
667 /**
668 * Source settings (SourceSettings) contains the group of settings for captions in the input.
669 */
670 SourceSettings?: CaptionSourceSettings;
671 }
672 export interface CaptionSourceSettings {
673 /**
674 * Settings for ancillary captions source.
675 */
676 AncillarySourceSettings?: AncillarySourceSettings;
677 /**
678 * DVB Sub Source Settings
679 */
680 DvbSubSourceSettings?: DvbSubSourceSettings;
681 /**
682 * Settings for embedded captions Source
683 */
684 EmbeddedSourceSettings?: EmbeddedSourceSettings;
685 /**
686 * Settings for File-based Captions in Source
687 */
688 FileSourceSettings?: FileSourceSettings;
689 /**
690 * Use Source (SourceType) to identify the format of your input captions. The service cannot auto-detect caption format.
691 */
692 SourceType?: CaptionSourceType;
693 /**
694 * Settings specific to Teletext caption sources, including Page number.
695 */
696 TeletextSourceSettings?: TeletextSourceSettings;
697 /**
698 * Settings specific to caption sources that are specfied by track number. Sources include IMSC in IMF.
699 */
700 TrackSourceSettings?: TrackSourceSettings;
701 }
702 export type CaptionSourceType = "ANCILLARY"|"DVB_SUB"|"EMBEDDED"|"SCTE20"|"SCC"|"TTML"|"STL"|"SRT"|"SMI"|"TELETEXT"|"NULL_SOURCE"|"IMSC"|string;
703 export interface ChannelMapping {
704 /**
705 * List of output channels
706 */
707 OutputChannels?: __listOfOutputChannelMapping;
708 }
709 export type CmafClientCache = "DISABLED"|"ENABLED"|string;
710 export type CmafCodecSpecification = "RFC_6381"|"RFC_4281"|string;
711 export interface CmafEncryptionSettings {
712 /**
713 * This is a 128-bit, 16-byte hex value represented by a 32-character text string. If this parameter is not set then the Initialization Vector will follow the segment number by default.
714 */
715 ConstantInitializationVector?: __stringMin32Max32Pattern09aFAF32;
716 /**
717 * Encrypts the segments with the given encryption scheme. Leave blank to disable. Selecting 'Disabled' in the web interface also disables encryption.
718 */
719 EncryptionMethod?: CmafEncryptionType;
720 /**
721 * The Initialization Vector is a 128-bit number used in conjunction with the key for encrypting blocks. If set to INCLUDE, Initialization Vector is listed in the manifest. Otherwise Initialization Vector is not in the manifest.
722 */
723 InitializationVectorInManifest?: CmafInitializationVectorInManifest;
724 /**
725 * Use these settings to set up encryption with a static key provider.
726 */
727 StaticKeyProvider?: StaticKeyProvider;
728 /**
729 * Indicates which type of key provider is used for encryption.
730 */
731 Type?: CmafKeyProviderType;
732 }
733 export type CmafEncryptionType = "SAMPLE_AES"|string;
734 export interface CmafGroupSettings {
735 /**
736 * A partial URI prefix that will be put in the manifest file at the top level BaseURL element. Can be used if streams are delivered from a different URL than the manifest file.
737 */
738 BaseUrl?: __string;
739 /**
740 * When set to ENABLED, sets #EXT-X-ALLOW-CACHE:no tag, which prevents client from saving media segments for later replay.
741 */
742 ClientCache?: CmafClientCache;
743 /**
744 * Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.
745 */
746 CodecSpecification?: CmafCodecSpecification;
747 /**
748 * Use Destination (Destination) to specify the S3 output location and the output filename base. Destination accepts format identifiers. If you do not specify the base filename in the URI, the service will use the filename of the input file. If your job has multiple inputs, the service uses the filename of the first input file.
749 */
750 Destination?: __stringPatternS3;
751 /**
752 * Settings associated with the destination. Will vary based on the type of destination
753 */
754 DestinationSettings?: DestinationSettings;
755 /**
756 * DRM settings.
757 */
758 Encryption?: CmafEncryptionSettings;
759 /**
760 * Length of fragments to generate (in seconds). Fragment length must be compatible with GOP size and Framerate. Note that fragments will end on the next keyframe after this number of seconds, so actual fragment length may be longer. When Emit Single File is checked, the fragmentation is internal to a single output file and it does not cause the creation of many output files as in other output types.
761 */
762 FragmentLength?: __integerMin1Max2147483647;
763 /**
764 * When set to GZIP, compresses HLS playlist.
765 */
766 ManifestCompression?: CmafManifestCompression;
767 /**
768 * Indicates whether the output manifest should use floating point values for segment duration.
769 */
770 ManifestDurationFormat?: CmafManifestDurationFormat;
771 /**
772 * Minimum time of initially buffered media that is needed to ensure smooth playout.
773 */
774 MinBufferTime?: __integerMin0Max2147483647;
775 /**
776 * Keep this setting at the default value of 0, unless you are troubleshooting a problem with how devices play back the end of your video asset. If you know that player devices are hanging on the final segment of your video because the length of your final segment is too short, use this setting to specify a minimum final segment length, in seconds. Choose a value that is greater than or equal to 1 and less than your segment length. When you specify a value for this setting, the encoder will combine any final segment that is shorter than the length that you specify with the previous segment. For example, your segment length is 3 seconds and your final segment is .5 seconds without a minimum final segment length; when you set the minimum final segment length to 1, your final segment is 3.5 seconds.
777 */
778 MinFinalSegmentLength?: __doubleMin0Max2147483647;
779 /**
780 * When set to SINGLE_FILE, a single output file is generated, which is internally segmented using the Fragment Length and Segment Length. When set to SEGMENTED_FILES, separate segment files will be created.
781 */
782 SegmentControl?: CmafSegmentControl;
783 /**
784 * Use this setting to specify the length, in seconds, of each individual CMAF segment. This value applies to the whole package; that is, to every output in the output group. Note that segments end on the first keyframe after this number of seconds, so the actual segment length might be slightly longer. If you set Segment control (CmafSegmentControl) to single file, the service puts the content of each output in a single file that has metadata that marks these segments. If you set it to segmented files, the service creates multiple files for each output, each with the content of one segment.
785 */
786 SegmentLength?: __integerMin1Max2147483647;
787 /**
788 * Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.
789 */
790 StreamInfResolution?: CmafStreamInfResolution;
791 /**
792 * When set to ENABLED, a DASH MPD manifest will be generated for this output.
793 */
794 WriteDashManifest?: CmafWriteDASHManifest;
795 /**
796 * When set to ENABLED, an Apple HLS manifest will be generated for this output.
797 */
798 WriteHlsManifest?: CmafWriteHLSManifest;
799 }
800 export type CmafInitializationVectorInManifest = "INCLUDE"|"EXCLUDE"|string;
801 export type CmafKeyProviderType = "STATIC_KEY"|string;
802 export type CmafManifestCompression = "GZIP"|"NONE"|string;
803 export type CmafManifestDurationFormat = "FLOATING_POINT"|"INTEGER"|string;
804 export type CmafSegmentControl = "SINGLE_FILE"|"SEGMENTED_FILES"|string;
805 export type CmafStreamInfResolution = "INCLUDE"|"EXCLUDE"|string;
806 export type CmafWriteDASHManifest = "DISABLED"|"ENABLED"|string;
807 export type CmafWriteHLSManifest = "DISABLED"|"ENABLED"|string;
808 export interface ColorCorrector {
809 /**
810 * Brightness level.
811 */
812 Brightness?: __integerMin1Max100;
813 /**
814 * Determines if colorspace conversion will be performed. If set to _None_, no conversion will be performed. If _Force 601_ or _Force 709_ are selected, conversion will be performed for inputs with differing colorspaces. An input's colorspace can be specified explicitly in the "Video Selector":#inputs-video_selector if necessary.
815 */
816 ColorSpaceConversion?: ColorSpaceConversion;
817 /**
818 * Contrast level.
819 */
820 Contrast?: __integerMin1Max100;
821 /**
822 * Use the HDR master display (Hdr10Metadata) settings to correct HDR metadata or to provide missing metadata. Note that these settings are not color correction.
823 */
824 Hdr10Metadata?: Hdr10Metadata;
825 /**
826 * Hue in degrees.
827 */
828 Hue?: __integerMinNegative180Max180;
829 /**
830 * Saturation level.
831 */
832 Saturation?: __integerMin1Max100;
833 }
834 export type ColorMetadata = "IGNORE"|"INSERT"|string;
835 export type ColorSpace = "FOLLOW"|"REC_601"|"REC_709"|"HDR10"|"HLG_2020"|string;
836 export type ColorSpaceConversion = "NONE"|"FORCE_601"|"FORCE_709"|"FORCE_HDR10"|"FORCE_HLG_2020"|string;
837 export type ColorSpaceUsage = "FORCE"|"FALLBACK"|string;
838 export type Commitment = "ONE_YEAR"|string;
839 export interface ContainerSettings {
840 /**
841 * Container for this output. Some containers require a container settings object. If not specified, the default object will be created.
842 */
843 Container?: ContainerType;
844 /**
845 * Settings for F4v container
846 */
847 F4vSettings?: F4vSettings;
848 /**
849 * MPEG-2 TS container settings. These apply to outputs in a File output group when the output's container (ContainerType) is MPEG-2 Transport Stream (M2TS). In these assets, data is organized by the program map table (PMT). Each transport stream program contains subsets of data, including audio, video, and metadata. Each of these subsets of data has a numerical label called a packet identifier (PID). Each transport stream program corresponds to one MediaConvert output. The PMT lists the types of data in a program along with their PID. Downstream systems and players use the program map table to look up the PID for each type of data it accesses and then uses the PIDs to locate specific data within the asset.
850 */
851 M2tsSettings?: M2tsSettings;
852 /**
853 * Settings for TS segments in HLS
854 */
855 M3u8Settings?: M3u8Settings;
856 /**
857 * Settings for MOV Container.
858 */
859 MovSettings?: MovSettings;
860 /**
861 * Settings for MP4 Container
862 */
863 Mp4Settings?: Mp4Settings;
864 }
865 export type ContainerType = "F4V"|"ISMV"|"M2TS"|"M3U8"|"CMFC"|"MOV"|"MP4"|"MPD"|"MXF"|"RAW"|string;
866 export interface CreateJobRequest {
867 /**
868 * This is a beta feature. If you are interested in using this feature, please contact AWS customer support.
869 */
870 AccelerationSettings?: AccelerationSettings;
871 /**
872 * Optional. Choose a tag type that AWS Billing and Cost Management will use to sort your AWS Elemental MediaConvert costs on any billing report that you set up. Any transcoding outputs that don't have an associated tag will appear in your billing report unsorted. If you don't choose a valid value for this field, your job outputs will appear on the billing report unsorted.
873 */
874 BillingTagsSource?: BillingTagsSource;
875 /**
876 * Idempotency token for CreateJob operation.
877 */
878 ClientRequestToken?: __string;
879 /**
880 * When you create a job, you can either specify a job template or specify the transcoding settings individually
881 */
882 JobTemplate?: __string;
883 /**
884 * Optional. When you create a job, you can specify a queue to send it to. If you don't specify, the job will go to the default queue. For more about queues, see the User Guide topic at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html.
885 */
886 Queue?: __string;
887 /**
888 * Required. The IAM role you use for creating this job. For details about permissions, see the User Guide topic at the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/iam-role.html.
889 */
890 Role: __string;
891 /**
892 * JobSettings contains all the transcode settings for a job.
893 */
894 Settings: JobSettings;
895 /**
896 * Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error.
897 */
898 StatusUpdateInterval?: StatusUpdateInterval;
899 /**
900 * User-defined metadata that you want to associate with an MediaConvert job. You specify metadata in key/value pairs.
901 */
902 UserMetadata?: __mapOf__string;
903 }
904 export interface CreateJobResponse {
905 /**
906 * Each job converts an input file into an output file or files. For more information, see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
907 */
908 Job?: Job;
909 }
910 export interface CreateJobTemplateRequest {
911 /**
912 * This is a beta feature. If you are interested in using this feature please contact AWS customer support.
913 */
914 AccelerationSettings?: AccelerationSettings;
915 /**
916 * Optional. A category for the job template you are creating
917 */
918 Category?: __string;
919 /**
920 * Optional. A description of the job template you are creating.
921 */
922 Description?: __string;
923 /**
924 * The name of the job template you are creating.
925 */
926 Name: __string;
927 /**
928 * Optional. The queue that jobs created from this template are assigned to. If you don't specify this, jobs will go to the default queue.
929 */
930 Queue?: __string;
931 /**
932 * JobTemplateSettings contains all the transcode settings saved in the template that will be applied to jobs created from it.
933 */
934 Settings: JobTemplateSettings;
935 /**
936 * Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error.
937 */
938 StatusUpdateInterval?: StatusUpdateInterval;
939 /**
940 * The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.
941 */
942 Tags?: __mapOf__string;
943 }
944 export interface CreateJobTemplateResponse {
945 /**
946 * A job template is a pre-made set of encoding instructions that you can use to quickly create a job.
947 */
948 JobTemplate?: JobTemplate;
949 }
950 export interface CreatePresetRequest {
951 /**
952 * Optional. A category for the preset you are creating.
953 */
954 Category?: __string;
955 /**
956 * Optional. A description of the preset you are creating.
957 */
958 Description?: __string;
959 /**
960 * The name of the preset you are creating.
961 */
962 Name: __string;
963 /**
964 * Settings for preset
965 */
966 Settings: PresetSettings;
967 /**
968 * The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.
969 */
970 Tags?: __mapOf__string;
971 }
972 export interface CreatePresetResponse {
973 /**
974 * A preset is a collection of preconfigured media conversion settings that you want MediaConvert to apply to the output during the conversion process.
975 */
976 Preset?: Preset;
977 }
978 export interface CreateQueueRequest {
979 /**
980 * Optional. A description of the queue that you are creating.
981 */
982 Description?: __string;
983 /**
984 * The name of the queue that you are creating.
985 */
986 Name: __string;
987 /**
988 * Specifies whether the pricing plan for the queue is on-demand or reserved. For on-demand, you pay per minute, billed in increments of .01 minute. For reserved, you pay for the transcoding capacity of the entire queue, regardless of how much or how little you use it. Reserved pricing requires a 12-month commitment. When you use the API to create a queue, the default is on-demand.
989 */
990 PricingPlan?: PricingPlan;
991 /**
992 * Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues.
993 */
994 ReservationPlanSettings?: ReservationPlanSettings;
995 /**
996 * The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.
997 */
998 Tags?: __mapOf__string;
999 }
1000 export interface CreateQueueResponse {
1001 /**
1002 * You can use queues to manage the resources that are available to your AWS account for running multiple transcoding jobs at the same time. If you don't specify a queue, the service sends all jobs through the default queue. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/working-with-queues.html.
1003 */
1004 Queue?: Queue;
1005 }
1006 export interface DashIsoEncryptionSettings {
1007 /**
1008 * Settings for use with a SPEKE key provider
1009 */
1010 SpekeKeyProvider?: SpekeKeyProvider;
1011 }
1012 export interface DashIsoGroupSettings {
1013 /**
1014 * A partial URI prefix that will be put in the manifest (.mpd) file at the top level BaseURL element. Can be used if streams are delivered from a different URL than the manifest file.
1015 */
1016 BaseUrl?: __string;
1017 /**
1018 * Use Destination (Destination) to specify the S3 output location and the output filename base. Destination accepts format identifiers. If you do not specify the base filename in the URI, the service will use the filename of the input file. If your job has multiple inputs, the service uses the filename of the first input file.
1019 */
1020 Destination?: __stringPatternS3;
1021 /**
1022 * Settings associated with the destination. Will vary based on the type of destination
1023 */
1024 DestinationSettings?: DestinationSettings;
1025 /**
1026 * DRM settings.
1027 */
1028 Encryption?: DashIsoEncryptionSettings;
1029 /**
1030 * Length of fragments to generate (in seconds). Fragment length must be compatible with GOP size and Framerate. Note that fragments will end on the next keyframe after this number of seconds, so actual fragment length may be longer. When Emit Single File is checked, the fragmentation is internal to a single output file and it does not cause the creation of many output files as in other output types.
1031 */
1032 FragmentLength?: __integerMin1Max2147483647;
1033 /**
1034 * Supports HbbTV specification as indicated
1035 */
1036 HbbtvCompliance?: DashIsoHbbtvCompliance;
1037 /**
1038 * Minimum time of initially buffered media that is needed to ensure smooth playout.
1039 */
1040 MinBufferTime?: __integerMin0Max2147483647;
1041 /**
1042 * When set to SINGLE_FILE, a single output file is generated, which is internally segmented using the Fragment Length and Segment Length. When set to SEGMENTED_FILES, separate segment files will be created.
1043 */
1044 SegmentControl?: DashIsoSegmentControl;
1045 /**
1046 * Length of mpd segments to create (in seconds). Note that segments will end on the next keyframe after this number of seconds, so actual segment length may be longer. When Emit Single File is checked, the segmentation is internal to a single output file and it does not cause the creation of many output files as in other output types.
1047 */
1048 SegmentLength?: __integerMin1Max2147483647;
1049 /**
1050 * When you enable Precise segment duration in manifests (writeSegmentTimelineInRepresentation), your DASH manifest shows precise segment durations. The segment duration information appears inside the SegmentTimeline element, inside SegmentTemplate at the Representation level. When this feature isn't enabled, the segment durations in your DASH manifest are approximate. The segment duration information appears in the duration attribute of the SegmentTemplate element.
1051 */
1052 WriteSegmentTimelineInRepresentation?: DashIsoWriteSegmentTimelineInRepresentation;
1053 }
1054 export type DashIsoHbbtvCompliance = "HBBTV_1_5"|"NONE"|string;
1055 export type DashIsoSegmentControl = "SINGLE_FILE"|"SEGMENTED_FILES"|string;
1056 export type DashIsoWriteSegmentTimelineInRepresentation = "ENABLED"|"DISABLED"|string;
1057 export type DecryptionMode = "AES_CTR"|"AES_CBC"|"AES_GCM"|string;
1058 export type DeinterlaceAlgorithm = "INTERPOLATE"|"INTERPOLATE_TICKER"|"BLEND"|"BLEND_TICKER"|string;
1059 export interface Deinterlacer {
1060 /**
1061 * Only applies when you set Deinterlacer (DeinterlaceMode) to Deinterlace (DEINTERLACE) or Adaptive (ADAPTIVE). Motion adaptive interpolate (INTERPOLATE) produces sharper pictures, while blend (BLEND) produces smoother motion. Use (INTERPOLATE_TICKER) OR (BLEND_TICKER) if your source file includes a ticker, such as a scrolling headline at the bottom of the frame.
1062 */
1063 Algorithm?: DeinterlaceAlgorithm;
1064 /**
1065 * - When set to NORMAL (default), the deinterlacer does not convert frames that are tagged in metadata as progressive. It will only convert those that are tagged as some other type. - When set to FORCE_ALL_FRAMES, the deinterlacer converts every frame to progressive - even those that are already tagged as progressive. Turn Force mode on only if there is a good chance that the metadata has tagged frames as progressive when they are not progressive. Do not turn on otherwise; processing frames that are already progressive into progressive will probably result in lower quality video.
1066 */
1067 Control?: DeinterlacerControl;
1068 /**
1069 * Use Deinterlacer (DeinterlaceMode) to choose how the service will do deinterlacing. Default is Deinterlace. - Deinterlace converts interlaced to progressive. - Inverse telecine converts Hard Telecine 29.97i to progressive 23.976p. - Adaptive auto-detects and converts to progressive.
1070 */
1071 Mode?: DeinterlacerMode;
1072 }
1073 export type DeinterlacerControl = "FORCE_ALL_FRAMES"|"NORMAL"|string;
1074 export type DeinterlacerMode = "DEINTERLACE"|"INVERSE_TELECINE"|"ADAPTIVE"|string;
1075 export interface DeleteJobTemplateRequest {
1076 /**
1077 * The name of the job template to be deleted.
1078 */
1079 Name: __string;
1080 }
1081 export interface DeleteJobTemplateResponse {
1082 }
1083 export interface DeletePresetRequest {
1084 /**
1085 * The name of the preset to be deleted.
1086 */
1087 Name: __string;
1088 }
1089 export interface DeletePresetResponse {
1090 }
1091 export interface DeleteQueueRequest {
1092 /**
1093 * The name of the queue that you want to delete.
1094 */
1095 Name: __string;
1096 }
1097 export interface DeleteQueueResponse {
1098 }
1099 export type DescribeEndpointsMode = "DEFAULT"|"GET_ONLY"|string;
1100 export interface DescribeEndpointsRequest {
1101 /**
1102 * Optional. Max number of endpoints, up to twenty, that will be returned at one time.
1103 */
1104 MaxResults?: __integer;
1105 /**
1106 * Optional field, defaults to DEFAULT. Specify DEFAULT for this operation to return your endpoints if any exist, or to create an endpoint for you and return it if one doesn't already exist. Specify GET_ONLY to return your endpoints if any exist, or an empty list if none exist.
1107 */
1108 Mode?: DescribeEndpointsMode;
1109 /**
1110 * Use this string, provided with the response to a previous request, to request the next batch of endpoints.
1111 */
1112 NextToken?: __string;
1113 }
1114 export interface DescribeEndpointsResponse {
1115 /**
1116 * List of endpoints
1117 */
1118 Endpoints?: __listOfEndpoint;
1119 /**
1120 * Use this string to request the next batch of endpoints.
1121 */
1122 NextToken?: __string;
1123 }
1124 export interface DestinationSettings {
1125 /**
1126 * Settings associated with S3 destination
1127 */
1128 S3Settings?: S3DestinationSettings;
1129 }
1130 export interface DisassociateCertificateRequest {
1131 /**
1132 * The ARN of the ACM certificate that you want to disassociate from your MediaConvert resource.
1133 */
1134 Arn: __string;
1135 }
1136 export interface DisassociateCertificateResponse {
1137 }
1138 export type DropFrameTimecode = "DISABLED"|"ENABLED"|string;
1139 export interface DvbNitSettings {
1140 /**
1141 * The numeric value placed in the Network Information Table (NIT).
1142 */
1143 NetworkId?: __integerMin0Max65535;
1144 /**
1145 * The network name text placed in the network_name_descriptor inside the Network Information Table. Maximum length is 256 characters.
1146 */
1147 NetworkName?: __stringMin1Max256;
1148 /**
1149 * The number of milliseconds between instances of this table in the output transport stream.
1150 */
1151 NitInterval?: __integerMin25Max10000;
1152 }
1153 export interface DvbSdtSettings {
1154 /**
1155 * Selects method of inserting SDT information into output stream. "Follow input SDT" copies SDT information from input stream to output stream. "Follow input SDT if present" copies SDT information from input stream to output stream if SDT information is present in the input, otherwise it will fall back on the user-defined values. Enter "SDT Manually" means user will enter the SDT information. "No SDT" means output stream will not contain SDT information.
1156 */
1157 OutputSdt?: OutputSdt;
1158 /**
1159 * The number of milliseconds between instances of this table in the output transport stream.
1160 */
1161 SdtInterval?: __integerMin25Max2000;
1162 /**
1163 * The service name placed in the service_descriptor in the Service Description Table. Maximum length is 256 characters.
1164 */
1165 ServiceName?: __stringMin1Max256;
1166 /**
1167 * The service provider name placed in the service_descriptor in the Service Description Table. Maximum length is 256 characters.
1168 */
1169 ServiceProviderName?: __stringMin1Max256;
1170 }
1171 export interface DvbSubDestinationSettings {
1172 /**
1173 * If no explicit x_position or y_position is provided, setting alignment to centered will place the captions at the bottom center of the output. Similarly, setting a left alignment will align captions to the bottom left of the output. If x and y positions are given in conjunction with the alignment parameter, the font will be justified (either left or centered) relative to those coordinates. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.
1174 */
1175 Alignment?: DvbSubtitleAlignment;
1176 /**
1177 * Specifies the color of the rectangle behind the captions.
1178All burn-in and DVB-Sub font settings must match.
1179 */
1180 BackgroundColor?: DvbSubtitleBackgroundColor;
1181 /**
1182 * Specifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. Leaving this parameter blank is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.
1183 */
1184 BackgroundOpacity?: __integerMin0Max255;
1185 /**
1186 * Specifies the color of the burned-in captions. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.
1187 */
1188 FontColor?: DvbSubtitleFontColor;
1189 /**
1190 * Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent.
1191All burn-in and DVB-Sub font settings must match.
1192 */
1193 FontOpacity?: __integerMin0Max255;
1194 /**
1195 * Font resolution in DPI (dots per inch); default is 96 dpi.
1196All burn-in and DVB-Sub font settings must match.
1197 */
1198 FontResolution?: __integerMin96Max600;
1199 /**
1200 * Provide the font script, using an ISO 15924 script code, if the LanguageCode is not sufficient for determining the script type. Where LanguageCode or CustomLanguageCode is sufficient, use "AUTOMATIC" or leave unset. This is used to help determine the appropriate font for rendering DVB-Sub captions.
1201 */
1202 FontScript?: FontScript;
1203 /**
1204 * A positive integer indicates the exact font size in points. Set to 0 for automatic font size selection. All burn-in and DVB-Sub font settings must match.
1205 */
1206 FontSize?: __integerMin0Max96;
1207 /**
1208 * Specifies font outline color. This option is not valid for source captions that are either 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.
1209 */
1210 OutlineColor?: DvbSubtitleOutlineColor;
1211 /**
1212 * Specifies font outline size in pixels. This option is not valid for source captions that are either 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.
1213 */
1214 OutlineSize?: __integerMin0Max10;
1215 /**
1216 * Specifies the color of the shadow cast by the captions.
1217All burn-in and DVB-Sub font settings must match.
1218 */
1219 ShadowColor?: DvbSubtitleShadowColor;
1220 /**
1221 * Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving this parameter blank is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.
1222 */
1223 ShadowOpacity?: __integerMin0Max255;
1224 /**
1225 * Specifies the horizontal offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels to the left. All burn-in and DVB-Sub font settings must match.
1226 */
1227 ShadowXOffset?: __integerMinNegative2147483648Max2147483647;
1228 /**
1229 * Specifies the vertical offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels above the text. All burn-in and DVB-Sub font settings must match.
1230 */
1231 ShadowYOffset?: __integerMinNegative2147483648Max2147483647;
1232 /**
1233 * Only applies to jobs with input captions in Teletext or STL formats. Specify whether the spacing between letters in your captions is set by the captions grid or varies depending on letter width. Choose fixed grid to conform to the spacing specified in the captions file more accurately. Choose proportional to make the text easier to read if the captions are closed caption.
1234 */
1235 TeletextSpacing?: DvbSubtitleTeletextSpacing;
1236 /**
1237 * Specifies the horizontal position of the caption relative to the left side of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the left of the output. If no explicit x_position is provided, the horizontal caption position will be determined by the alignment parameter. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.
1238 */
1239 XPosition?: __integerMin0Max2147483647;
1240 /**
1241 * Specifies the vertical position of the caption relative to the top of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the top of the output. If no explicit y_position is provided, the caption will be positioned towards the bottom of the output. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.
1242 */
1243 YPosition?: __integerMin0Max2147483647;
1244 }
1245 export interface DvbSubSourceSettings {
1246 /**
1247 * When using DVB-Sub with Burn-In or SMPTE-TT, use this PID for the source content. Unused for DVB-Sub passthrough. All DVB-Sub content is passed through, regardless of selectors.
1248 */
1249 Pid?: __integerMin1Max2147483647;
1250 }
1251 export type DvbSubtitleAlignment = "CENTERED"|"LEFT"|string;
1252 export type DvbSubtitleBackgroundColor = "NONE"|"BLACK"|"WHITE"|string;
1253 export type DvbSubtitleFontColor = "WHITE"|"BLACK"|"YELLOW"|"RED"|"GREEN"|"BLUE"|string;
1254 export type DvbSubtitleOutlineColor = "BLACK"|"WHITE"|"YELLOW"|"RED"|"GREEN"|"BLUE"|string;
1255 export type DvbSubtitleShadowColor = "NONE"|"BLACK"|"WHITE"|string;
1256 export type DvbSubtitleTeletextSpacing = "FIXED_GRID"|"PROPORTIONAL"|string;
1257 export interface DvbTdtSettings {
1258 /**
1259 * The number of milliseconds between instances of this table in the output transport stream.
1260 */
1261 TdtInterval?: __integerMin1000Max30000;
1262 }
1263 export type Eac3AttenuationControl = "ATTENUATE_3_DB"|"NONE"|string;
1264 export type Eac3BitstreamMode = "COMPLETE_MAIN"|"COMMENTARY"|"EMERGENCY"|"HEARING_IMPAIRED"|"VISUALLY_IMPAIRED"|string;
1265 export type Eac3CodingMode = "CODING_MODE_1_0"|"CODING_MODE_2_0"|"CODING_MODE_3_2"|string;
1266 export type Eac3DcFilter = "ENABLED"|"DISABLED"|string;
1267 export type Eac3DynamicRangeCompressionLine = "NONE"|"FILM_STANDARD"|"FILM_LIGHT"|"MUSIC_STANDARD"|"MUSIC_LIGHT"|"SPEECH"|string;
1268 export type Eac3DynamicRangeCompressionRf = "NONE"|"FILM_STANDARD"|"FILM_LIGHT"|"MUSIC_STANDARD"|"MUSIC_LIGHT"|"SPEECH"|string;
1269 export type Eac3LfeControl = "LFE"|"NO_LFE"|string;
1270 export type Eac3LfeFilter = "ENABLED"|"DISABLED"|string;
1271 export type Eac3MetadataControl = "FOLLOW_INPUT"|"USE_CONFIGURED"|string;
1272 export type Eac3PassthroughControl = "WHEN_POSSIBLE"|"NO_PASSTHROUGH"|string;
1273 export type Eac3PhaseControl = "SHIFT_90_DEGREES"|"NO_SHIFT"|string;
1274 export interface Eac3Settings {
1275 /**
1276 * If set to ATTENUATE_3_DB, applies a 3 dB attenuation to the surround channels. Only used for 3/2 coding mode.
1277 */
1278 AttenuationControl?: Eac3AttenuationControl;
1279 /**
1280 * Average bitrate in bits/second. Valid bitrates depend on the coding mode.
1281 */
1282 Bitrate?: __integerMin64000Max640000;
1283 /**
1284 * Specifies the "Bitstream Mode" (bsmod) for the emitted E-AC-3 stream. See ATSC A/52-2012 (Annex E) for background on these values.
1285 */
1286 BitstreamMode?: Eac3BitstreamMode;
1287 /**
1288 * Dolby Digital Plus coding mode. Determines number of channels.
1289 */
1290 CodingMode?: Eac3CodingMode;
1291 /**
1292 * Activates a DC highpass filter for all input channels.
1293 */
1294 DcFilter?: Eac3DcFilter;
1295 /**
1296 * Sets the dialnorm for the output. If blank and input audio is Dolby Digital Plus, dialnorm will be passed through.
1297 */
1298 Dialnorm?: __integerMin1Max31;
1299 /**
1300 * Enables Dynamic Range Compression that restricts the absolute peak level for a signal.
1301 */
1302 DynamicRangeCompressionLine?: Eac3DynamicRangeCompressionLine;
1303 /**
1304 * Enables Heavy Dynamic Range Compression, ensures that the instantaneous signal peaks do not exceed specified levels.
1305 */
1306 DynamicRangeCompressionRf?: Eac3DynamicRangeCompressionRf;
1307 /**
1308 * When encoding 3/2 audio, controls whether the LFE channel is enabled
1309 */
1310 LfeControl?: Eac3LfeControl;
1311 /**
1312 * Applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only valid with 3_2_LFE coding mode.
1313 */
1314 LfeFilter?: Eac3LfeFilter;
1315 /**
1316 * Left only/Right only center mix level. Only used for 3/2 coding mode.
1317Valid values: 3.0, 1.5, 0.0, -1.5 -3.0 -4.5 -6.0 -60
1318 */
1319 LoRoCenterMixLevel?: __doubleMinNegative60Max3;
1320 /**
1321 * Left only/Right only surround mix level. Only used for 3/2 coding mode.
1322Valid values: -1.5 -3.0 -4.5 -6.0 -60
1323 */
1324 LoRoSurroundMixLevel?: __doubleMinNegative60MaxNegative1;
1325 /**
1326 * Left total/Right total center mix level. Only used for 3/2 coding mode.
1327Valid values: 3.0, 1.5, 0.0, -1.5 -3.0 -4.5 -6.0 -60
1328 */
1329 LtRtCenterMixLevel?: __doubleMinNegative60Max3;
1330 /**
1331 * Left total/Right total surround mix level. Only used for 3/2 coding mode.
1332Valid values: -1.5 -3.0 -4.5 -6.0 -60
1333 */
1334 LtRtSurroundMixLevel?: __doubleMinNegative60MaxNegative1;
1335 /**
1336 * When set to FOLLOW_INPUT, encoder metadata will be sourced from the DD, DD+, or DolbyE decoder that supplied this audio data. If audio was not supplied from one of these streams, then the static metadata settings will be used.
1337 */
1338 MetadataControl?: Eac3MetadataControl;
1339 /**
1340 * When set to WHEN_POSSIBLE, input DD+ audio will be passed through if it is present on the input. this detection is dynamic over the life of the transcode. Inputs that alternate between DD+ and non-DD+ content will have a consistent DD+ output as the system alternates between passthrough and encoding.
1341 */
1342 PassthroughControl?: Eac3PassthroughControl;
1343 /**
1344 * Controls the amount of phase-shift applied to the surround channels. Only used for 3/2 coding mode.
1345 */
1346 PhaseControl?: Eac3PhaseControl;
1347 /**
1348 * Sample rate in hz. Sample rate is always 48000.
1349 */
1350 SampleRate?: __integerMin48000Max48000;
1351 /**
1352 * Stereo downmix preference. Only used for 3/2 coding mode.
1353 */
1354 StereoDownmix?: Eac3StereoDownmix;
1355 /**
1356 * When encoding 3/2 audio, sets whether an extra center back surround channel is matrix encoded into the left and right surround channels.
1357 */
1358 SurroundExMode?: Eac3SurroundExMode;
1359 /**
1360 * When encoding 2/0 audio, sets whether Dolby Surround is matrix encoded into the two channels.
1361 */
1362 SurroundMode?: Eac3SurroundMode;
1363 }
1364 export type Eac3StereoDownmix = "NOT_INDICATED"|"LO_RO"|"LT_RT"|"DPL2"|string;
1365 export type Eac3SurroundExMode = "NOT_INDICATED"|"ENABLED"|"DISABLED"|string;
1366 export type Eac3SurroundMode = "NOT_INDICATED"|"ENABLED"|"DISABLED"|string;
1367 export type EmbeddedConvert608To708 = "UPCONVERT"|"DISABLED"|string;
1368 export interface EmbeddedDestinationSettings {
1369 /**
1370 * Ignore this setting unless your input captions are SCC format and your output container is MXF. With this combination of input captions format and output container, you can optionally use this setting to replace the input channel number with the track number that you specify. Specify a different number for each output captions track. If you don't specify an output track number, the system uses the input channel number for the output channel number. This setting applies to each output individually. You can optionally combine two captions channels in your output. The two output channel numbers can be one of the following pairs: 1,3; 2,4; 1,4; or 2,3.
1371 */
1372 Destination608ChannelNumber?: __integerMin1Max4;
1373 }
1374 export interface EmbeddedSourceSettings {
1375 /**
1376 * When set to UPCONVERT, 608 data is both passed through via the "608 compatibility bytes" fields of the 708 wrapper as well as translated into 708. 708 data present in the source content will be discarded.
1377 */
1378 Convert608To708?: EmbeddedConvert608To708;
1379 /**
1380 * Specifies the 608/708 channel number within the video track from which to extract captions. Unused for passthrough.
1381 */
1382 Source608ChannelNumber?: __integerMin1Max4;
1383 /**
1384 * Specifies the video track index used for extracting captions. The system only supports one input video track, so this should always be set to '1'.
1385 */
1386 Source608TrackNumber?: __integerMin1Max1;
1387 }
1388 export interface Endpoint {
1389 /**
1390 * URL of endpoint
1391 */
1392 Url?: __string;
1393 }
1394 export interface EsamManifestConfirmConditionNotification {
1395 /**
1396 * Provide your ESAM ManifestConfirmConditionNotification XML document inside your JSON job settings. Form the XML document as per OC-SP-ESAM-API-I03-131025. The transcoder will use the Manifest Conditioning instructions in the message that you supply.
1397 */
1398 MccXml?: __stringPatternSNManifestConfirmConditionNotificationNS;
1399 }
1400 export interface EsamSettings {
1401 /**
1402 * Specifies an ESAM ManifestConfirmConditionNotification XML as per OC-SP-ESAM-API-I03-131025. The transcoder uses the manifest conditioning instructions that you provide in the setting MCC XML (mccXml).
1403 */
1404 ManifestConfirmConditionNotification?: EsamManifestConfirmConditionNotification;
1405 /**
1406 * Specifies the stream distance, in milliseconds, between the SCTE 35 messages that the transcoder places and the splice points that they refer to. If the time between the start of the asset and the SCTE-35 message is less than this value, then the transcoder places the SCTE-35 marker at the beginning of the stream.
1407 */
1408 ResponseSignalPreroll?: __integerMin0Max30000;
1409 /**
1410 * Specifies an ESAM SignalProcessingNotification XML as per OC-SP-ESAM-API-I03-131025. The transcoder uses the signal processing instructions that you provide in the setting SCC XML (sccXml).
1411 */
1412 SignalProcessingNotification?: EsamSignalProcessingNotification;
1413 }
1414 export interface EsamSignalProcessingNotification {
1415 /**
1416 * Provide your ESAM SignalProcessingNotification XML document inside your JSON job settings. Form the XML document as per OC-SP-ESAM-API-I03-131025. The transcoder will use the signal processing instructions in the message that you supply. Provide your ESAM SignalProcessingNotification XML document inside your JSON job settings. If you want the service to place SCTE-35 markers at the insertion points you specify in the XML document, you must also enable SCTE-35 ESAM (scte35Esam). Note that you can either specify an ESAM XML document or enable SCTE-35 passthrough. You can't do both.
1417 */
1418 SccXml?: __stringPatternSNSignalProcessingNotificationNS;
1419 }
1420 export type F4vMoovPlacement = "PROGRESSIVE_DOWNLOAD"|"NORMAL"|string;
1421 export interface F4vSettings {
1422 /**
1423 * If set to PROGRESSIVE_DOWNLOAD, the MOOV atom is relocated to the beginning of the archive as required for progressive downloading. Otherwise it is placed normally at the end.
1424 */
1425 MoovPlacement?: F4vMoovPlacement;
1426 }
1427 export interface FileGroupSettings {
1428 /**
1429 * Use Destination (Destination) to specify the S3 output location and the output filename base. Destination accepts format identifiers. If you do not specify the base filename in the URI, the service will use the filename of the input file. If your job has multiple inputs, the service uses the filename of the first input file.
1430 */
1431 Destination?: __stringPatternS3;
1432 /**
1433 * Settings associated with the destination. Will vary based on the type of destination
1434 */
1435 DestinationSettings?: DestinationSettings;
1436 }
1437 export type FileSourceConvert608To708 = "UPCONVERT"|"DISABLED"|string;
1438 export interface FileSourceSettings {
1439 /**
1440 * If set to UPCONVERT, 608 caption data is both passed through via the "608 compatibility bytes" fields of the 708 wrapper as well as translated into 708. 708 data present in the source content will be discarded.
1441 */
1442 Convert608To708?: FileSourceConvert608To708;
1443 /**
1444 * External caption file used for loading captions. Accepted file extensions are 'scc', 'ttml', 'dfxp', 'stl', 'srt', and 'smi'.
1445 */
1446 SourceFile?: __stringMin14PatternS3SccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTSmiSMI;
1447 /**
1448 * Specifies a time delta in seconds to offset the captions from the source file.
1449 */
1450 TimeDelta?: __integerMinNegative2147483648Max2147483647;
1451 }
1452 export type FontScript = "AUTOMATIC"|"HANS"|"HANT"|string;
1453 export interface FrameCaptureSettings {
1454 /**
1455 * Frame capture will encode the first frame of the output stream, then one frame every framerateDenominator/framerateNumerator seconds. For example, settings of framerateNumerator = 1 and framerateDenominator = 3 (a rate of 1/3 frame per second) will capture the first frame, then 1 frame every 3s. Files will be named as filename.n.jpg where n is the 0-based sequence number of each Capture.
1456 */
1457 FramerateDenominator?: __integerMin1Max2147483647;
1458 /**
1459 * Frame capture will encode the first frame of the output stream, then one frame every framerateDenominator/framerateNumerator seconds. For example, settings of framerateNumerator = 1 and framerateDenominator = 3 (a rate of 1/3 frame per second) will capture the first frame, then 1 frame every 3s. Files will be named as filename.NNNNNNN.jpg where N is the 0-based frame sequence number zero padded to 7 decimal places.
1460 */
1461 FramerateNumerator?: __integerMin1Max2147483647;
1462 /**
1463 * Maximum number of captures (encoded jpg output files).
1464 */
1465 MaxCaptures?: __integerMin1Max10000000;
1466 /**
1467 * JPEG Quality - a higher value equals higher quality.
1468 */
1469 Quality?: __integerMin1Max100;
1470 }
1471 export interface GetJobRequest {
1472 /**
1473 * the job ID of the job.
1474 */
1475 Id: __string;
1476 }
1477 export interface GetJobResponse {
1478 /**
1479 * Each job converts an input file into an output file or files. For more information, see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
1480 */
1481 Job?: Job;
1482 }
1483 export interface GetJobTemplateRequest {
1484 /**
1485 * The name of the job template.
1486 */
1487 Name: __string;
1488 }
1489 export interface GetJobTemplateResponse {
1490 /**
1491 * A job template is a pre-made set of encoding instructions that you can use to quickly create a job.
1492 */
1493 JobTemplate?: JobTemplate;
1494 }
1495 export interface GetPresetRequest {
1496 /**
1497 * The name of the preset.
1498 */
1499 Name: __string;
1500 }
1501 export interface GetPresetResponse {
1502 /**
1503 * A preset is a collection of preconfigured media conversion settings that you want MediaConvert to apply to the output during the conversion process.
1504 */
1505 Preset?: Preset;
1506 }
1507 export interface GetQueueRequest {
1508 /**
1509 * The name of the queue that you want information about.
1510 */
1511 Name: __string;
1512 }
1513 export interface GetQueueResponse {
1514 /**
1515 * You can use queues to manage the resources that are available to your AWS account for running multiple transcoding jobs at the same time. If you don't specify a queue, the service sends all jobs through the default queue. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/working-with-queues.html.
1516 */
1517 Queue?: Queue;
1518 }
1519 export type H264AdaptiveQuantization = "OFF"|"LOW"|"MEDIUM"|"HIGH"|"HIGHER"|"MAX"|string;
1520 export type H264CodecLevel = "AUTO"|"LEVEL_1"|"LEVEL_1_1"|"LEVEL_1_2"|"LEVEL_1_3"|"LEVEL_2"|"LEVEL_2_1"|"LEVEL_2_2"|"LEVEL_3"|"LEVEL_3_1"|"LEVEL_3_2"|"LEVEL_4"|"LEVEL_4_1"|"LEVEL_4_2"|"LEVEL_5"|"LEVEL_5_1"|"LEVEL_5_2"|string;
1521 export type H264CodecProfile = "BASELINE"|"HIGH"|"HIGH_10BIT"|"HIGH_422"|"HIGH_422_10BIT"|"MAIN"|string;
1522 export type H264DynamicSubGop = "ADAPTIVE"|"STATIC"|string;
1523 export type H264EntropyEncoding = "CABAC"|"CAVLC"|string;
1524 export type H264FieldEncoding = "PAFF"|"FORCE_FIELD"|string;
1525 export type H264FlickerAdaptiveQuantization = "DISABLED"|"ENABLED"|string;
1526 export type H264FramerateControl = "INITIALIZE_FROM_SOURCE"|"SPECIFIED"|string;
1527 export type H264FramerateConversionAlgorithm = "DUPLICATE_DROP"|"INTERPOLATE"|string;
1528 export type H264GopBReference = "DISABLED"|"ENABLED"|string;
1529 export type H264GopSizeUnits = "FRAMES"|"SECONDS"|string;
1530 export type H264InterlaceMode = "PROGRESSIVE"|"TOP_FIELD"|"BOTTOM_FIELD"|"FOLLOW_TOP_FIELD"|"FOLLOW_BOTTOM_FIELD"|string;
1531 export type H264ParControl = "INITIALIZE_FROM_SOURCE"|"SPECIFIED"|string;
1532 export type H264QualityTuningLevel = "SINGLE_PASS"|"SINGLE_PASS_HQ"|"MULTI_PASS_HQ"|string;
1533 export interface H264QvbrSettings {
1534 /**
1535 * Use this setting only when Rate control mode is QVBR and Quality tuning level is Multi-pass HQ. For Max average bitrate values suited to the complexity of your input video, the service limits the average bitrate of the video part of this output to the value you choose. That is, the total size of the video element is less than or equal to the value you set multiplied by the number of seconds of encoded output.
1536 */
1537 MaxAverageBitrate?: __integerMin1000Max1152000000;
1538 /**
1539 * Required when you use QVBR rate control mode. That is, when you specify qvbrSettings within h264Settings. Specify the target quality level for this output, from 1 to 10. Use higher numbers for greater quality. Level 10 results in nearly lossless compression. The quality level for most broadcast-quality transcodes is between 6 and 9.
1540 */
1541 QvbrQualityLevel?: __integerMin1Max10;
1542 }
1543 export type H264RateControlMode = "VBR"|"CBR"|"QVBR"|string;
1544 export type H264RepeatPps = "DISABLED"|"ENABLED"|string;
1545 export type H264SceneChangeDetect = "DISABLED"|"ENABLED"|string;
1546 export interface H264Settings {
1547 /**
1548 * Adaptive quantization. Allows intra-frame quantizers to vary to improve visual quality.
1549 */
1550 AdaptiveQuantization?: H264AdaptiveQuantization;
1551 /**
1552 * Average bitrate in bits/second. Required for VBR and CBR. For MS Smooth outputs, bitrates must be unique when rounded down to the nearest multiple of 1000.
1553 */
1554 Bitrate?: __integerMin1000Max1152000000;
1555 /**
1556 * Specify an H.264 level that is consistent with your output video settings. If you aren't sure what level to specify, choose Auto (AUTO).
1557 */
1558 CodecLevel?: H264CodecLevel;
1559 /**
1560 * H.264 Profile. High 4:2:2 and 10-bit profiles are only available with the AVC-I License.
1561 */
1562 CodecProfile?: H264CodecProfile;
1563 /**
1564 * Choose Adaptive to improve subjective video quality for high-motion content. This will cause the service to use fewer B-frames (which infer information based on other frames) for high-motion portions of the video and more B-frames for low-motion portions. The maximum number of B-frames is limited by the value you provide for the setting B frames between reference frames (numberBFramesBetweenReferenceFrames).
1565 */
1566 DynamicSubGop?: H264DynamicSubGop;
1567 /**
1568 * Entropy encoding mode. Use CABAC (must be in Main or High profile) or CAVLC.
1569 */
1570 EntropyEncoding?: H264EntropyEncoding;
1571 /**
1572 * Choosing FORCE_FIELD disables PAFF encoding for interlaced outputs.
1573 */
1574 FieldEncoding?: H264FieldEncoding;
1575 /**
1576 * Adjust quantization within each frame to reduce flicker or 'pop' on I-frames.
1577 */
1578 FlickerAdaptiveQuantization?: H264FlickerAdaptiveQuantization;
1579 /**
1580 * If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator.
1581 */
1582 FramerateControl?: H264FramerateControl;
1583 /**
1584 * When set to INTERPOLATE, produces smoother motion during frame rate conversion.
1585 */
1586 FramerateConversionAlgorithm?: H264FramerateConversionAlgorithm;
1587 /**
1588 * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.
1589 */
1590 FramerateDenominator?: __integerMin1Max2147483647;
1591 /**
1592 * Frame rate numerator - frame rate is a fraction, e.g. 24000 / 1001 = 23.976 fps.
1593 */
1594 FramerateNumerator?: __integerMin1Max2147483647;
1595 /**
1596 * If enable, use reference B frames for GOP structures that have B frames > 1.
1597 */
1598 GopBReference?: H264GopBReference;
1599 /**
1600 * Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break output segmenting.
1601 */
1602 GopClosedCadence?: __integerMin0Max2147483647;
1603 /**
1604 * GOP Length (keyframe interval) in frames or seconds. Must be greater than zero.
1605 */
1606 GopSize?: __doubleMin0;
1607 /**
1608 * Indicates if the GOP Size in H264 is specified in frames or seconds. If seconds the system will convert the GOP Size into a frame count at run time.
1609 */
1610 GopSizeUnits?: H264GopSizeUnits;
1611 /**
1612 * Percentage of the buffer that should initially be filled (HRD buffer model).
1613 */
1614 HrdBufferInitialFillPercentage?: __integerMin0Max100;
1615 /**
1616 * Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000.
1617 */
1618 HrdBufferSize?: __integerMin0Max1152000000;
1619 /**
1620 * Use Interlace mode (InterlaceMode) to choose the scan line type for the output. * Top Field First (TOP_FIELD) and Bottom Field First (BOTTOM_FIELD) produce interlaced output with the entire output having the same field polarity (top or bottom first). * Follow, Default Top (FOLLOW_TOP_FIELD) and Follow, Default Bottom (FOLLOW_BOTTOM_FIELD) use the same field polarity as the source. Therefore, behavior depends on the input scan type, as follows.
1621 - If the source is interlaced, the output will be interlaced with the same polarity as the source (it will follow the source). The output could therefore be a mix of "top field first" and "bottom field first".
1622 - If the source is progressive, the output will be interlaced with "top field first" or "bottom field first" polarity, depending on which of the Follow options you chose.
1623 */
1624 InterlaceMode?: H264InterlaceMode;
1625 /**
1626 * Maximum bitrate in bits/second. For example, enter five megabits per second as 5000000. Required when Rate control mode is QVBR.
1627 */
1628 MaxBitrate?: __integerMin1000Max1152000000;
1629 /**
1630 * Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. This setting is only used when Scene Change Detect is enabled. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1
1631 */
1632 MinIInterval?: __integerMin0Max30;
1633 /**
1634 * Number of B-frames between reference frames.
1635 */
1636 NumberBFramesBetweenReferenceFrames?: __integerMin0Max7;
1637 /**
1638 * Number of reference frames to use. The encoder may use more than requested if using B-frames and/or interlaced encoding.
1639 */
1640 NumberReferenceFrames?: __integerMin1Max6;
1641 /**
1642 * Using the API, enable ParFollowSource if you want the service to use the pixel aspect ratio from the input. Using the console, do this by choosing Follow source for Pixel aspect ratio.
1643 */
1644 ParControl?: H264ParControl;
1645 /**
1646 * Pixel Aspect Ratio denominator.
1647 */
1648 ParDenominator?: __integerMin1Max2147483647;
1649 /**
1650 * Pixel Aspect Ratio numerator.
1651 */
1652 ParNumerator?: __integerMin1Max2147483647;
1653 /**
1654 * Use Quality tuning level (H264QualityTuningLevel) to specifiy whether to use fast single-pass, high-quality singlepass, or high-quality multipass video encoding.
1655 */
1656 QualityTuningLevel?: H264QualityTuningLevel;
1657 /**
1658 * Settings for quality-defined variable bitrate encoding with the H.264 codec. Required when you set Rate control mode to QVBR. Not valid when you set Rate control mode to a value other than QVBR, or when you don't define Rate control mode.
1659 */
1660 QvbrSettings?: H264QvbrSettings;
1661 /**
1662 * Use this setting to specify whether this output has a variable bitrate (VBR), constant bitrate (CBR) or quality-defined variable bitrate (QVBR).
1663 */
1664 RateControlMode?: H264RateControlMode;
1665 /**
1666 * Places a PPS header on each encoded picture, even if repeated.
1667 */
1668 RepeatPps?: H264RepeatPps;
1669 /**
1670 * Scene change detection (inserts I-frames on scene changes).
1671 */
1672 SceneChangeDetect?: H264SceneChangeDetect;
1673 /**
1674 * Number of slices per picture. Must be less than or equal to the number of macroblock rows for progressive pictures, and less than or equal to half the number of macroblock rows for interlaced pictures.
1675 */
1676 Slices?: __integerMin1Max32;
1677 /**
1678 * Enables Slow PAL rate conversion. 23.976fps and 24fps input is relabeled as 25fps, and audio is sped up correspondingly.
1679 */
1680 SlowPal?: H264SlowPal;
1681 /**
1682 * Softness. Selects quantizer matrix, larger values reduce high-frequency content in the encoded image.
1683 */
1684 Softness?: __integerMin0Max128;
1685 /**
1686 * Adjust quantization within each frame based on spatial variation of content complexity.
1687 */
1688 SpatialAdaptiveQuantization?: H264SpatialAdaptiveQuantization;
1689 /**
1690 * Produces a bitstream compliant with SMPTE RP-2027.
1691 */
1692 Syntax?: H264Syntax;
1693 /**
1694 * This field applies only if the Streams > Advanced > Framerate (framerate) field is set to 29.970. This field works with the Streams > Advanced > Preprocessors > Deinterlacer field (deinterlace_mode) and the Streams > Advanced > Interlaced Mode field (interlace_mode) to identify the scan type for the output: Progressive, Interlaced, Hard Telecine or Soft Telecine. - Hard: produces 29.97i output from 23.976 input. - Soft: produces 23.976; the player converts this output to 29.97i.
1695 */
1696 Telecine?: H264Telecine;
1697 /**
1698 * Adjust quantization within each frame based on temporal variation of content complexity.
1699 */
1700 TemporalAdaptiveQuantization?: H264TemporalAdaptiveQuantization;
1701 /**
1702 * Inserts timecode for each frame as 4 bytes of an unregistered SEI message.
1703 */
1704 UnregisteredSeiTimecode?: H264UnregisteredSeiTimecode;
1705 }
1706 export type H264SlowPal = "DISABLED"|"ENABLED"|string;
1707 export type H264SpatialAdaptiveQuantization = "DISABLED"|"ENABLED"|string;
1708 export type H264Syntax = "DEFAULT"|"RP2027"|string;
1709 export type H264Telecine = "NONE"|"SOFT"|"HARD"|string;
1710 export type H264TemporalAdaptiveQuantization = "DISABLED"|"ENABLED"|string;
1711 export type H264UnregisteredSeiTimecode = "DISABLED"|"ENABLED"|string;
1712 export type H265AdaptiveQuantization = "OFF"|"LOW"|"MEDIUM"|"HIGH"|"HIGHER"|"MAX"|string;
1713 export type H265AlternateTransferFunctionSei = "DISABLED"|"ENABLED"|string;
1714 export type H265CodecLevel = "AUTO"|"LEVEL_1"|"LEVEL_2"|"LEVEL_2_1"|"LEVEL_3"|"LEVEL_3_1"|"LEVEL_4"|"LEVEL_4_1"|"LEVEL_5"|"LEVEL_5_1"|"LEVEL_5_2"|"LEVEL_6"|"LEVEL_6_1"|"LEVEL_6_2"|string;
1715 export type H265CodecProfile = "MAIN_MAIN"|"MAIN_HIGH"|"MAIN10_MAIN"|"MAIN10_HIGH"|"MAIN_422_8BIT_MAIN"|"MAIN_422_8BIT_HIGH"|"MAIN_422_10BIT_MAIN"|"MAIN_422_10BIT_HIGH"|string;
1716 export type H265DynamicSubGop = "ADAPTIVE"|"STATIC"|string;
1717 export type H265FlickerAdaptiveQuantization = "DISABLED"|"ENABLED"|string;
1718 export type H265FramerateControl = "INITIALIZE_FROM_SOURCE"|"SPECIFIED"|string;
1719 export type H265FramerateConversionAlgorithm = "DUPLICATE_DROP"|"INTERPOLATE"|string;
1720 export type H265GopBReference = "DISABLED"|"ENABLED"|string;
1721 export type H265GopSizeUnits = "FRAMES"|"SECONDS"|string;
1722 export type H265InterlaceMode = "PROGRESSIVE"|"TOP_FIELD"|"BOTTOM_FIELD"|"FOLLOW_TOP_FIELD"|"FOLLOW_BOTTOM_FIELD"|string;
1723 export type H265ParControl = "INITIALIZE_FROM_SOURCE"|"SPECIFIED"|string;
1724 export type H265QualityTuningLevel = "SINGLE_PASS"|"SINGLE_PASS_HQ"|"MULTI_PASS_HQ"|string;
1725 export interface H265QvbrSettings {
1726 /**
1727 * Use this setting only when Rate control mode is QVBR and Quality tuning level is Multi-pass HQ. For Max average bitrate values suited to the complexity of your input video, the service limits the average bitrate of the video part of this output to the value you choose. That is, the total size of the video element is less than or equal to the value you set multiplied by the number of seconds of encoded output.
1728 */
1729 MaxAverageBitrate?: __integerMin1000Max1466400000;
1730 /**
1731 * Required when you use QVBR rate control mode. That is, when you specify qvbrSettings within h265Settings. Specify the target quality level for this output, from 1 to 10. Use higher numbers for greater quality. Level 10 results in nearly lossless compression. The quality level for most broadcast-quality transcodes is between 6 and 9.
1732 */
1733 QvbrQualityLevel?: __integerMin1Max10;
1734 }
1735 export type H265RateControlMode = "VBR"|"CBR"|"QVBR"|string;
1736 export type H265SampleAdaptiveOffsetFilterMode = "DEFAULT"|"ADAPTIVE"|"OFF"|string;
1737 export type H265SceneChangeDetect = "DISABLED"|"ENABLED"|string;
1738 export interface H265Settings {
1739 /**
1740 * Adaptive quantization. Allows intra-frame quantizers to vary to improve visual quality.
1741 */
1742 AdaptiveQuantization?: H265AdaptiveQuantization;
1743 /**
1744 * Enables Alternate Transfer Function SEI message for outputs using Hybrid Log Gamma (HLG) Electro-Optical Transfer Function (EOTF).
1745 */
1746 AlternateTransferFunctionSei?: H265AlternateTransferFunctionSei;
1747 /**
1748 * Average bitrate in bits/second. Required for VBR and CBR. For MS Smooth outputs, bitrates must be unique when rounded down to the nearest multiple of 1000.
1749 */
1750 Bitrate?: __integerMin1000Max1466400000;
1751 /**
1752 * H.265 Level.
1753 */
1754 CodecLevel?: H265CodecLevel;
1755 /**
1756 * Represents the Profile and Tier, per the HEVC (H.265) specification. Selections are grouped as [Profile] / [Tier], so "Main/High" represents Main Profile with High Tier. 4:2:2 profiles are only available with the HEVC 4:2:2 License.
1757 */
1758 CodecProfile?: H265CodecProfile;
1759 /**
1760 * Choose Adaptive to improve subjective video quality for high-motion content. This will cause the service to use fewer B-frames (which infer information based on other frames) for high-motion portions of the video and more B-frames for low-motion portions. The maximum number of B-frames is limited by the value you provide for the setting B frames between reference frames (numberBFramesBetweenReferenceFrames).
1761 */
1762 DynamicSubGop?: H265DynamicSubGop;
1763 /**
1764 * Adjust quantization within each frame to reduce flicker or 'pop' on I-frames.
1765 */
1766 FlickerAdaptiveQuantization?: H265FlickerAdaptiveQuantization;
1767 /**
1768 * If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job sepecification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator.
1769 */
1770 FramerateControl?: H265FramerateControl;
1771 /**
1772 * When set to INTERPOLATE, produces smoother motion during frame rate conversion.
1773 */
1774 FramerateConversionAlgorithm?: H265FramerateConversionAlgorithm;
1775 /**
1776 * Frame rate denominator.
1777 */
1778 FramerateDenominator?: __integerMin1Max2147483647;
1779 /**
1780 * Frame rate numerator - frame rate is a fraction, e.g. 24000 / 1001 = 23.976 fps.
1781 */
1782 FramerateNumerator?: __integerMin1Max2147483647;
1783 /**
1784 * If enable, use reference B frames for GOP structures that have B frames > 1.
1785 */
1786 GopBReference?: H265GopBReference;
1787 /**
1788 * Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break output segmenting.
1789 */
1790 GopClosedCadence?: __integerMin0Max2147483647;
1791 /**
1792 * GOP Length (keyframe interval) in frames or seconds. Must be greater than zero.
1793 */
1794 GopSize?: __doubleMin0;
1795 /**
1796 * Indicates if the GOP Size in H265 is specified in frames or seconds. If seconds the system will convert the GOP Size into a frame count at run time.
1797 */
1798 GopSizeUnits?: H265GopSizeUnits;
1799 /**
1800 * Percentage of the buffer that should initially be filled (HRD buffer model).
1801 */
1802 HrdBufferInitialFillPercentage?: __integerMin0Max100;
1803 /**
1804 * Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000.
1805 */
1806 HrdBufferSize?: __integerMin0Max1466400000;
1807 /**
1808 * Use Interlace mode (InterlaceMode) to choose the scan line type for the output. * Top Field First (TOP_FIELD) and Bottom Field First (BOTTOM_FIELD) produce interlaced output with the entire output having the same field polarity (top or bottom first). * Follow, Default Top (FOLLOW_TOP_FIELD) and Follow, Default Bottom (FOLLOW_BOTTOM_FIELD) use the same field polarity as the source. Therefore, behavior depends on the input scan type.
1809 - If the source is interlaced, the output will be interlaced with the same polarity as the source (it will follow the source). The output could therefore be a mix of "top field first" and "bottom field first".
1810 - If the source is progressive, the output will be interlaced with "top field first" or "bottom field first" polarity, depending on which of the Follow options you chose.
1811 */
1812 InterlaceMode?: H265InterlaceMode;
1813 /**
1814 * Maximum bitrate in bits/second. For example, enter five megabits per second as 5000000. Required when Rate control mode is QVBR.
1815 */
1816 MaxBitrate?: __integerMin1000Max1466400000;
1817 /**
1818 * Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. This setting is only used when Scene Change Detect is enabled. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1
1819 */
1820 MinIInterval?: __integerMin0Max30;
1821 /**
1822 * Number of B-frames between reference frames.
1823 */
1824 NumberBFramesBetweenReferenceFrames?: __integerMin0Max7;
1825 /**
1826 * Number of reference frames to use. The encoder may use more than requested if using B-frames and/or interlaced encoding.
1827 */
1828 NumberReferenceFrames?: __integerMin1Max6;
1829 /**
1830 * Using the API, enable ParFollowSource if you want the service to use the pixel aspect ratio from the input. Using the console, do this by choosing Follow source for Pixel aspect ratio.
1831 */
1832 ParControl?: H265ParControl;
1833 /**
1834 * Pixel Aspect Ratio denominator.
1835 */
1836 ParDenominator?: __integerMin1Max2147483647;
1837 /**
1838 * Pixel Aspect Ratio numerator.
1839 */
1840 ParNumerator?: __integerMin1Max2147483647;
1841 /**
1842 * Use Quality tuning level (H265QualityTuningLevel) to specifiy whether to use fast single-pass, high-quality singlepass, or high-quality multipass video encoding.
1843 */
1844 QualityTuningLevel?: H265QualityTuningLevel;
1845 /**
1846 * Settings for quality-defined variable bitrate encoding with the H.265 codec. Required when you set Rate control mode to QVBR. Not valid when you set Rate control mode to a value other than QVBR, or when you don't define Rate control mode.
1847 */
1848 QvbrSettings?: H265QvbrSettings;
1849 /**
1850 * Use this setting to specify whether this output has a variable bitrate (VBR), constant bitrate (CBR) or quality-defined variable bitrate (QVBR).
1851 */
1852 RateControlMode?: H265RateControlMode;
1853 /**
1854 * Specify Sample Adaptive Offset (SAO) filter strength. Adaptive mode dynamically selects best strength based on content
1855 */
1856 SampleAdaptiveOffsetFilterMode?: H265SampleAdaptiveOffsetFilterMode;
1857 /**
1858 * Scene change detection (inserts I-frames on scene changes).
1859 */
1860 SceneChangeDetect?: H265SceneChangeDetect;
1861 /**
1862 * Number of slices per picture. Must be less than or equal to the number of macroblock rows for progressive pictures, and less than or equal to half the number of macroblock rows for interlaced pictures.
1863 */
1864 Slices?: __integerMin1Max32;
1865 /**
1866 * Enables Slow PAL rate conversion. 23.976fps and 24fps input is relabeled as 25fps, and audio is sped up correspondingly.
1867 */
1868 SlowPal?: H265SlowPal;
1869 /**
1870 * Adjust quantization within each frame based on spatial variation of content complexity.
1871 */
1872 SpatialAdaptiveQuantization?: H265SpatialAdaptiveQuantization;
1873 /**
1874 * This field applies only if the Streams > Advanced > Framerate (framerate) field is set to 29.970. This field works with the Streams > Advanced > Preprocessors > Deinterlacer field (deinterlace_mode) and the Streams > Advanced > Interlaced Mode field (interlace_mode) to identify the scan type for the output: Progressive, Interlaced, Hard Telecine or Soft Telecine. - Hard: produces 29.97i output from 23.976 input. - Soft: produces 23.976; the player converts this output to 29.97i.
1875 */
1876 Telecine?: H265Telecine;
1877 /**
1878 * Adjust quantization within each frame based on temporal variation of content complexity.
1879 */
1880 TemporalAdaptiveQuantization?: H265TemporalAdaptiveQuantization;
1881 /**
1882 * Enables temporal layer identifiers in the encoded bitstream. Up to 3 layers are supported depending on GOP structure: I- and P-frames form one layer, reference B-frames can form a second layer and non-reference b-frames can form a third layer. Decoders can optionally decode only the lower temporal layers to generate a lower frame rate output. For example, given a bitstream with temporal IDs and with b-frames = 1 (i.e. IbPbPb display order), a decoder could decode all the frames for full frame rate output or only the I and P frames (lowest temporal layer) for a half frame rate output.
1883 */
1884 TemporalIds?: H265TemporalIds;
1885 /**
1886 * Enable use of tiles, allowing horizontal as well as vertical subdivision of the encoded pictures.
1887 */
1888 Tiles?: H265Tiles;
1889 /**
1890 * Inserts timecode for each frame as 4 bytes of an unregistered SEI message.
1891 */
1892 UnregisteredSeiTimecode?: H265UnregisteredSeiTimecode;
1893 /**
1894 * Use this setting only for outputs encoded with H.265 that are in CMAF or DASH output groups. If you include writeMp4PackagingType in your JSON job specification for other outputs, your video might not work properly with downstream systems and video players. If the location of parameter set NAL units don't matter in your workflow, ignore this setting. The service defaults to marking your output as HEV1. Choose HVC1 to mark your output as HVC1. This makes your output compliant with this specification: ISO IECJTC1 SC29 N13798 Text ISO/IEC FDIS 14496-15 3rd Edition. For these outputs, the service stores parameter set NAL units in the sample headers but not in the samples directly. Keep the default HEV1 to mark your output as HEV1. For these outputs, the service writes parameter set NAL units directly into the samples.
1895 */
1896 WriteMp4PackagingType?: H265WriteMp4PackagingType;
1897 }
1898 export type H265SlowPal = "DISABLED"|"ENABLED"|string;
1899 export type H265SpatialAdaptiveQuantization = "DISABLED"|"ENABLED"|string;
1900 export type H265Telecine = "NONE"|"SOFT"|"HARD"|string;
1901 export type H265TemporalAdaptiveQuantization = "DISABLED"|"ENABLED"|string;
1902 export type H265TemporalIds = "DISABLED"|"ENABLED"|string;
1903 export type H265Tiles = "DISABLED"|"ENABLED"|string;
1904 export type H265UnregisteredSeiTimecode = "DISABLED"|"ENABLED"|string;
1905 export type H265WriteMp4PackagingType = "HVC1"|"HEV1"|string;
1906 export interface Hdr10Metadata {
1907 /**
1908 * HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction.
1909 */
1910 BluePrimaryX?: __integerMin0Max50000;
1911 /**
1912 * HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction.
1913 */
1914 BluePrimaryY?: __integerMin0Max50000;
1915 /**
1916 * HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction.
1917 */
1918 GreenPrimaryX?: __integerMin0Max50000;
1919 /**
1920 * HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction.
1921 */
1922 GreenPrimaryY?: __integerMin0Max50000;
1923 /**
1924 * Maximum light level among all samples in the coded video sequence, in units of candelas per square meter.
1925 */
1926 MaxContentLightLevel?: __integerMin0Max65535;
1927 /**
1928 * Maximum average light level of any frame in the coded video sequence, in units of candelas per square meter.
1929 */
1930 MaxFrameAverageLightLevel?: __integerMin0Max65535;
1931 /**
1932 * Nominal maximum mastering display luminance in units of of 0.0001 candelas per square meter.
1933 */
1934 MaxLuminance?: __integerMin0Max2147483647;
1935 /**
1936 * Nominal minimum mastering display luminance in units of of 0.0001 candelas per square meter
1937 */
1938 MinLuminance?: __integerMin0Max2147483647;
1939 /**
1940 * HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction.
1941 */
1942 RedPrimaryX?: __integerMin0Max50000;
1943 /**
1944 * HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction.
1945 */
1946 RedPrimaryY?: __integerMin0Max50000;
1947 /**
1948 * HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction.
1949 */
1950 WhitePointX?: __integerMin0Max50000;
1951 /**
1952 * HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction.
1953 */
1954 WhitePointY?: __integerMin0Max50000;
1955 }
1956 export type HlsAdMarkers = "ELEMENTAL"|"ELEMENTAL_SCTE35"|string;
1957 export type HlsAudioTrackType = "ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT"|"ALTERNATE_AUDIO_AUTO_SELECT"|"ALTERNATE_AUDIO_NOT_AUTO_SELECT"|"AUDIO_ONLY_VARIANT_STREAM"|string;
1958 export interface HlsCaptionLanguageMapping {
1959 /**
1960 * Caption channel.
1961 */
1962 CaptionChannel?: __integerMinNegative2147483648Max2147483647;
1963 /**
1964 * Specify the language for this caption channel, using the ISO 639-2 or ISO 639-3 three-letter language code
1965 */
1966 CustomLanguageCode?: __stringMin3Max3PatternAZaZ3;
1967 /**
1968 * Specify the language, using the ISO 639-2 three-letter code listed at https://www.loc.gov/standards/iso639-2/php/code_list.php.
1969 */
1970 LanguageCode?: LanguageCode;
1971 /**
1972 * Caption language description.
1973 */
1974 LanguageDescription?: __string;
1975 }
1976 export type HlsCaptionLanguageSetting = "INSERT"|"OMIT"|"NONE"|string;
1977 export type HlsClientCache = "DISABLED"|"ENABLED"|string;
1978 export type HlsCodecSpecification = "RFC_6381"|"RFC_4281"|string;
1979 export type HlsDirectoryStructure = "SINGLE_DIRECTORY"|"SUBDIRECTORY_PER_STREAM"|string;
1980 export interface HlsEncryptionSettings {
1981 /**
1982 * This is a 128-bit, 16-byte hex value represented by a 32-character text string. If this parameter is not set then the Initialization Vector will follow the segment number by default.
1983 */
1984 ConstantInitializationVector?: __stringMin32Max32Pattern09aFAF32;
1985 /**
1986 * Encrypts the segments with the given encryption scheme. Leave blank to disable. Selecting 'Disabled' in the web interface also disables encryption.
1987 */
1988 EncryptionMethod?: HlsEncryptionType;
1989 /**
1990 * The Initialization Vector is a 128-bit number used in conjunction with the key for encrypting blocks. If set to INCLUDE, Initialization Vector is listed in the manifest. Otherwise Initialization Vector is not in the manifest.
1991 */
1992 InitializationVectorInManifest?: HlsInitializationVectorInManifest;
1993 /**
1994 * Enable this setting to insert the EXT-X-SESSION-KEY element into the master playlist. This allows for offline Apple HLS FairPlay content protection.
1995 */
1996 OfflineEncrypted?: HlsOfflineEncrypted;
1997 /**
1998 * Settings for use with a SPEKE key provider
1999 */
2000 SpekeKeyProvider?: SpekeKeyProvider;
2001 /**
2002 * Use these settings to set up encryption with a static key provider.
2003 */
2004 StaticKeyProvider?: StaticKeyProvider;
2005 /**
2006 * Indicates which type of key provider is used for encryption.
2007 */
2008 Type?: HlsKeyProviderType;
2009 }
2010 export type HlsEncryptionType = "AES128"|"SAMPLE_AES"|string;
2011 export interface HlsGroupSettings {
2012 /**
2013 * Choose one or more ad marker types to pass SCTE35 signals through to this group of Apple HLS outputs.
2014 */
2015 AdMarkers?: __listOfHlsAdMarkers;
2016 /**
2017 * A partial URI prefix that will be prepended to each output in the media .m3u8 file. Can be used if base manifest is delivered from a different URL than the main .m3u8 file.
2018 */
2019 BaseUrl?: __string;
2020 /**
2021 * Language to be used on Caption outputs
2022 */
2023 CaptionLanguageMappings?: __listOfHlsCaptionLanguageMapping;
2024 /**
2025 * Applies only to 608 Embedded output captions. Insert: Include CLOSED-CAPTIONS lines in the manifest. Specify at least one language in the CC1 Language Code field. One CLOSED-CAPTION line is added for each Language Code you specify. Make sure to specify the languages in the order in which they appear in the original source (if the source is embedded format) or the order of the caption selectors (if the source is other than embedded). Otherwise, languages in the manifest will not match up properly with the output captions. None: Include CLOSED-CAPTIONS=NONE line in the manifest. Omit: Omit any CLOSED-CAPTIONS line from the manifest.
2026 */
2027 CaptionLanguageSetting?: HlsCaptionLanguageSetting;
2028 /**
2029 * When set to ENABLED, sets #EXT-X-ALLOW-CACHE:no tag, which prevents client from saving media segments for later replay.
2030 */
2031 ClientCache?: HlsClientCache;
2032 /**
2033 * Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.
2034 */
2035 CodecSpecification?: HlsCodecSpecification;
2036 /**
2037 * Use Destination (Destination) to specify the S3 output location and the output filename base. Destination accepts format identifiers. If you do not specify the base filename in the URI, the service will use the filename of the input file. If your job has multiple inputs, the service uses the filename of the first input file.
2038 */
2039 Destination?: __stringPatternS3;
2040 /**
2041 * Settings associated with the destination. Will vary based on the type of destination
2042 */
2043 DestinationSettings?: DestinationSettings;
2044 /**
2045 * Indicates whether segments should be placed in subdirectories.
2046 */
2047 DirectoryStructure?: HlsDirectoryStructure;
2048 /**
2049 * DRM settings.
2050 */
2051 Encryption?: HlsEncryptionSettings;
2052 /**
2053 * When set to GZIP, compresses HLS playlist.
2054 */
2055 ManifestCompression?: HlsManifestCompression;
2056 /**
2057 * Indicates whether the output manifest should use floating point values for segment duration.
2058 */
2059 ManifestDurationFormat?: HlsManifestDurationFormat;
2060 /**
2061 * Keep this setting at the default value of 0, unless you are troubleshooting a problem with how devices play back the end of your video asset. If you know that player devices are hanging on the final segment of your video because the length of your final segment is too short, use this setting to specify a minimum final segment length, in seconds. Choose a value that is greater than or equal to 1 and less than your segment length. When you specify a value for this setting, the encoder will combine any final segment that is shorter than the length that you specify with the previous segment. For example, your segment length is 3 seconds and your final segment is .5 seconds without a minimum final segment length; when you set the minimum final segment length to 1, your final segment is 3.5 seconds.
2062 */
2063 MinFinalSegmentLength?: __doubleMin0Max2147483647;
2064 /**
2065 * When set, Minimum Segment Size is enforced by looking ahead and back within the specified range for a nearby avail and extending the segment size if needed.
2066 */
2067 MinSegmentLength?: __integerMin0Max2147483647;
2068 /**
2069 * Indicates whether the .m3u8 manifest file should be generated for this HLS output group.
2070 */
2071 OutputSelection?: HlsOutputSelection;
2072 /**
2073 * Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files. The value is calculated as follows: either the program date and time are initialized using the input timecode source, or the time is initialized using the input timecode source and the date is initialized using the timestamp_offset.
2074 */
2075 ProgramDateTime?: HlsProgramDateTime;
2076 /**
2077 * Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds.
2078 */
2079 ProgramDateTimePeriod?: __integerMin0Max3600;
2080 /**
2081 * When set to SINGLE_FILE, emits program as a single media resource (.ts) file, uses #EXT-X-BYTERANGE tags to index segment for playback.
2082 */
2083 SegmentControl?: HlsSegmentControl;
2084 /**
2085 * Length of MPEG-2 Transport Stream segments to create (in seconds). Note that segments will end on the next keyframe after this number of seconds, so actual segment length may be longer.
2086 */
2087 SegmentLength?: __integerMin1Max2147483647;
2088 /**
2089 * Number of segments to write to a subdirectory before starting a new one. directoryStructure must be SINGLE_DIRECTORY for this setting to have an effect.
2090 */
2091 SegmentsPerSubdirectory?: __integerMin1Max2147483647;
2092 /**
2093 * Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.
2094 */
2095 StreamInfResolution?: HlsStreamInfResolution;
2096 /**
2097 * Indicates ID3 frame that has the timecode.
2098 */
2099 TimedMetadataId3Frame?: HlsTimedMetadataId3Frame;
2100 /**
2101 * Timed Metadata interval in seconds.
2102 */
2103 TimedMetadataId3Period?: __integerMinNegative2147483648Max2147483647;
2104 /**
2105 * Provides an extra millisecond delta offset to fine tune the timestamps.
2106 */
2107 TimestampDeltaMilliseconds?: __integerMinNegative2147483648Max2147483647;
2108 }
2109 export type HlsIFrameOnlyManifest = "INCLUDE"|"EXCLUDE"|string;
2110 export type HlsInitializationVectorInManifest = "INCLUDE"|"EXCLUDE"|string;
2111 export type HlsKeyProviderType = "SPEKE"|"STATIC_KEY"|string;
2112 export type HlsManifestCompression = "GZIP"|"NONE"|string;
2113 export type HlsManifestDurationFormat = "FLOATING_POINT"|"INTEGER"|string;
2114 export type HlsOfflineEncrypted = "ENABLED"|"DISABLED"|string;
2115 export type HlsOutputSelection = "MANIFESTS_AND_SEGMENTS"|"SEGMENTS_ONLY"|string;
2116 export type HlsProgramDateTime = "INCLUDE"|"EXCLUDE"|string;
2117 export type HlsSegmentControl = "SINGLE_FILE"|"SEGMENTED_FILES"|string;
2118 export interface HlsSettings {
2119 /**
2120 * Specifies the group to which the audio Rendition belongs.
2121 */
2122 AudioGroupId?: __string;
2123 /**
2124 * List all the audio groups that are used with the video output stream. Input all the audio GROUP-IDs that are associated to the video, separate by ','.
2125 */
2126 AudioRenditionSets?: __string;
2127 /**
2128 * Four types of audio-only tracks are supported: Audio-Only Variant Stream The client can play back this audio-only stream instead of video in low-bandwidth scenarios. Represented as an EXT-X-STREAM-INF in the HLS manifest. Alternate Audio, Auto Select, Default Alternate rendition that the client should try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=YES, AUTOSELECT=YES Alternate Audio, Auto Select, Not Default Alternate rendition that the client may try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=YES Alternate Audio, not Auto Select Alternate rendition that the client will not try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=NO
2129 */
2130 AudioTrackType?: HlsAudioTrackType;
2131 /**
2132 * When set to INCLUDE, writes I-Frame Only Manifest in addition to the HLS manifest
2133 */
2134 IFrameOnlyManifest?: HlsIFrameOnlyManifest;
2135 /**
2136 * String concatenated to end of segment filenames. Accepts "Format Identifiers":#format_identifier_parameters.
2137 */
2138 SegmentModifier?: __string;
2139 }
2140 export type HlsStreamInfResolution = "INCLUDE"|"EXCLUDE"|string;
2141 export type HlsTimedMetadataId3Frame = "NONE"|"PRIV"|"TDRL"|string;
2142 export interface Id3Insertion {
2143 /**
2144 * Use ID3 tag (Id3) to provide a tag value in base64-encode format.
2145 */
2146 Id3?: __stringPatternAZaZ0902;
2147 /**
2148 * Provide a Timecode (TimeCode) in HH:MM:SS:FF or HH:MM:SS;FF format.
2149 */
2150 Timecode?: __stringPattern010920405090509092;
2151 }
2152 export interface ImageInserter {
2153 /**
2154 * Specify the images that you want to overlay on your video. The images must be PNG or TGA files.
2155 */
2156 InsertableImages?: __listOfInsertableImage;
2157 }
2158 export interface Input {
2159 /**
2160 * Specifies set of audio selectors within an input to combine. An input may have multiple audio selector groups. See "Audio Selector Group":#inputs-audio_selector_group for more information.
2161 */
2162 AudioSelectorGroups?: __mapOfAudioSelectorGroup;
2163 /**
2164 * Use Audio selectors (AudioSelectors) to specify a track or set of tracks from the input that you will use in your outputs. You can use mutiple Audio selectors per input.
2165 */
2166 AudioSelectors?: __mapOfAudioSelector;
2167 /**
2168 * Use Captions selectors (CaptionSelectors) to specify the captions data from the input that you will use in your outputs. You can use mutiple captions selectors per input.
2169 */
2170 CaptionSelectors?: __mapOfCaptionSelector;
2171 /**
2172 * Enable Deblock (InputDeblockFilter) to produce smoother motion in the output. Default is disabled. Only manaully controllable for MPEG2 and uncompressed video inputs.
2173 */
2174 DeblockFilter?: InputDeblockFilter;
2175 /**
2176 * Settings for decrypting any input files that you encrypt before you upload them to Amazon S3. MediaConvert can decrypt files only when you use AWS Key Management Service (KMS) to encrypt the data key that you use to encrypt your content.
2177 */
2178 DecryptionSettings?: InputDecryptionSettings;
2179 /**
2180 * Enable Denoise (InputDenoiseFilter) to filter noise from the input. Default is disabled. Only applicable to MPEG2, H.264, H.265, and uncompressed video inputs.
2181 */
2182 DenoiseFilter?: InputDenoiseFilter;
2183 /**
2184 * Specify the source file for your transcoding job. You can use multiple inputs in a single job. The service concatenates these inputs, in the order that you specify them in the job, to create the outputs. If your input format is IMF, specify your input by providing the path to your CPL. For example, "s3://bucket/vf/cpl.xml". If the CPL is in an incomplete IMP, make sure to use *Supplemental IMPs* (SupplementalImps) to specify any supplemental IMPs that contain assets referenced by the CPL.
2185 */
2186 FileInput?: __stringPatternS3MM2VVMMPPEEGGAAVVIIMMPP4FFLLVVMMPPTTMMPPGGMM4VVTTRRPPFF4VVMM2TTSSTTSS264HH264MMKKVVMMOOVVMMTTSSMM2TTWWMMVVAASSFFVVOOBB3GGPP3GGPPPPMMXXFFDDIIVVXXXXVVIIDDRRAAWWDDVVGGXXFFMM1VV3GG2VVMMFFMM3UU8LLCCHHGGXXFFMMPPEEGG2MMXXFFMMPPEEGG2MMXXFFHHDDWWAAVVYY4MMXXMMLL;
2187 /**
2188 * Use Filter enable (InputFilterEnable) to specify how the transcoding service applies the denoise and deblock filters. You must also enable the filters separately, with Denoise (InputDenoiseFilter) and Deblock (InputDeblockFilter). * Auto - The transcoding service determines whether to apply filtering, depending on input type and quality. * Disable - The input is not filtered. This is true even if you use the API to enable them in (InputDeblockFilter) and (InputDeblockFilter). * Force - The in put is filtered regardless of input type.
2189 */
2190 FilterEnable?: InputFilterEnable;
2191 /**
2192 * Use Filter strength (FilterStrength) to adjust the magnitude the input filter settings (Deblock and Denoise). The range is -5 to 5. Default is 0.
2193 */
2194 FilterStrength?: __integerMinNegative5Max5;
2195 /**
2196 * Enable the image inserter feature to include a graphic overlay on your video. Enable or disable this feature for each input individually. This setting is disabled by default.
2197 */
2198 ImageInserter?: ImageInserter;
2199 /**
2200 * (InputClippings) contains sets of start and end times that together specify a portion of the input to be used in the outputs. If you provide only a start time, the clip will be the entire input from that point to the end. If you provide only an end time, it will be the entire input up to that point. When you specify more than one input clip, the transcoding service creates the job outputs by stringing the clips together in the order you specify them.
2201 */
2202 InputClippings?: __listOfInputClipping;
2203 /**
2204 * Use Program (programNumber) to select a specific program from within a multi-program transport stream. Note that Quad 4K is not currently supported. Default is the first program within the transport stream. If the program you specify doesn't exist, the transcoding service will use this default.
2205 */
2206 ProgramNumber?: __integerMin1Max2147483647;
2207 /**
2208 * Set PSI control (InputPsiControl) for transport stream inputs to specify which data the demux process to scans. * Ignore PSI - Scan all PIDs for audio and video. * Use PSI - Scan only PSI data.
2209 */
2210 PsiControl?: InputPsiControl;
2211 /**
2212 * Provide a list of any necessary supplemental IMPs. You need supplemental IMPs if the CPL that you're using for your input is in an incomplete IMP. Specify either the supplemental IMP directories with a trailing slash or the ASSETMAP.xml files. For example ["s3://bucket/ov/", "s3://bucket/vf2/ASSETMAP.xml"]. You don't need to specify the IMP that contains your input CPL, because the service automatically detects it.
2213 */
2214 SupplementalImps?: __listOf__stringPatternS3ASSETMAPXml;
2215 /**
2216 * Timecode source under input settings (InputTimecodeSource) only affects the behavior of features that apply to a single input at a time, such as input clipping and synchronizing some captions formats. Use this setting to specify whether the service counts frames by timecodes embedded in the video (EMBEDDED) or by starting the first frame at zero (ZEROBASED). In both cases, the timecode format is HH:MM:SS:FF or HH:MM:SS;FF, where FF is the frame number. Only set this to EMBEDDED if your source video has embedded timecodes.
2217 */
2218 TimecodeSource?: InputTimecodeSource;
2219 /**
2220 * Selector for video.
2221 */
2222 VideoSelector?: VideoSelector;
2223 }
2224 export interface InputClipping {
2225 /**
2226 * Set End timecode (EndTimecode) to the end of the portion of the input you are clipping. The frame corresponding to the End timecode value is included in the clip. Start timecode or End timecode may be left blank, but not both. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is the second, and FF is the frame number. When choosing this value, take into account your setting for timecode source under input settings (InputTimecodeSource). For example, if you have embedded timecodes that start at 01:00:00:00 and you want your clip to end six minutes into the video, use 01:06:00:00.
2227 */
2228 EndTimecode?: __stringPattern010920405090509092;
2229 /**
2230 * Set Start timecode (StartTimecode) to the beginning of the portion of the input you are clipping. The frame corresponding to the Start timecode value is included in the clip. Start timecode or End timecode may be left blank, but not both. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is the second, and FF is the frame number. When choosing this value, take into account your setting for Input timecode source. For example, if you have embedded timecodes that start at 01:00:00:00 and you want your clip to begin five minutes into the video, use 01:05:00:00.
2231 */
2232 StartTimecode?: __stringPattern010920405090509092;
2233 }
2234 export type InputDeblockFilter = "ENABLED"|"DISABLED"|string;
2235 export interface InputDecryptionSettings {
2236 /**
2237 * Specify the encryption mode that you used to encrypt your input files.
2238 */
2239 DecryptionMode?: DecryptionMode;
2240 /**
2241 * Warning! Don't provide your encryption key in plaintext. Your job settings could be intercepted, making your encrypted content vulnerable. Specify the encrypted version of the data key that you used to encrypt your content. The data key must be encrypted by AWS Key Management Service (KMS). The key can be 128, 192, or 256 bits.
2242 */
2243 EncryptedDecryptionKey?: __stringMin24Max512PatternAZaZ0902;
2244 /**
2245 * Specify the initialization vector that you used when you encrypted your content before uploading it to Amazon S3. You can use a 16-byte initialization vector with any encryption mode. Or, you can use a 12-byte initialization vector with GCM or CTR. MediaConvert accepts only initialization vectors that are base64-encoded.
2246 */
2247 InitializationVector?: __stringMin16Max24PatternAZaZ0922AZaZ0916;
2248 /**
2249 * Specify the AWS Region for AWS Key Management Service (KMS) that you used to encrypt your data key, if that Region is different from the one you are using for AWS Elemental MediaConvert.
2250 */
2251 KmsKeyRegion?: __stringMin9Max19PatternAZ26EastWestCentralNorthSouthEastWest1912;
2252 }
2253 export type InputDenoiseFilter = "ENABLED"|"DISABLED"|string;
2254 export type InputFilterEnable = "AUTO"|"DISABLE"|"FORCE"|string;
2255 export type InputPsiControl = "IGNORE_PSI"|"USE_PSI"|string;
2256 export type InputRotate = "DEGREE_0"|"DEGREES_90"|"DEGREES_180"|"DEGREES_270"|"AUTO"|string;
2257 export interface InputTemplate {
2258 /**
2259 * Specifies set of audio selectors within an input to combine. An input may have multiple audio selector groups. See "Audio Selector Group":#inputs-audio_selector_group for more information.
2260 */
2261 AudioSelectorGroups?: __mapOfAudioSelectorGroup;
2262 /**
2263 * Use Audio selectors (AudioSelectors) to specify a track or set of tracks from the input that you will use in your outputs. You can use mutiple Audio selectors per input.
2264 */
2265 AudioSelectors?: __mapOfAudioSelector;
2266 /**
2267 * Use Captions selectors (CaptionSelectors) to specify the captions data from the input that you will use in your outputs. You can use mutiple captions selectors per input.
2268 */
2269 CaptionSelectors?: __mapOfCaptionSelector;
2270 /**
2271 * Enable Deblock (InputDeblockFilter) to produce smoother motion in the output. Default is disabled. Only manaully controllable for MPEG2 and uncompressed video inputs.
2272 */
2273 DeblockFilter?: InputDeblockFilter;
2274 /**
2275 * Enable Denoise (InputDenoiseFilter) to filter noise from the input. Default is disabled. Only applicable to MPEG2, H.264, H.265, and uncompressed video inputs.
2276 */
2277 DenoiseFilter?: InputDenoiseFilter;
2278 /**
2279 * Use Filter enable (InputFilterEnable) to specify how the transcoding service applies the denoise and deblock filters. You must also enable the filters separately, with Denoise (InputDenoiseFilter) and Deblock (InputDeblockFilter). * Auto - The transcoding service determines whether to apply filtering, depending on input type and quality. * Disable - The input is not filtered. This is true even if you use the API to enable them in (InputDeblockFilter) and (InputDeblockFilter). * Force - The in put is filtered regardless of input type.
2280 */
2281 FilterEnable?: InputFilterEnable;
2282 /**
2283 * Use Filter strength (FilterStrength) to adjust the magnitude the input filter settings (Deblock and Denoise). The range is -5 to 5. Default is 0.
2284 */
2285 FilterStrength?: __integerMinNegative5Max5;
2286 /**
2287 * Enable the image inserter feature to include a graphic overlay on your video. Enable or disable this feature for each input individually. This setting is disabled by default.
2288 */
2289 ImageInserter?: ImageInserter;
2290 /**
2291 * (InputClippings) contains sets of start and end times that together specify a portion of the input to be used in the outputs. If you provide only a start time, the clip will be the entire input from that point to the end. If you provide only an end time, it will be the entire input up to that point. When you specify more than one input clip, the transcoding service creates the job outputs by stringing the clips together in the order you specify them.
2292 */
2293 InputClippings?: __listOfInputClipping;
2294 /**
2295 * Use Program (programNumber) to select a specific program from within a multi-program transport stream. Note that Quad 4K is not currently supported. Default is the first program within the transport stream. If the program you specify doesn't exist, the transcoding service will use this default.
2296 */
2297 ProgramNumber?: __integerMin1Max2147483647;
2298 /**
2299 * Set PSI control (InputPsiControl) for transport stream inputs to specify which data the demux process to scans. * Ignore PSI - Scan all PIDs for audio and video. * Use PSI - Scan only PSI data.
2300 */
2301 PsiControl?: InputPsiControl;
2302 /**
2303 * Timecode source under input settings (InputTimecodeSource) only affects the behavior of features that apply to a single input at a time, such as input clipping and synchronizing some captions formats. Use this setting to specify whether the service counts frames by timecodes embedded in the video (EMBEDDED) or by starting the first frame at zero (ZEROBASED). In both cases, the timecode format is HH:MM:SS:FF or HH:MM:SS;FF, where FF is the frame number. Only set this to EMBEDDED if your source video has embedded timecodes.
2304 */
2305 TimecodeSource?: InputTimecodeSource;
2306 /**
2307 * Selector for video.
2308 */
2309 VideoSelector?: VideoSelector;
2310 }
2311 export type InputTimecodeSource = "EMBEDDED"|"ZEROBASED"|"SPECIFIEDSTART"|string;
2312 export interface InsertableImage {
2313 /**
2314 * Specify the time, in milliseconds, for the image to remain on the output video. This duration includes fade-in time but not fade-out time.
2315 */
2316 Duration?: __integerMin0Max2147483647;
2317 /**
2318 * Specify the length of time, in milliseconds, between the Start time that you specify for the image insertion and the time that the image appears at full opacity. Full opacity is the level that you specify for the opacity setting. If you don't specify a value for Fade-in, the image will appear abruptly at the overlay start time.
2319 */
2320 FadeIn?: __integerMin0Max2147483647;
2321 /**
2322 * Specify the length of time, in milliseconds, between the end of the time that you have specified for the image overlay Duration and when the overlaid image has faded to total transparency. If you don't specify a value for Fade-out, the image will disappear abruptly at the end of the inserted image duration.
2323 */
2324 FadeOut?: __integerMin0Max2147483647;
2325 /**
2326 * Specify the height of the inserted image in pixels. If you specify a value that's larger than the video resolution height, the service will crop your overlaid image to fit. To use the native height of the image, keep this setting blank.
2327 */
2328 Height?: __integerMin0Max2147483647;
2329 /**
2330 * Specify the Amazon S3 location of the image that you want to overlay on the video. Use a PNG or TGA file.
2331 */
2332 ImageInserterInput?: __stringMin14PatternS3BmpBMPPngPNGTgaTGA;
2333 /**
2334 * Specify the distance, in pixels, between the inserted image and the left edge of the video frame. Required for any image overlay that you specify.
2335 */
2336 ImageX?: __integerMin0Max2147483647;
2337 /**
2338 * Specify the distance, in pixels, between the overlaid image and the top edge of the video frame. Required for any image overlay that you specify.
2339 */
2340 ImageY?: __integerMin0Max2147483647;
2341 /**
2342 * Specify how overlapping inserted images appear. Images with higher values for Layer appear on top of images with lower values for Layer.
2343 */
2344 Layer?: __integerMin0Max99;
2345 /**
2346 * Use Opacity (Opacity) to specify how much of the underlying video shows through the inserted image. 0 is transparent and 100 is fully opaque. Default is 50.
2347 */
2348 Opacity?: __integerMin0Max100;
2349 /**
2350 * Specify the timecode of the frame that you want the overlay to first appear on. This must be in timecode (HH:MM:SS:FF or HH:MM:SS;FF) format. Remember to take into account your timecode source settings.
2351 */
2352 StartTime?: __stringPattern01D20305D205D;
2353 /**
2354 * Specify the width of the inserted image in pixels. If you specify a value that's larger than the video resolution width, the service will crop your overlaid image to fit. To use the native width of the image, keep this setting blank.
2355 */
2356 Width?: __integerMin0Max2147483647;
2357 }
2358 export interface Job {
2359 /**
2360 * Accelerated transcoding is currently in private preview. Contact AWS for more information.
2361 */
2362 AccelerationSettings?: AccelerationSettings;
2363 /**
2364 * An identifier for this resource that is unique within all of AWS.
2365 */
2366 Arn?: __string;
2367 /**
2368 * Optional. Choose a tag type that AWS Billing and Cost Management will use to sort your AWS Elemental MediaConvert costs on any billing report that you set up. Any transcoding outputs that don't have an associated tag will appear in your billing report unsorted. If you don't choose a valid value for this field, your job outputs will appear on the billing report unsorted.
2369 */
2370 BillingTagsSource?: BillingTagsSource;
2371 /**
2372 * The time, in Unix epoch format in seconds, when the job got created.
2373 */
2374 CreatedAt?: __timestampUnix;
2375 /**
2376 * A job's phase can be PROBING, TRANSCODING OR UPLOADING
2377 */
2378 CurrentPhase?: JobPhase;
2379 /**
2380 * Error code for the job
2381 */
2382 ErrorCode?: __integer;
2383 /**
2384 * Error message of Job
2385 */
2386 ErrorMessage?: __string;
2387 /**
2388 * A portion of the job's ARN, unique within your AWS Elemental MediaConvert resources
2389 */
2390 Id?: __string;
2391 /**
2392 * An estimate of how far your job has progressed. This estimate is shown as a percentage of the total time from when your job leaves its queue to when your output files appear in your output Amazon S3 bucket. AWS Elemental MediaConvert provides jobPercentComplete in CloudWatch STATUS_UPDATE events and in the response to GetJob and ListJobs requests. The jobPercentComplete estimate is reliable for the following input containers: Quicktime, Transport Stream, MP4, and MXF. For some jobs, including audio-only jobs and jobs that use input clipping, the service can't provide information about job progress. In those cases, jobPercentComplete returns a null value.
2393 */
2394 JobPercentComplete?: __integer;
2395 /**
2396 * The job template that the job is created from, if it is created from a job template.
2397 */
2398 JobTemplate?: __string;
2399 /**
2400 * List of output group details
2401 */
2402 OutputGroupDetails?: __listOfOutputGroupDetail;
2403 /**
2404 * Optional. When you create a job, you can specify a queue to send it to. If you don't specify, the job will go to the default queue. For more about queues, see the User Guide topic at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
2405 */
2406 Queue?: __string;
2407 /**
2408 * The number of times that the service automatically attempted to process your job after encountering an error.
2409 */
2410 RetryCount?: __integer;
2411 /**
2412 * The IAM role you use for creating this job. For details about permissions, see the User Guide topic at the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/iam-role.html
2413 */
2414 Role: __string;
2415 /**
2416 * JobSettings contains all the transcode settings for a job.
2417 */
2418 Settings: JobSettings;
2419 /**
2420 * A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR.
2421 */
2422 Status?: JobStatus;
2423 /**
2424 * Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error.
2425 */
2426 StatusUpdateInterval?: StatusUpdateInterval;
2427 /**
2428 * Information about when jobs are submitted, started, and finished is specified in Unix epoch format in seconds.
2429 */
2430 Timing?: Timing;
2431 /**
2432 * User-defined metadata that you want to associate with an MediaConvert job. You specify metadata in key/value pairs.
2433 */
2434 UserMetadata?: __mapOf__string;
2435 }
2436 export type JobPhase = "PROBING"|"TRANSCODING"|"UPLOADING"|string;
2437 export interface JobSettings {
2438 /**
2439 * When specified, this offset (in milliseconds) is added to the input Ad Avail PTS time.
2440 */
2441 AdAvailOffset?: __integerMinNegative1000Max1000;
2442 /**
2443 * Settings for ad avail blanking. Video can be blanked or overlaid with an image, and audio muted during SCTE-35 triggered ad avails.
2444 */
2445 AvailBlanking?: AvailBlanking;
2446 /**
2447 * Settings for Event Signaling And Messaging (ESAM).
2448 */
2449 Esam?: EsamSettings;
2450 /**
2451 * Use Inputs (inputs) to define source file used in the transcode job. There can be multiple inputs add in a job. These inputs will be concantenated together to create the output.
2452 */
2453 Inputs?: __listOfInput;
2454 /**
2455 * Overlay motion graphics on top of your video. The motion graphics that you specify here appear on all outputs in all output groups.
2456 */
2457 MotionImageInserter?: MotionImageInserter;
2458 /**
2459 * Settings for Nielsen Configuration
2460 */
2461 NielsenConfiguration?: NielsenConfiguration;
2462 /**
2463 * (OutputGroups) contains one group of settings for each set of outputs that share a common package type. All unpackaged files (MPEG-4, MPEG-2 TS, Quicktime, MXF, and no container) are grouped in a single output group as well. Required in (OutputGroups) is a group of settings that apply to the whole group. This required object depends on the value you set for (Type) under (OutputGroups)>(OutputGroupSettings). Type, settings object pairs are as follows. * FILE_GROUP_SETTINGS, FileGroupSettings * HLS_GROUP_SETTINGS, HlsGroupSettings * DASH_ISO_GROUP_SETTINGS, DashIsoGroupSettings * MS_SMOOTH_GROUP_SETTINGS, MsSmoothGroupSettings * CMAF_GROUP_SETTINGS, CmafGroupSettings
2464 */
2465 OutputGroups?: __listOfOutputGroup;
2466 /**
2467 * Contains settings used to acquire and adjust timecode information from inputs.
2468 */
2469 TimecodeConfig?: TimecodeConfig;
2470 /**
2471 * Enable Timed metadata insertion (TimedMetadataInsertion) to include ID3 tags in your job. To include timed metadata, you must enable it here, enable it in each output container, and specify tags and timecodes in ID3 insertion (Id3Insertion) objects.
2472 */
2473 TimedMetadataInsertion?: TimedMetadataInsertion;
2474 }
2475 export type JobStatus = "SUBMITTED"|"PROGRESSING"|"COMPLETE"|"CANCELED"|"ERROR"|string;
2476 export interface JobTemplate {
2477 /**
2478 * Accelerated transcoding is currently in private preview. Contact AWS for more information.
2479 */
2480 AccelerationSettings?: AccelerationSettings;
2481 /**
2482 * An identifier for this resource that is unique within all of AWS.
2483 */
2484 Arn?: __string;
2485 /**
2486 * An optional category you create to organize your job templates.
2487 */
2488 Category?: __string;
2489 /**
2490 * The timestamp in epoch seconds for Job template creation.
2491 */
2492 CreatedAt?: __timestampUnix;
2493 /**
2494 * An optional description you create for each job template.
2495 */
2496 Description?: __string;
2497 /**
2498 * The timestamp in epoch seconds when the Job template was last updated.
2499 */
2500 LastUpdated?: __timestampUnix;
2501 /**
2502 * A name you create for each job template. Each name must be unique within your account.
2503 */
2504 Name: __string;
2505 /**
2506 * Optional. The queue that jobs created from this template are assigned to. If you don't specify this, jobs will go to the default queue.
2507 */
2508 Queue?: __string;
2509 /**
2510 * JobTemplateSettings contains all the transcode settings saved in the template that will be applied to jobs created from it.
2511 */
2512 Settings: JobTemplateSettings;
2513 /**
2514 * Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error.
2515 */
2516 StatusUpdateInterval?: StatusUpdateInterval;
2517 /**
2518 * A job template can be of two types: system or custom. System or built-in job templates can't be modified or deleted by the user.
2519 */
2520 Type?: Type;
2521 }
2522 export type JobTemplateListBy = "NAME"|"CREATION_DATE"|"SYSTEM"|string;
2523 export interface JobTemplateSettings {
2524 /**
2525 * When specified, this offset (in milliseconds) is added to the input Ad Avail PTS time.
2526 */
2527 AdAvailOffset?: __integerMinNegative1000Max1000;
2528 /**
2529 * Settings for ad avail blanking. Video can be blanked or overlaid with an image, and audio muted during SCTE-35 triggered ad avails.
2530 */
2531 AvailBlanking?: AvailBlanking;
2532 /**
2533 * Settings for Event Signaling And Messaging (ESAM).
2534 */
2535 Esam?: EsamSettings;
2536 /**
2537 * Use Inputs (inputs) to define the source file used in the transcode job. There can only be one input in a job template. Using the API, you can include multiple inputs when referencing a job template.
2538 */
2539 Inputs?: __listOfInputTemplate;
2540 /**
2541 * Overlay motion graphics on top of your video. The motion graphics that you specify here appear on all outputs in all output groups.
2542 */
2543 MotionImageInserter?: MotionImageInserter;
2544 /**
2545 * Settings for Nielsen Configuration
2546 */
2547 NielsenConfiguration?: NielsenConfiguration;
2548 /**
2549 * (OutputGroups) contains one group of settings for each set of outputs that share a common package type. All unpackaged files (MPEG-4, MPEG-2 TS, Quicktime, MXF, and no container) are grouped in a single output group as well. Required in (OutputGroups) is a group of settings that apply to the whole group. This required object depends on the value you set for (Type) under (OutputGroups)>(OutputGroupSettings). Type, settings object pairs are as follows. * FILE_GROUP_SETTINGS, FileGroupSettings * HLS_GROUP_SETTINGS, HlsGroupSettings * DASH_ISO_GROUP_SETTINGS, DashIsoGroupSettings * MS_SMOOTH_GROUP_SETTINGS, MsSmoothGroupSettings * CMAF_GROUP_SETTINGS, CmafGroupSettings
2550 */
2551 OutputGroups?: __listOfOutputGroup;
2552 /**
2553 * Contains settings used to acquire and adjust timecode information from inputs.
2554 */
2555 TimecodeConfig?: TimecodeConfig;
2556 /**
2557 * Enable Timed metadata insertion (TimedMetadataInsertion) to include ID3 tags in your job. To include timed metadata, you must enable it here, enable it in each output container, and specify tags and timecodes in ID3 insertion (Id3Insertion) objects.
2558 */
2559 TimedMetadataInsertion?: TimedMetadataInsertion;
2560 }
2561 export type LanguageCode = "ENG"|"SPA"|"FRA"|"DEU"|"GER"|"ZHO"|"ARA"|"HIN"|"JPN"|"RUS"|"POR"|"ITA"|"URD"|"VIE"|"KOR"|"PAN"|"ABK"|"AAR"|"AFR"|"AKA"|"SQI"|"AMH"|"ARG"|"HYE"|"ASM"|"AVA"|"AVE"|"AYM"|"AZE"|"BAM"|"BAK"|"EUS"|"BEL"|"BEN"|"BIH"|"BIS"|"BOS"|"BRE"|"BUL"|"MYA"|"CAT"|"KHM"|"CHA"|"CHE"|"NYA"|"CHU"|"CHV"|"COR"|"COS"|"CRE"|"HRV"|"CES"|"DAN"|"DIV"|"NLD"|"DZO"|"ENM"|"EPO"|"EST"|"EWE"|"FAO"|"FIJ"|"FIN"|"FRM"|"FUL"|"GLA"|"GLG"|"LUG"|"KAT"|"ELL"|"GRN"|"GUJ"|"HAT"|"HAU"|"HEB"|"HER"|"HMO"|"HUN"|"ISL"|"IDO"|"IBO"|"IND"|"INA"|"ILE"|"IKU"|"IPK"|"GLE"|"JAV"|"KAL"|"KAN"|"KAU"|"KAS"|"KAZ"|"KIK"|"KIN"|"KIR"|"KOM"|"KON"|"KUA"|"KUR"|"LAO"|"LAT"|"LAV"|"LIM"|"LIN"|"LIT"|"LUB"|"LTZ"|"MKD"|"MLG"|"MSA"|"MAL"|"MLT"|"GLV"|"MRI"|"MAR"|"MAH"|"MON"|"NAU"|"NAV"|"NDE"|"NBL"|"NDO"|"NEP"|"SME"|"NOR"|"NOB"|"NNO"|"OCI"|"OJI"|"ORI"|"ORM"|"OSS"|"PLI"|"FAS"|"POL"|"PUS"|"QUE"|"QAA"|"RON"|"ROH"|"RUN"|"SMO"|"SAG"|"SAN"|"SRD"|"SRB"|"SNA"|"III"|"SND"|"SIN"|"SLK"|"SLV"|"SOM"|"SOT"|"SUN"|"SWA"|"SSW"|"SWE"|"TGL"|"TAH"|"TGK"|"TAM"|"TAT"|"TEL"|"THA"|"BOD"|"TIR"|"TON"|"TSO"|"TSN"|"TUR"|"TUK"|"TWI"|"UIG"|"UKR"|"UZB"|"VEN"|"VOL"|"WLN"|"CYM"|"FRY"|"WOL"|"XHO"|"YID"|"YOR"|"ZHA"|"ZUL"|"ORJ"|"QPC"|"TNG"|string;
2562 export interface ListJobTemplatesRequest {
2563 /**
2564 * Optionally, specify a job template category to limit responses to only job templates from that category.
2565 */
2566 Category?: __string;
2567 /**
2568 * Optional. When you request a list of job templates, you can choose to list them alphabetically by NAME or chronologically by CREATION_DATE. If you don't specify, the service will list them by name.
2569 */
2570 ListBy?: JobTemplateListBy;
2571 /**
2572 * Optional. Number of job templates, up to twenty, that will be returned at one time.
2573 */
2574 MaxResults?: __integerMin1Max20;
2575 /**
2576 * Use this string, provided with the response to a previous request, to request the next batch of job templates.
2577 */
2578 NextToken?: __string;
2579 /**
2580 * When you request lists of resources, you can optionally specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource.
2581 */
2582 Order?: Order;
2583 }
2584 export interface ListJobTemplatesResponse {
2585 /**
2586 * List of Job templates.
2587 */
2588 JobTemplates?: __listOfJobTemplate;
2589 /**
2590 * Use this string to request the next batch of job templates.
2591 */
2592 NextToken?: __string;
2593 }
2594 export interface ListJobsRequest {
2595 /**
2596 * Optional. Number of jobs, up to twenty, that will be returned at one time.
2597 */
2598 MaxResults?: __integerMin1Max20;
2599 /**
2600 * Use this string, provided with the response to a previous request, to request the next batch of jobs.
2601 */
2602 NextToken?: __string;
2603 /**
2604 * When you request lists of resources, you can optionally specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource.
2605 */
2606 Order?: Order;
2607 /**
2608 * Provide a queue name to get back only jobs from that queue.
2609 */
2610 Queue?: __string;
2611 /**
2612 * A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR.
2613 */
2614 Status?: JobStatus;
2615 }
2616 export interface ListJobsResponse {
2617 /**
2618 * List of jobs
2619 */
2620 Jobs?: __listOfJob;
2621 /**
2622 * Use this string to request the next batch of jobs.
2623 */
2624 NextToken?: __string;
2625 }
2626 export interface ListPresetsRequest {
2627 /**
2628 * Optionally, specify a preset category to limit responses to only presets from that category.
2629 */
2630 Category?: __string;
2631 /**
2632 * Optional. When you request a list of presets, you can choose to list them alphabetically by NAME or chronologically by CREATION_DATE. If you don't specify, the service will list them by name.
2633 */
2634 ListBy?: PresetListBy;
2635 /**
2636 * Optional. Number of presets, up to twenty, that will be returned at one time
2637 */
2638 MaxResults?: __integerMin1Max20;
2639 /**
2640 * Use this string, provided with the response to a previous request, to request the next batch of presets.
2641 */
2642 NextToken?: __string;
2643 /**
2644 * When you request lists of resources, you can optionally specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource.
2645 */
2646 Order?: Order;
2647 }
2648 export interface ListPresetsResponse {
2649 /**
2650 * Use this string to request the next batch of presets.
2651 */
2652 NextToken?: __string;
2653 /**
2654 * List of presets
2655 */
2656 Presets?: __listOfPreset;
2657 }
2658 export interface ListQueuesRequest {
2659 /**
2660 * Optional. When you request a list of queues, you can choose to list them alphabetically by NAME or chronologically by CREATION_DATE. If you don't specify, the service will list them by creation date.
2661 */
2662 ListBy?: QueueListBy;
2663 /**
2664 * Optional. Number of queues, up to twenty, that will be returned at one time.
2665 */
2666 MaxResults?: __integerMin1Max20;
2667 /**
2668 * Use this string, provided with the response to a previous request, to request the next batch of queues.
2669 */
2670 NextToken?: __string;
2671 /**
2672 * When you request lists of resources, you can optionally specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource.
2673 */
2674 Order?: Order;
2675 }
2676 export interface ListQueuesResponse {
2677 /**
2678 * Use this string to request the next batch of queues.
2679 */
2680 NextToken?: __string;
2681 /**
2682 * List of queues.
2683 */
2684 Queues?: __listOfQueue;
2685 }
2686 export interface ListTagsForResourceRequest {
2687 /**
2688 * The Amazon Resource Name (ARN) of the resource that you want to list tags for. To get the ARN, send a GET request with the resource name.
2689 */
2690 Arn: __string;
2691 }
2692 export interface ListTagsForResourceResponse {
2693 /**
2694 * The Amazon Resource Name (ARN) and tags for an AWS Elemental MediaConvert resource.
2695 */
2696 ResourceTags?: ResourceTags;
2697 }
2698 export type M2tsAudioBufferModel = "DVB"|"ATSC"|string;
2699 export type M2tsBufferModel = "MULTIPLEX"|"NONE"|string;
2700 export type M2tsEbpAudioInterval = "VIDEO_AND_FIXED_INTERVALS"|"VIDEO_INTERVAL"|string;
2701 export type M2tsEbpPlacement = "VIDEO_AND_AUDIO_PIDS"|"VIDEO_PID"|string;
2702 export type M2tsEsRateInPes = "INCLUDE"|"EXCLUDE"|string;
2703 export type M2tsForceTsVideoEbpOrder = "FORCE"|"DEFAULT"|string;
2704 export type M2tsNielsenId3 = "INSERT"|"NONE"|string;
2705 export type M2tsPcrControl = "PCR_EVERY_PES_PACKET"|"CONFIGURED_PCR_PERIOD"|string;
2706 export type M2tsRateMode = "VBR"|"CBR"|string;
2707 export interface M2tsScte35Esam {
2708 /**
2709 * Packet Identifier (PID) of the SCTE-35 stream in the transport stream generated by ESAM.
2710 */
2711 Scte35EsamPid?: __integerMin32Max8182;
2712 }
2713 export type M2tsScte35Source = "PASSTHROUGH"|"NONE"|string;
2714 export type M2tsSegmentationMarkers = "NONE"|"RAI_SEGSTART"|"RAI_ADAPT"|"PSI_SEGSTART"|"EBP"|"EBP_LEGACY"|string;
2715 export type M2tsSegmentationStyle = "MAINTAIN_CADENCE"|"RESET_CADENCE"|string;
2716 export interface M2tsSettings {
2717 /**
2718 * Selects between the DVB and ATSC buffer models for Dolby Digital audio.
2719 */
2720 AudioBufferModel?: M2tsAudioBufferModel;
2721 /**
2722 * The number of audio frames to insert for each PES packet.
2723 */
2724 AudioFramesPerPes?: __integerMin0Max2147483647;
2725 /**
2726 * Specify the packet identifiers (PIDs) for any elementary audio streams you include in this output. Specify multiple PIDs as a JSON array. Default is the range 482-492.
2727 */
2728 AudioPids?: __listOf__integerMin32Max8182;
2729 /**
2730 * Specify the output bitrate of the transport stream in bits per second. Setting to 0 lets the muxer automatically determine the appropriate bitrate. Other common values are 3750000, 7500000, and 15000000.
2731 */
2732 Bitrate?: __integerMin0Max2147483647;
2733 /**
2734 * Controls what buffer model to use for accurate interleaving. If set to MULTIPLEX, use multiplex buffer model. If set to NONE, this can lead to lower latency, but low-memory devices may not be able to play back the stream without interruptions.
2735 */
2736 BufferModel?: M2tsBufferModel;
2737 /**
2738 * Inserts DVB Network Information Table (NIT) at the specified table repetition interval.
2739 */
2740 DvbNitSettings?: DvbNitSettings;
2741 /**
2742 * Inserts DVB Service Description Table (NIT) at the specified table repetition interval.
2743 */
2744 DvbSdtSettings?: DvbSdtSettings;
2745 /**
2746 * Specify the packet identifiers (PIDs) for DVB subtitle data included in this output. Specify multiple PIDs as a JSON array. Default is the range 460-479.
2747 */
2748 DvbSubPids?: __listOf__integerMin32Max8182;
2749 /**
2750 * Inserts DVB Time and Date Table (TDT) at the specified table repetition interval.
2751 */
2752 DvbTdtSettings?: DvbTdtSettings;
2753 /**
2754 * Specify the packet identifier (PID) for DVB teletext data you include in this output. Default is 499.
2755 */
2756 DvbTeletextPid?: __integerMin32Max8182;
2757 /**
2758 * When set to VIDEO_AND_FIXED_INTERVALS, audio EBP markers will be added to partitions 3 and 4. The interval between these additional markers will be fixed, and will be slightly shorter than the video EBP marker interval. When set to VIDEO_INTERVAL, these additional markers will not be inserted. Only applicable when EBP segmentation markers are is selected (segmentationMarkers is EBP or EBP_LEGACY).
2759 */
2760 EbpAudioInterval?: M2tsEbpAudioInterval;
2761 /**
2762 * Selects which PIDs to place EBP markers on. They can either be placed only on the video PID, or on both the video PID and all audio PIDs. Only applicable when EBP segmentation markers are is selected (segmentationMarkers is EBP or EBP_LEGACY).
2763 */
2764 EbpPlacement?: M2tsEbpPlacement;
2765 /**
2766 * Controls whether to include the ES Rate field in the PES header.
2767 */
2768 EsRateInPes?: M2tsEsRateInPes;
2769 /**
2770 * Keep the default value (DEFAULT) unless you know that your audio EBP markers are incorrectly appearing before your video EBP markers. To correct this problem, set this value to Force (FORCE).
2771 */
2772 ForceTsVideoEbpOrder?: M2tsForceTsVideoEbpOrder;
2773 /**
2774 * The length, in seconds, of each fragment. Only used with EBP markers.
2775 */
2776 FragmentTime?: __doubleMin0;
2777 /**
2778 * Specify the maximum time, in milliseconds, between Program Clock References (PCRs) inserted into the transport stream.
2779 */
2780 MaxPcrInterval?: __integerMin0Max500;
2781 /**
2782 * When set, enforces that Encoder Boundary Points do not come within the specified time interval of each other by looking ahead at input video. If another EBP is going to come in within the specified time interval, the current EBP is not emitted, and the segment is "stretched" to the next marker. The lookahead value does not add latency to the system. The Live Event must be configured elsewhere to create sufficient latency to make the lookahead accurate.
2783 */
2784 MinEbpInterval?: __integerMin0Max10000;
2785 /**
2786 * If INSERT, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.
2787 */
2788 NielsenId3?: M2tsNielsenId3;
2789 /**
2790 * Value in bits per second of extra null packets to insert into the transport stream. This can be used if a downstream encryption system requires periodic null packets.
2791 */
2792 NullPacketBitrate?: __doubleMin0;
2793 /**
2794 * The number of milliseconds between instances of this table in the output transport stream.
2795 */
2796 PatInterval?: __integerMin0Max1000;
2797 /**
2798 * When set to PCR_EVERY_PES_PACKET, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header. This is effective only when the PCR PID is the same as the video or audio elementary stream.
2799 */
2800 PcrControl?: M2tsPcrControl;
2801 /**
2802 * Specify the packet identifier (PID) for the program clock reference (PCR) in this output. If you do not specify a value, the service will use the value for Video PID (VideoPid).
2803 */
2804 PcrPid?: __integerMin32Max8182;
2805 /**
2806 * Specify the number of milliseconds between instances of the program map table (PMT) in the output transport stream.
2807 */
2808 PmtInterval?: __integerMin0Max1000;
2809 /**
2810 * Specify the packet identifier (PID) for the program map table (PMT) itself. Default is 480.
2811 */
2812 PmtPid?: __integerMin32Max8182;
2813 /**
2814 * Specify the packet identifier (PID) of the private metadata stream. Default is 503.
2815 */
2816 PrivateMetadataPid?: __integerMin32Max8182;
2817 /**
2818 * Use Program number (programNumber) to specify the program number used in the program map table (PMT) for this output. Default is 1. Program numbers and program map tables are parts of MPEG-2 transport stream containers, used for organizing data.
2819 */
2820 ProgramNumber?: __integerMin0Max65535;
2821 /**
2822 * When set to CBR, inserts null packets into transport stream to fill specified bitrate. When set to VBR, the bitrate setting acts as the maximum bitrate, but the output will not be padded up to that bitrate.
2823 */
2824 RateMode?: M2tsRateMode;
2825 /**
2826 * Include this in your job settings to put SCTE-35 markers in your HLS and transport stream outputs at the insertion points that you specify in an ESAM XML document. Provide the document in the setting SCC XML (sccXml).
2827 */
2828 Scte35Esam?: M2tsScte35Esam;
2829 /**
2830 * Specify the packet identifier (PID) of the SCTE-35 stream in the transport stream.
2831 */
2832 Scte35Pid?: __integerMin32Max8182;
2833 /**
2834 * Enables SCTE-35 passthrough (scte35Source) to pass any SCTE-35 signals from input to output.
2835 */
2836 Scte35Source?: M2tsScte35Source;
2837 /**
2838 * Inserts segmentation markers at each segmentation_time period. rai_segstart sets the Random Access Indicator bit in the adaptation field. rai_adapt sets the RAI bit and adds the current timecode in the private data bytes. psi_segstart inserts PAT and PMT tables at the start of segments. ebp adds Encoder Boundary Point information to the adaptation field as per OpenCable specification OC-SP-EBP-I01-130118. ebp_legacy adds Encoder Boundary Point information to the adaptation field using a legacy proprietary format.
2839 */
2840 SegmentationMarkers?: M2tsSegmentationMarkers;
2841 /**
2842 * The segmentation style parameter controls how segmentation markers are inserted into the transport stream. With avails, it is possible that segments may be truncated, which can influence where future segmentation markers are inserted. When a segmentation style of "reset_cadence" is selected and a segment is truncated due to an avail, we will reset the segmentation cadence. This means the subsequent segment will have a duration of of $segmentation_time seconds. When a segmentation style of "maintain_cadence" is selected and a segment is truncated due to an avail, we will not reset the segmentation cadence. This means the subsequent segment will likely be truncated as well. However, all segments after that will have a duration of $segmentation_time seconds. Note that EBP lookahead is a slight exception to this rule.
2843 */
2844 SegmentationStyle?: M2tsSegmentationStyle;
2845 /**
2846 * Specify the length, in seconds, of each segment. Required unless markers is set to _none_.
2847 */
2848 SegmentationTime?: __doubleMin0;
2849 /**
2850 * Specify the packet identifier (PID) for timed metadata in this output. Default is 502.
2851 */
2852 TimedMetadataPid?: __integerMin32Max8182;
2853 /**
2854 * Specify the ID for the transport stream itself in the program map table for this output. Transport stream IDs and program map tables are parts of MPEG-2 transport stream containers, used for organizing data.
2855 */
2856 TransportStreamId?: __integerMin0Max65535;
2857 /**
2858 * Specify the packet identifier (PID) of the elementary video stream in the transport stream.
2859 */
2860 VideoPid?: __integerMin32Max8182;
2861 }
2862 export type M3u8NielsenId3 = "INSERT"|"NONE"|string;
2863 export type M3u8PcrControl = "PCR_EVERY_PES_PACKET"|"CONFIGURED_PCR_PERIOD"|string;
2864 export type M3u8Scte35Source = "PASSTHROUGH"|"NONE"|string;
2865 export interface M3u8Settings {
2866 /**
2867 * The number of audio frames to insert for each PES packet.
2868 */
2869 AudioFramesPerPes?: __integerMin0Max2147483647;
2870 /**
2871 * Packet Identifier (PID) of the elementary audio stream(s) in the transport stream. Multiple values are accepted, and can be entered in ranges and/or by comma separation.
2872 */
2873 AudioPids?: __listOf__integerMin32Max8182;
2874 /**
2875 * If INSERT, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.
2876 */
2877 NielsenId3?: M3u8NielsenId3;
2878 /**
2879 * The number of milliseconds between instances of this table in the output transport stream.
2880 */
2881 PatInterval?: __integerMin0Max1000;
2882 /**
2883 * When set to PCR_EVERY_PES_PACKET a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header. This parameter is effective only when the PCR PID is the same as the video or audio elementary stream.
2884 */
2885 PcrControl?: M3u8PcrControl;
2886 /**
2887 * Packet Identifier (PID) of the Program Clock Reference (PCR) in the transport stream. When no value is given, the encoder will assign the same value as the Video PID.
2888 */
2889 PcrPid?: __integerMin32Max8182;
2890 /**
2891 * The number of milliseconds between instances of this table in the output transport stream.
2892 */
2893 PmtInterval?: __integerMin0Max1000;
2894 /**
2895 * Packet Identifier (PID) for the Program Map Table (PMT) in the transport stream.
2896 */
2897 PmtPid?: __integerMin32Max8182;
2898 /**
2899 * Packet Identifier (PID) of the private metadata stream in the transport stream.
2900 */
2901 PrivateMetadataPid?: __integerMin32Max8182;
2902 /**
2903 * The value of the program number field in the Program Map Table.
2904 */
2905 ProgramNumber?: __integerMin0Max65535;
2906 /**
2907 * Packet Identifier (PID) of the SCTE-35 stream in the transport stream.
2908 */
2909 Scte35Pid?: __integerMin32Max8182;
2910 /**
2911 * Enables SCTE-35 passthrough (scte35Source) to pass any SCTE-35 signals from input to output.
2912 */
2913 Scte35Source?: M3u8Scte35Source;
2914 /**
2915 * Applies only to HLS outputs. Use this setting to specify whether the service inserts the ID3 timed metadata from the input in this output.
2916 */
2917 TimedMetadata?: TimedMetadata;
2918 /**
2919 * Packet Identifier (PID) of the timed metadata stream in the transport stream.
2920 */
2921 TimedMetadataPid?: __integerMin32Max8182;
2922 /**
2923 * The value of the transport stream ID field in the Program Map Table.
2924 */
2925 TransportStreamId?: __integerMin0Max65535;
2926 /**
2927 * Packet Identifier (PID) of the elementary video stream in the transport stream.
2928 */
2929 VideoPid?: __integerMin32Max8182;
2930 }
2931 export interface MotionImageInserter {
2932 /**
2933 * If your motion graphic asset is a .mov file, keep this setting unspecified. If your motion graphic asset is a series of .png files, specify the frame rate of the overlay in frames per second, as a fraction. For example, specify 24 fps as 24/1. Make sure that the number of images in your series matches the frame rate and your intended overlay duration. For example, if you want a 30-second overlay at 30 fps, you should have 900 .png images. This overlay frame rate doesn't need to match the frame rate of the underlying video.
2934 */
2935 Framerate?: MotionImageInsertionFramerate;
2936 /**
2937 * Specify the .mov file or series of .png files that you want to overlay on your video. For .png files, provide the file name of the first file in the series. Make sure that the names of the .png files end with sequential numbers that specify the order that they are played in. For example, overlay_000.png, overlay_001.png, overlay_002.png, and so on. The sequence must start at zero, and each image file name must have the same number of digits. Pad your initial file names with enough zeros to complete the sequence. For example, if the first image is overlay_0.png, there can be only 10 images in the sequence, with the last image being overlay_9.png. But if the first image is overlay_00.png, there can be 100 images in the sequence.
2938 */
2939 Input?: __stringMin14Max1285PatternS3Mov09Png;
2940 /**
2941 * Choose the type of motion graphic asset that you are providing for your overlay. You can choose either a .mov file or a series of .png files.
2942 */
2943 InsertionMode?: MotionImageInsertionMode;
2944 /**
2945 * Use Offset to specify the placement of your motion graphic overlay on the video frame. Specify in pixels, from the upper-left corner of the frame. If you don't specify an offset, the service scales your overlay to the full size of the frame. Otherwise, the service inserts the overlay at its native resolution and scales the size up or down with any video scaling.
2946 */
2947 Offset?: MotionImageInsertionOffset;
2948 /**
2949 * Specify whether your motion graphic overlay repeats on a loop or plays only once.
2950 */
2951 Playback?: MotionImagePlayback;
2952 /**
2953 * Specify when the motion overlay begins. Use timecode format (HH:MM:SS:FF or HH:MM:SS;FF). Make sure that the timecode you provide here takes into account how you have set up your timecode configuration under both job settings and input settings. The simplest way to do that is to set both to start at 0. If you need to set up your job to follow timecodes embedded in your source that don't start at zero, make sure that you specify a start time that is after the first embedded timecode. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/setting-up-timecode.html Find job-wide and input timecode configuration settings in your JSON job settings specification at settings>timecodeConfig>source and settings>inputs>timecodeSource.
2954 */
2955 StartTime?: __stringMin11Max11Pattern01D20305D205D;
2956 }
2957 export interface MotionImageInsertionFramerate {
2958 /**
2959 * The bottom of the fraction that expresses your overlay frame rate. For example, if your frame rate is 24 fps, set this value to 1.
2960 */
2961 FramerateDenominator?: __integerMin1Max17895697;
2962 /**
2963 * The top of the fraction that expresses your overlay frame rate. For example, if your frame rate is 24 fps, set this value to 24.
2964 */
2965 FramerateNumerator?: __integerMin1Max2147483640;
2966 }
2967 export type MotionImageInsertionMode = "MOV"|"PNG"|string;
2968 export interface MotionImageInsertionOffset {
2969 /**
2970 * Set the distance, in pixels, between the overlay and the left edge of the video frame.
2971 */
2972 ImageX?: __integerMin0Max2147483647;
2973 /**
2974 * Set the distance, in pixels, between the overlay and the top edge of the video frame.
2975 */
2976 ImageY?: __integerMin0Max2147483647;
2977 }
2978 export type MotionImagePlayback = "ONCE"|"REPEAT"|string;
2979 export type MovClapAtom = "INCLUDE"|"EXCLUDE"|string;
2980 export type MovCslgAtom = "INCLUDE"|"EXCLUDE"|string;
2981 export type MovMpeg2FourCCControl = "XDCAM"|"MPEG"|string;
2982 export type MovPaddingControl = "OMNEON"|"NONE"|string;
2983 export type MovReference = "SELF_CONTAINED"|"EXTERNAL"|string;
2984 export interface MovSettings {
2985 /**
2986 * When enabled, include 'clap' atom if appropriate for the video output settings.
2987 */
2988 ClapAtom?: MovClapAtom;
2989 /**
2990 * When enabled, file composition times will start at zero, composition times in the 'ctts' (composition time to sample) box for B-frames will be negative, and a 'cslg' (composition shift least greatest) box will be included per 14496-1 amendment 1. This improves compatibility with Apple players and tools.
2991 */
2992 CslgAtom?: MovCslgAtom;
2993 /**
2994 * When set to XDCAM, writes MPEG2 video streams into the QuickTime file using XDCAM fourcc codes. This increases compatibility with Apple editors and players, but may decrease compatibility with other players. Only applicable when the video codec is MPEG2.
2995 */
2996 Mpeg2FourCCControl?: MovMpeg2FourCCControl;
2997 /**
2998 * If set to OMNEON, inserts Omneon-compatible padding
2999 */
3000 PaddingControl?: MovPaddingControl;
3001 /**
3002 * Always keep the default value (SELF_CONTAINED) for this setting.
3003 */
3004 Reference?: MovReference;
3005 }
3006 export interface Mp2Settings {
3007 /**
3008 * Average bitrate in bits/second.
3009 */
3010 Bitrate?: __integerMin32000Max384000;
3011 /**
3012 * Set Channels to specify the number of channels in this output audio track. Choosing Mono in the console will give you 1 output channel; choosing Stereo will give you 2. In the API, valid values are 1 and 2.
3013 */
3014 Channels?: __integerMin1Max2;
3015 /**
3016 * Sample rate in hz.
3017 */
3018 SampleRate?: __integerMin32000Max48000;
3019 }
3020 export type Mp4CslgAtom = "INCLUDE"|"EXCLUDE"|string;
3021 export type Mp4FreeSpaceBox = "INCLUDE"|"EXCLUDE"|string;
3022 export type Mp4MoovPlacement = "PROGRESSIVE_DOWNLOAD"|"NORMAL"|string;
3023 export interface Mp4Settings {
3024 /**
3025 * When enabled, file composition times will start at zero, composition times in the 'ctts' (composition time to sample) box for B-frames will be negative, and a 'cslg' (composition shift least greatest) box will be included per 14496-1 amendment 1. This improves compatibility with Apple players and tools.
3026 */
3027 CslgAtom?: Mp4CslgAtom;
3028 /**
3029 * Inserts a free-space box immediately after the moov box.
3030 */
3031 FreeSpaceBox?: Mp4FreeSpaceBox;
3032 /**
3033 * If set to PROGRESSIVE_DOWNLOAD, the MOOV atom is relocated to the beginning of the archive as required for progressive downloading. Otherwise it is placed normally at the end.
3034 */
3035 MoovPlacement?: Mp4MoovPlacement;
3036 /**
3037 * Overrides the "Major Brand" field in the output file. Usually not necessary to specify.
3038 */
3039 Mp4MajorBrand?: __string;
3040 }
3041 export type Mpeg2AdaptiveQuantization = "OFF"|"LOW"|"MEDIUM"|"HIGH"|string;
3042 export type Mpeg2CodecLevel = "AUTO"|"LOW"|"MAIN"|"HIGH1440"|"HIGH"|string;
3043 export type Mpeg2CodecProfile = "MAIN"|"PROFILE_422"|string;
3044 export type Mpeg2DynamicSubGop = "ADAPTIVE"|"STATIC"|string;
3045 export type Mpeg2FramerateControl = "INITIALIZE_FROM_SOURCE"|"SPECIFIED"|string;
3046 export type Mpeg2FramerateConversionAlgorithm = "DUPLICATE_DROP"|"INTERPOLATE"|string;
3047 export type Mpeg2GopSizeUnits = "FRAMES"|"SECONDS"|string;
3048 export type Mpeg2InterlaceMode = "PROGRESSIVE"|"TOP_FIELD"|"BOTTOM_FIELD"|"FOLLOW_TOP_FIELD"|"FOLLOW_BOTTOM_FIELD"|string;
3049 export type Mpeg2IntraDcPrecision = "AUTO"|"INTRA_DC_PRECISION_8"|"INTRA_DC_PRECISION_9"|"INTRA_DC_PRECISION_10"|"INTRA_DC_PRECISION_11"|string;
3050 export type Mpeg2ParControl = "INITIALIZE_FROM_SOURCE"|"SPECIFIED"|string;
3051 export type Mpeg2QualityTuningLevel = "SINGLE_PASS"|"MULTI_PASS"|string;
3052 export type Mpeg2RateControlMode = "VBR"|"CBR"|string;
3053 export type Mpeg2SceneChangeDetect = "DISABLED"|"ENABLED"|string;
3054 export interface Mpeg2Settings {
3055 /**
3056 * Adaptive quantization. Allows intra-frame quantizers to vary to improve visual quality.
3057 */
3058 AdaptiveQuantization?: Mpeg2AdaptiveQuantization;
3059 /**
3060 * Average bitrate in bits/second. Required for VBR and CBR. For MS Smooth outputs, bitrates must be unique when rounded down to the nearest multiple of 1000.
3061 */
3062 Bitrate?: __integerMin1000Max288000000;
3063 /**
3064 * Use Level (Mpeg2CodecLevel) to set the MPEG-2 level for the video output.
3065 */
3066 CodecLevel?: Mpeg2CodecLevel;
3067 /**
3068 * Use Profile (Mpeg2CodecProfile) to set the MPEG-2 profile for the video output.
3069 */
3070 CodecProfile?: Mpeg2CodecProfile;
3071 /**
3072 * Choose Adaptive to improve subjective video quality for high-motion content. This will cause the service to use fewer B-frames (which infer information based on other frames) for high-motion portions of the video and more B-frames for low-motion portions. The maximum number of B-frames is limited by the value you provide for the setting B frames between reference frames (numberBFramesBetweenReferenceFrames).
3073 */
3074 DynamicSubGop?: Mpeg2DynamicSubGop;
3075 /**
3076 * If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job sepecification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator.
3077 */
3078 FramerateControl?: Mpeg2FramerateControl;
3079 /**
3080 * When set to INTERPOLATE, produces smoother motion during frame rate conversion.
3081 */
3082 FramerateConversionAlgorithm?: Mpeg2FramerateConversionAlgorithm;
3083 /**
3084 * Frame rate denominator.
3085 */
3086 FramerateDenominator?: __integerMin1Max1001;
3087 /**
3088 * Frame rate numerator - frame rate is a fraction, e.g. 24000 / 1001 = 23.976 fps.
3089 */
3090 FramerateNumerator?: __integerMin24Max60000;
3091 /**
3092 * Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break output segmenting.
3093 */
3094 GopClosedCadence?: __integerMin0Max2147483647;
3095 /**
3096 * GOP Length (keyframe interval) in frames or seconds. Must be greater than zero.
3097 */
3098 GopSize?: __doubleMin0;
3099 /**
3100 * Indicates if the GOP Size in MPEG2 is specified in frames or seconds. If seconds the system will convert the GOP Size into a frame count at run time.
3101 */
3102 GopSizeUnits?: Mpeg2GopSizeUnits;
3103 /**
3104 * Percentage of the buffer that should initially be filled (HRD buffer model).
3105 */
3106 HrdBufferInitialFillPercentage?: __integerMin0Max100;
3107 /**
3108 * Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000.
3109 */
3110 HrdBufferSize?: __integerMin0Max47185920;
3111 /**
3112 * Use Interlace mode (InterlaceMode) to choose the scan line type for the output. * Top Field First (TOP_FIELD) and Bottom Field First (BOTTOM_FIELD) produce interlaced output with the entire output having the same field polarity (top or bottom first). * Follow, Default Top (FOLLOW_TOP_FIELD) and Follow, Default Bottom (FOLLOW_BOTTOM_FIELD) use the same field polarity as the source. Therefore, behavior depends on the input scan type.
3113 - If the source is interlaced, the output will be interlaced with the same polarity as the source (it will follow the source). The output could therefore be a mix of "top field first" and "bottom field first".
3114 - If the source is progressive, the output will be interlaced with "top field first" or "bottom field first" polarity, depending on which of the Follow options you chose.
3115 */
3116 InterlaceMode?: Mpeg2InterlaceMode;
3117 /**
3118 * Use Intra DC precision (Mpeg2IntraDcPrecision) to set quantization precision for intra-block DC coefficients. If you choose the value auto, the service will automatically select the precision based on the per-frame compression ratio.
3119 */
3120 IntraDcPrecision?: Mpeg2IntraDcPrecision;
3121 /**
3122 * Maximum bitrate in bits/second. For example, enter five megabits per second as 5000000.
3123 */
3124 MaxBitrate?: __integerMin1000Max300000000;
3125 /**
3126 * Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. This setting is only used when Scene Change Detect is enabled. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1
3127 */
3128 MinIInterval?: __integerMin0Max30;
3129 /**
3130 * Number of B-frames between reference frames.
3131 */
3132 NumberBFramesBetweenReferenceFrames?: __integerMin0Max7;
3133 /**
3134 * Using the API, enable ParFollowSource if you want the service to use the pixel aspect ratio from the input. Using the console, do this by choosing Follow source for Pixel aspect ratio.
3135 */
3136 ParControl?: Mpeg2ParControl;
3137 /**
3138 * Pixel Aspect Ratio denominator.
3139 */
3140 ParDenominator?: __integerMin1Max2147483647;
3141 /**
3142 * Pixel Aspect Ratio numerator.
3143 */
3144 ParNumerator?: __integerMin1Max2147483647;
3145 /**
3146 * Use Quality tuning level (Mpeg2QualityTuningLevel) to specifiy whether to use single-pass or multipass video encoding.
3147 */
3148 QualityTuningLevel?: Mpeg2QualityTuningLevel;
3149 /**
3150 * Use Rate control mode (Mpeg2RateControlMode) to specifiy whether the bitrate is variable (vbr) or constant (cbr).
3151 */
3152 RateControlMode?: Mpeg2RateControlMode;
3153 /**
3154 * Scene change detection (inserts I-frames on scene changes).
3155 */
3156 SceneChangeDetect?: Mpeg2SceneChangeDetect;
3157 /**
3158 * Enables Slow PAL rate conversion. 23.976fps and 24fps input is relabeled as 25fps, and audio is sped up correspondingly.
3159 */
3160 SlowPal?: Mpeg2SlowPal;
3161 /**
3162 * Softness. Selects quantizer matrix, larger values reduce high-frequency content in the encoded image.
3163 */
3164 Softness?: __integerMin0Max128;
3165 /**
3166 * Adjust quantization within each frame based on spatial variation of content complexity.
3167 */
3168 SpatialAdaptiveQuantization?: Mpeg2SpatialAdaptiveQuantization;
3169 /**
3170 * Produces a Type D-10 compatible bitstream (SMPTE 356M-2001).
3171 */
3172 Syntax?: Mpeg2Syntax;
3173 /**
3174 * Only use Telecine (Mpeg2Telecine) when you set Framerate (Framerate) to 29.970. Set Telecine (Mpeg2Telecine) to Hard (hard) to produce a 29.97i output from a 23.976 input. Set it to Soft (soft) to produce 23.976 output and leave converstion to the player.
3175 */
3176 Telecine?: Mpeg2Telecine;
3177 /**
3178 * Adjust quantization within each frame based on temporal variation of content complexity.
3179 */
3180 TemporalAdaptiveQuantization?: Mpeg2TemporalAdaptiveQuantization;
3181 }
3182 export type Mpeg2SlowPal = "DISABLED"|"ENABLED"|string;
3183 export type Mpeg2SpatialAdaptiveQuantization = "DISABLED"|"ENABLED"|string;
3184 export type Mpeg2Syntax = "DEFAULT"|"D_10"|string;
3185 export type Mpeg2Telecine = "NONE"|"SOFT"|"HARD"|string;
3186 export type Mpeg2TemporalAdaptiveQuantization = "DISABLED"|"ENABLED"|string;
3187 export type MsSmoothAudioDeduplication = "COMBINE_DUPLICATE_STREAMS"|"NONE"|string;
3188 export interface MsSmoothEncryptionSettings {
3189 /**
3190 * Settings for use with a SPEKE key provider
3191 */
3192 SpekeKeyProvider?: SpekeKeyProvider;
3193 }
3194 export interface MsSmoothGroupSettings {
3195 /**
3196 * COMBINE_DUPLICATE_STREAMS combines identical audio encoding settings across a Microsoft Smooth output group into a single audio stream.
3197 */
3198 AudioDeduplication?: MsSmoothAudioDeduplication;
3199 /**
3200 * Use Destination (Destination) to specify the S3 output location and the output filename base. Destination accepts format identifiers. If you do not specify the base filename in the URI, the service will use the filename of the input file. If your job has multiple inputs, the service uses the filename of the first input file.
3201 */
3202 Destination?: __stringPatternS3;
3203 /**
3204 * Settings associated with the destination. Will vary based on the type of destination
3205 */
3206 DestinationSettings?: DestinationSettings;
3207 /**
3208 * If you are using DRM, set DRM System (MsSmoothEncryptionSettings) to specify the value SpekeKeyProvider.
3209 */
3210 Encryption?: MsSmoothEncryptionSettings;
3211 /**
3212 * Use Fragment length (FragmentLength) to specify the mp4 fragment sizes in seconds. Fragment length must be compatible with GOP size and frame rate.
3213 */
3214 FragmentLength?: __integerMin1Max2147483647;
3215 /**
3216 * Use Manifest encoding (MsSmoothManifestEncoding) to specify the encoding format for the server and client manifest. Valid options are utf8 and utf16.
3217 */
3218 ManifestEncoding?: MsSmoothManifestEncoding;
3219 }
3220 export type MsSmoothManifestEncoding = "UTF8"|"UTF16"|string;
3221 export interface NielsenConfiguration {
3222 /**
3223 * Use Nielsen Configuration (NielsenConfiguration) to set the Nielsen measurement system breakout code. Supported values are 0, 3, 7, and 9.
3224 */
3225 BreakoutCode?: __integerMin0Max9;
3226 /**
3227 * Use Distributor ID (DistributorID) to specify the distributor ID that is assigned to your organization by Neilsen.
3228 */
3229 DistributorId?: __string;
3230 }
3231 export interface NoiseReducer {
3232 /**
3233 * Use Noise reducer filter (NoiseReducerFilter) to select one of the following spatial image filtering functions. To use this setting, you must also enable Noise reducer (NoiseReducer). * Bilateral is an edge preserving noise reduction filter. * Mean (softest), Gaussian, Lanczos, and Sharpen (sharpest) are convolution filters. * Conserve is a min/max noise reduction filter. * Spatial is a frequency-domain filter based on JND principles.
3234 */
3235 Filter?: NoiseReducerFilter;
3236 /**
3237 * Settings for a noise reducer filter
3238 */
3239 FilterSettings?: NoiseReducerFilterSettings;
3240 /**
3241 * Noise reducer filter settings for spatial filter.
3242 */
3243 SpatialFilterSettings?: NoiseReducerSpatialFilterSettings;
3244 }
3245 export type NoiseReducerFilter = "BILATERAL"|"MEAN"|"GAUSSIAN"|"LANCZOS"|"SHARPEN"|"CONSERVE"|"SPATIAL"|string;
3246 export interface NoiseReducerFilterSettings {
3247 /**
3248 * Relative strength of noise reducing filter. Higher values produce stronger filtering.
3249 */
3250 Strength?: __integerMin0Max3;
3251 }
3252 export interface NoiseReducerSpatialFilterSettings {
3253 /**
3254 * Specify strength of post noise reduction sharpening filter, with 0 disabling the filter and 3 enabling it at maximum strength.
3255 */
3256 PostFilterSharpenStrength?: __integerMin0Max3;
3257 /**
3258 * The speed of the filter, from -2 (lower speed) to 3 (higher speed), with 0 being the nominal value.
3259 */
3260 Speed?: __integerMinNegative2Max3;
3261 /**
3262 * Relative strength of noise reducing filter. Higher values produce stronger filtering.
3263 */
3264 Strength?: __integerMin0Max16;
3265 }
3266 export type Order = "ASCENDING"|"DESCENDING"|string;
3267 export interface Output {
3268 /**
3269 * (AudioDescriptions) contains groups of audio encoding settings organized by audio codec. Include one instance of (AudioDescriptions) per output. (AudioDescriptions) can contain multiple groups of encoding settings.
3270 */
3271 AudioDescriptions?: __listOfAudioDescription;
3272 /**
3273 * (CaptionDescriptions) contains groups of captions settings. For each output that has captions, include one instance of (CaptionDescriptions). (CaptionDescriptions) can contain multiple groups of captions settings.
3274 */
3275 CaptionDescriptions?: __listOfCaptionDescription;
3276 /**
3277 * Container specific settings.
3278 */
3279 ContainerSettings?: ContainerSettings;
3280 /**
3281 * Use Extension (Extension) to specify the file extension for outputs in File output groups. If you do not specify a value, the service will use default extensions by container type as follows * MPEG-2 transport stream, m2ts * Quicktime, mov * MXF container, mxf * MPEG-4 container, mp4 * No Container, the service will use codec extensions (e.g. AAC, H265, H265, AC3)
3282 */
3283 Extension?: __string;
3284 /**
3285 * Use Name modifier (NameModifier) to have the service add a string to the end of each output filename. You specify the base filename as part of your destination URI. When you create multiple outputs in the same output group, Name modifier (NameModifier) is required. Name modifier also accepts format identifiers. For DASH ISO outputs, if you use the format identifiers $Number$ or $Time$ in one output, you must use them in the same way in all outputs of the output group.
3286 */
3287 NameModifier?: __stringMin1;
3288 /**
3289 * Specific settings for this type of output.
3290 */
3291 OutputSettings?: OutputSettings;
3292 /**
3293 * Use Preset (Preset) to specifiy a preset for your transcoding settings. Provide the system or custom preset name. You can specify either Preset (Preset) or Container settings (ContainerSettings), but not both.
3294 */
3295 Preset?: __stringMin0;
3296 /**
3297 * (VideoDescription) contains a group of video encoding settings. The specific video settings depend on the video codec you choose when you specify a value for Video codec (codec). Include one instance of (VideoDescription) per output.
3298 */
3299 VideoDescription?: VideoDescription;
3300 }
3301 export interface OutputChannelMapping {
3302 /**
3303 * List of input channels
3304 */
3305 InputChannels?: __listOf__integerMinNegative60Max6;
3306 }
3307 export interface OutputDetail {
3308 /**
3309 * Duration in milliseconds
3310 */
3311 DurationInMs?: __integer;
3312 /**
3313 * Contains details about the output's video stream
3314 */
3315 VideoDetails?: VideoDetail;
3316 }
3317 export interface OutputGroup {
3318 /**
3319 * Use Custom Group Name (CustomName) to specify a name for the output group. This value is displayed on the console and can make your job settings JSON more human-readable. It does not affect your outputs. Use up to twelve characters that are either letters, numbers, spaces, or underscores.
3320 */
3321 CustomName?: __string;
3322 /**
3323 * Name of the output group
3324 */
3325 Name?: __string;
3326 /**
3327 * Output Group settings, including type
3328 */
3329 OutputGroupSettings?: OutputGroupSettings;
3330 /**
3331 * This object holds groups of encoding settings, one group of settings per output.
3332 */
3333 Outputs?: __listOfOutput;
3334 }
3335 export interface OutputGroupDetail {
3336 /**
3337 * Details about the output
3338 */
3339 OutputDetails?: __listOfOutputDetail;
3340 }
3341 export interface OutputGroupSettings {
3342 /**
3343 * Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to CMAF_GROUP_SETTINGS. Each output in a CMAF Output Group may only contain a single video, audio, or caption output.
3344 */
3345 CmafGroupSettings?: CmafGroupSettings;
3346 /**
3347 * Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to DASH_ISO_GROUP_SETTINGS.
3348 */
3349 DashIsoGroupSettings?: DashIsoGroupSettings;
3350 /**
3351 * Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to FILE_GROUP_SETTINGS.
3352 */
3353 FileGroupSettings?: FileGroupSettings;
3354 /**
3355 * Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to HLS_GROUP_SETTINGS.
3356 */
3357 HlsGroupSettings?: HlsGroupSettings;
3358 /**
3359 * Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to MS_SMOOTH_GROUP_SETTINGS.
3360 */
3361 MsSmoothGroupSettings?: MsSmoothGroupSettings;
3362 /**
3363 * Type of output group (File group, Apple HLS, DASH ISO, Microsoft Smooth Streaming, CMAF)
3364 */
3365 Type?: OutputGroupType;
3366 }
3367 export type OutputGroupType = "HLS_GROUP_SETTINGS"|"DASH_ISO_GROUP_SETTINGS"|"FILE_GROUP_SETTINGS"|"MS_SMOOTH_GROUP_SETTINGS"|"CMAF_GROUP_SETTINGS"|string;
3368 export type OutputSdt = "SDT_FOLLOW"|"SDT_FOLLOW_IF_PRESENT"|"SDT_MANUAL"|"SDT_NONE"|string;
3369 export interface OutputSettings {
3370 /**
3371 * Settings for HLS output groups
3372 */
3373 HlsSettings?: HlsSettings;
3374 }
3375 export interface Preset {
3376 /**
3377 * An identifier for this resource that is unique within all of AWS.
3378 */
3379 Arn?: __string;
3380 /**
3381 * An optional category you create to organize your presets.
3382 */
3383 Category?: __string;
3384 /**
3385 * The timestamp in epoch seconds for preset creation.
3386 */
3387 CreatedAt?: __timestampUnix;
3388 /**
3389 * An optional description you create for each preset.
3390 */
3391 Description?: __string;
3392 /**
3393 * The timestamp in epoch seconds when the preset was last updated.
3394 */
3395 LastUpdated?: __timestampUnix;
3396 /**
3397 * A name you create for each preset. Each name must be unique within your account.
3398 */
3399 Name: __string;
3400 /**
3401 * Settings for preset
3402 */
3403 Settings: PresetSettings;
3404 /**
3405 * A preset can be of two types: system or custom. System or built-in preset can't be modified or deleted by the user.
3406 */
3407 Type?: Type;
3408 }
3409 export type PresetListBy = "NAME"|"CREATION_DATE"|"SYSTEM"|string;
3410 export interface PresetSettings {
3411 /**
3412 * (AudioDescriptions) contains groups of audio encoding settings organized by audio codec. Include one instance of (AudioDescriptions) per output. (AudioDescriptions) can contain multiple groups of encoding settings.
3413 */
3414 AudioDescriptions?: __listOfAudioDescription;
3415 /**
3416 * Caption settings for this preset. There can be multiple caption settings in a single output.
3417 */
3418 CaptionDescriptions?: __listOfCaptionDescriptionPreset;
3419 /**
3420 * Container specific settings.
3421 */
3422 ContainerSettings?: ContainerSettings;
3423 /**
3424 * (VideoDescription) contains a group of video encoding settings. The specific video settings depend on the video codec you choose when you specify a value for Video codec (codec). Include one instance of (VideoDescription) per output.
3425 */
3426 VideoDescription?: VideoDescription;
3427 }
3428 export type PricingPlan = "ON_DEMAND"|"RESERVED"|string;
3429 export type ProresCodecProfile = "APPLE_PRORES_422"|"APPLE_PRORES_422_HQ"|"APPLE_PRORES_422_LT"|"APPLE_PRORES_422_PROXY"|string;
3430 export type ProresFramerateControl = "INITIALIZE_FROM_SOURCE"|"SPECIFIED"|string;
3431 export type ProresFramerateConversionAlgorithm = "DUPLICATE_DROP"|"INTERPOLATE"|string;
3432 export type ProresInterlaceMode = "PROGRESSIVE"|"TOP_FIELD"|"BOTTOM_FIELD"|"FOLLOW_TOP_FIELD"|"FOLLOW_BOTTOM_FIELD"|string;
3433 export type ProresParControl = "INITIALIZE_FROM_SOURCE"|"SPECIFIED"|string;
3434 export interface ProresSettings {
3435 /**
3436 * Use Profile (ProResCodecProfile) to specifiy the type of Apple ProRes codec to use for this output.
3437 */
3438 CodecProfile?: ProresCodecProfile;
3439 /**
3440 * If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job sepecification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator.
3441 */
3442 FramerateControl?: ProresFramerateControl;
3443 /**
3444 * When set to INTERPOLATE, produces smoother motion during frame rate conversion.
3445 */
3446 FramerateConversionAlgorithm?: ProresFramerateConversionAlgorithm;
3447 /**
3448 * Frame rate denominator.
3449 */
3450 FramerateDenominator?: __integerMin1Max2147483647;
3451 /**
3452 * When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator.
3453 */
3454 FramerateNumerator?: __integerMin1Max2147483647;
3455 /**
3456 * Use Interlace mode (InterlaceMode) to choose the scan line type for the output. * Top Field First (TOP_FIELD) and Bottom Field First (BOTTOM_FIELD) produce interlaced output with the entire output having the same field polarity (top or bottom first). * Follow, Default Top (FOLLOW_TOP_FIELD) and Follow, Default Bottom (FOLLOW_BOTTOM_FIELD) use the same field polarity as the source. Therefore, behavior depends on the input scan type.
3457 - If the source is interlaced, the output will be interlaced with the same polarity as the source (it will follow the source). The output could therefore be a mix of "top field first" and "bottom field first".
3458 - If the source is progressive, the output will be interlaced with "top field first" or "bottom field first" polarity, depending on which of the Follow options you chose.
3459 */
3460 InterlaceMode?: ProresInterlaceMode;
3461 /**
3462 * Use (ProresParControl) to specify how the service determines the pixel aspect ratio. Set to Follow source (INITIALIZE_FROM_SOURCE) to use the pixel aspect ratio from the input. To specify a different pixel aspect ratio: Using the console, choose it from the dropdown menu. Using the API, set ProresParControl to (SPECIFIED) and provide for (ParNumerator) and (ParDenominator).
3463 */
3464 ParControl?: ProresParControl;
3465 /**
3466 * Pixel Aspect Ratio denominator.
3467 */
3468 ParDenominator?: __integerMin1Max2147483647;
3469 /**
3470 * Pixel Aspect Ratio numerator.
3471 */
3472 ParNumerator?: __integerMin1Max2147483647;
3473 /**
3474 * Enables Slow PAL rate conversion. 23.976fps and 24fps input is relabeled as 25fps, and audio is sped up correspondingly.
3475 */
3476 SlowPal?: ProresSlowPal;
3477 /**
3478 * Only use Telecine (ProresTelecine) when you set Framerate (Framerate) to 29.970. Set Telecine (ProresTelecine) to Hard (hard) to produce a 29.97i output from a 23.976 input. Set it to Soft (soft) to produce 23.976 output and leave converstion to the player.
3479 */
3480 Telecine?: ProresTelecine;
3481 }
3482 export type ProresSlowPal = "DISABLED"|"ENABLED"|string;
3483 export type ProresTelecine = "NONE"|"HARD"|string;
3484 export interface Queue {
3485 /**
3486 * An identifier for this resource that is unique within all of AWS.
3487 */
3488 Arn?: __string;
3489 /**
3490 * The timestamp in epoch seconds for when you created the queue.
3491 */
3492 CreatedAt?: __timestampUnix;
3493 /**
3494 * An optional description that you create for each queue.
3495 */
3496 Description?: __string;
3497 /**
3498 * The timestamp in epoch seconds for when you most recently updated the queue.
3499 */
3500 LastUpdated?: __timestampUnix;
3501 /**
3502 * A name that you create for each queue. Each name must be unique within your account.
3503 */
3504 Name: __string;
3505 /**
3506 * Specifies whether the pricing plan for the queue is on-demand or reserved. For on-demand, you pay per minute, billed in increments of .01 minute. For reserved, you pay for the transcoding capacity of the entire queue, regardless of how much or how little you use it. Reserved pricing requires a 12-month commitment.
3507 */
3508 PricingPlan?: PricingPlan;
3509 /**
3510 * The estimated number of jobs with a PROGRESSING status.
3511 */
3512 ProgressingJobsCount?: __integer;
3513 /**
3514 * Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues.
3515 */
3516 ReservationPlan?: ReservationPlan;
3517 /**
3518 * Queues can be ACTIVE or PAUSED. If you pause a queue, the service won't begin processing jobs in that queue. Jobs that are running when you pause the queue continue to run until they finish or result in an error.
3519 */
3520 Status?: QueueStatus;
3521 /**
3522 * The estimated number of jobs with a SUBMITTED status.
3523 */
3524 SubmittedJobsCount?: __integer;
3525 /**
3526 * Specifies whether this on-demand queue is system or custom. System queues are built in. You can't modify or delete system queues. You can create and modify custom queues.
3527 */
3528 Type?: Type;
3529 }
3530 export type QueueListBy = "NAME"|"CREATION_DATE"|string;
3531 export type QueueStatus = "ACTIVE"|"PAUSED"|string;
3532 export interface Rectangle {
3533 /**
3534 * Height of rectangle in pixels. Specify only even numbers.
3535 */
3536 Height?: __integerMin2Max2147483647;
3537 /**
3538 * Width of rectangle in pixels. Specify only even numbers.
3539 */
3540 Width?: __integerMin2Max2147483647;
3541 /**
3542 * The distance, in pixels, between the rectangle and the left edge of the video frame. Specify only even numbers.
3543 */
3544 X?: __integerMin0Max2147483647;
3545 /**
3546 * The distance, in pixels, between the rectangle and the top edge of the video frame. Specify only even numbers.
3547 */
3548 Y?: __integerMin0Max2147483647;
3549 }
3550 export interface RemixSettings {
3551 /**
3552 * Channel mapping (ChannelMapping) contains the group of fields that hold the remixing value for each channel. Units are in dB. Acceptable values are within the range from -60 (mute) through 6. A setting of 0 passes the input channel unchanged to the output channel (no attenuation or amplification).
3553 */
3554 ChannelMapping?: ChannelMapping;
3555 /**
3556 * Specify the number of audio channels from your input that you want to use in your output. With remixing, you might combine or split the data in these channels, so the number of channels in your final output might be different.
3557 */
3558 ChannelsIn?: __integerMin1Max16;
3559 /**
3560 * Specify the number of channels in this output after remixing. Valid values: 1, 2, 4, 6, 8
3561 */
3562 ChannelsOut?: __integerMin1Max8;
3563 }
3564 export type RenewalType = "AUTO_RENEW"|"EXPIRE"|string;
3565 export interface ReservationPlan {
3566 /**
3567 * The length of the term of your reserved queue pricing plan commitment.
3568 */
3569 Commitment?: Commitment;
3570 /**
3571 * The timestamp in epoch seconds for when the current pricing plan term for this reserved queue expires.
3572 */
3573 ExpiresAt?: __timestampUnix;
3574 /**
3575 * The timestamp in epoch seconds for when you set up the current pricing plan for this reserved queue.
3576 */
3577 PurchasedAt?: __timestampUnix;
3578 /**
3579 * Specifies whether the term of your reserved queue pricing plan is automatically extended (AUTO_RENEW) or expires (EXPIRE) at the end of the term.
3580 */
3581 RenewalType?: RenewalType;
3582 /**
3583 * Specifies the number of reserved transcode slots (RTS) for this queue. The number of RTS determines how many jobs the queue can process in parallel; each RTS can process one job at a time. When you increase this number, you extend your existing commitment with a new 12-month commitment for a larger number of RTS. The new commitment begins when you purchase the additional capacity. You can't decrease the number of RTS in your reserved queue.
3584 */
3585 ReservedSlots?: __integer;
3586 /**
3587 * Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED.
3588 */
3589 Status?: ReservationPlanStatus;
3590 }
3591 export interface ReservationPlanSettings {
3592 /**
3593 * The length of the term of your reserved queue pricing plan commitment.
3594 */
3595 Commitment: Commitment;
3596 /**
3597 * Specifies whether the term of your reserved queue pricing plan is automatically extended (AUTO_RENEW) or expires (EXPIRE) at the end of the term. When your term is auto renewed, you extend your commitment by 12 months from the auto renew date. You can cancel this commitment.
3598 */
3599 RenewalType: RenewalType;
3600 /**
3601 * Specifies the number of reserved transcode slots (RTS) for this queue. The number of RTS determines how many jobs the queue can process in parallel; each RTS can process one job at a time. You can't decrease the number of RTS in your reserved queue. You can increase the number of RTS by extending your existing commitment with a new 12-month commitment for the larger number. The new commitment begins when you purchase the additional capacity. You can't cancel your commitment or revert to your original commitment after you increase the capacity.
3602 */
3603 ReservedSlots: __integer;
3604 }
3605 export type ReservationPlanStatus = "ACTIVE"|"EXPIRED"|string;
3606 export interface ResourceTags {
3607 /**
3608 * The Amazon Resource Name (ARN) of the resource.
3609 */
3610 Arn?: __string;
3611 /**
3612 * The tags for the resource.
3613 */
3614 Tags?: __mapOf__string;
3615 }
3616 export type RespondToAfd = "NONE"|"RESPOND"|"PASSTHROUGH"|string;
3617 export interface S3DestinationSettings {
3618 /**
3619 * Settings for how your job outputs are encrypted as they are uploaded to Amazon S3.
3620 */
3621 Encryption?: S3EncryptionSettings;
3622 }
3623 export interface S3EncryptionSettings {
3624 /**
3625 * Specify how you want your data keys managed. AWS uses data keys to encrypt your content. AWS also encrypts the data keys themselves, using a customer master key (CMK), and then stores the encrypted data keys alongside your encrypted content. Use this setting to specify which AWS service manages the CMK. For simplest set up, choose Amazon S3 (SERVER_SIDE_ENCRYPTION_S3). If you want your master key to be managed by AWS Key Management Service (KMS), choose AWS KMS (SERVER_SIDE_ENCRYPTION_KMS). By default, when you choose AWS KMS, KMS uses the AWS managed customer master key (CMK) associated with Amazon S3 to encrypt your data keys. You can optionally choose to specify a different, customer managed CMK. Do so by specifying the Amazon Resource Name (ARN) of the key for the setting KMS ARN (kmsKeyArn).
3626 */
3627 EncryptionType?: S3ServerSideEncryptionType;
3628 /**
3629 * Optionally, specify the customer master key (CMK) that you want to use to encrypt the data key that AWS uses to encrypt your output content. Enter the Amazon Resource Name (ARN) of the CMK. To use this setting, you must also set Server-side encryption (S3ServerSideEncryptionType) to AWS KMS (SERVER_SIDE_ENCRYPTION_KMS). If you set Server-side encryption to AWS KMS but don't specify a CMK here, AWS uses the AWS managed CMK associated with Amazon S3.
3630 */
3631 KmsKeyArn?: __stringPatternArnAwsUsGovKmsAZ26EastWestCentralNorthSouthEastWest1912D12KeyAFAF098AFAF094AFAF094AFAF094AFAF0912;
3632 }
3633 export type S3ServerSideEncryptionType = "SERVER_SIDE_ENCRYPTION_S3"|"SERVER_SIDE_ENCRYPTION_KMS"|string;
3634 export type ScalingBehavior = "DEFAULT"|"STRETCH_TO_OUTPUT"|string;
3635 export type SccDestinationFramerate = "FRAMERATE_23_97"|"FRAMERATE_24"|"FRAMERATE_29_97_DROPFRAME"|"FRAMERATE_29_97_NON_DROPFRAME"|string;
3636 export interface SccDestinationSettings {
3637 /**
3638 * Set Framerate (SccDestinationFramerate) to make sure that the captions and the video are synchronized in the output. Specify a frame rate that matches the frame rate of the associated video. If the video frame rate is 29.97, choose 29.97 dropframe (FRAMERATE_29_97_DROPFRAME) only if the video has video_insertion=true and drop_frame_timecode=true; otherwise, choose 29.97 non-dropframe (FRAMERATE_29_97_NON_DROPFRAME).
3639 */
3640 Framerate?: SccDestinationFramerate;
3641 }
3642 export interface SpekeKeyProvider {
3643 /**
3644 * Optional AWS Certificate Manager ARN for a certificate to send to the keyprovider. The certificate holds a key used by the keyprovider to encrypt the keys in its response.
3645 */
3646 CertificateArn?: __stringPatternArnAwsUsGovAcm;
3647 /**
3648 * The SPEKE-compliant server uses Resource ID (ResourceId) to identify content.
3649 */
3650 ResourceId?: __string;
3651 /**
3652 * Relates to SPEKE implementation. DRM system identifiers. DASH output groups support a max of two system ids. Other group types support one system id.
3653 */
3654 SystemIds?: __listOf__stringPattern09aFAF809aFAF409aFAF409aFAF409aFAF12;
3655 /**
3656 * Use URL (Url) to specify the SPEKE-compliant server that will provide keys for content.
3657 */
3658 Url?: __stringPatternHttps;
3659 }
3660 export interface StaticKeyProvider {
3661 /**
3662 * Relates to DRM implementation. Sets the value of the KEYFORMAT attribute. Must be 'identity' or a reverse DNS string. May be omitted to indicate an implicit value of 'identity'.
3663 */
3664 KeyFormat?: __stringPatternIdentityAZaZ26AZaZ09163;
3665 /**
3666 * Relates to DRM implementation. Either a single positive integer version value or a slash delimited list of version values (1/2/3).
3667 */
3668 KeyFormatVersions?: __stringPatternDD;
3669 /**
3670 * Relates to DRM implementation. Use a 32-character hexidecimal string to specify Key Value (StaticKeyValue).
3671 */
3672 StaticKeyValue?: __stringPatternAZaZ0932;
3673 /**
3674 * Relates to DRM implementation. The location of the license server used for protecting content.
3675 */
3676 Url?: __string;
3677 }
3678 export type StatusUpdateInterval = "SECONDS_10"|"SECONDS_12"|"SECONDS_15"|"SECONDS_20"|"SECONDS_30"|"SECONDS_60"|"SECONDS_120"|"SECONDS_180"|"SECONDS_240"|"SECONDS_300"|"SECONDS_360"|"SECONDS_420"|"SECONDS_480"|"SECONDS_540"|"SECONDS_600"|string;
3679 export interface TagResourceRequest {
3680 /**
3681 * The Amazon Resource Name (ARN) of the resource that you want to tag. To get the ARN, send a GET request with the resource name.
3682 */
3683 Arn: __string;
3684 /**
3685 * The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.
3686 */
3687 Tags: __mapOf__string;
3688 }
3689 export interface TagResourceResponse {
3690 }
3691 export interface TeletextDestinationSettings {
3692 /**
3693 * Set pageNumber to the Teletext page number for the destination captions for this output. This value must be a three-digit hexadecimal string; strings ending in -FF are invalid. If you are passing through the entire set of Teletext data, do not use this field.
3694 */
3695 PageNumber?: __stringMin3Max3Pattern1809aFAF09aEAE;
3696 }
3697 export interface TeletextSourceSettings {
3698 /**
3699 * Use Page Number (PageNumber) to specify the three-digit hexadecimal page number that will be used for Teletext captions. Do not use this setting if you are passing through teletext from the input source to output.
3700 */
3701 PageNumber?: __stringMin3Max3Pattern1809aFAF09aEAE;
3702 }
3703 export interface TimecodeBurnin {
3704 /**
3705 * Use Font Size (FontSize) to set the font size of any burned-in timecode. Valid values are 10, 16, 32, 48.
3706 */
3707 FontSize?: __integerMin10Max48;
3708 /**
3709 * Use Position (Position) under under Timecode burn-in (TimecodeBurnIn) to specify the location the burned-in timecode on output video.
3710 */
3711 Position?: TimecodeBurninPosition;
3712 /**
3713 * Use Prefix (Prefix) to place ASCII characters before any burned-in timecode. For example, a prefix of "EZ-" will result in the timecode "EZ-00:00:00:00". Provide either the characters themselves or the ASCII code equivalents. The supported range of characters is 0x20 through 0x7e. This includes letters, numbers, and all special characters represented on a standard English keyboard.
3714 */
3715 Prefix?: __stringPattern;
3716 }
3717 export type TimecodeBurninPosition = "TOP_CENTER"|"TOP_LEFT"|"TOP_RIGHT"|"MIDDLE_LEFT"|"MIDDLE_CENTER"|"MIDDLE_RIGHT"|"BOTTOM_LEFT"|"BOTTOM_CENTER"|"BOTTOM_RIGHT"|string;
3718 export interface TimecodeConfig {
3719 /**
3720 * If you use an editing platform that relies on an anchor timecode, use Anchor Timecode (Anchor) to specify a timecode that will match the input video frame to the output video frame. Use 24-hour format with frame number, (HH:MM:SS:FF) or (HH:MM:SS;FF). This setting ignores frame rate conversion. System behavior for Anchor Timecode varies depending on your setting for Source (TimecodeSource). * If Source (TimecodeSource) is set to Specified Start (SPECIFIEDSTART), the first input frame is the specified value in Start Timecode (Start). Anchor Timecode (Anchor) and Start Timecode (Start) are used calculate output timecode. * If Source (TimecodeSource) is set to Start at 0 (ZEROBASED) the first frame is 00:00:00:00. * If Source (TimecodeSource) is set to Embedded (EMBEDDED), the first frame is the timecode value on the first input frame of the input.
3721 */
3722 Anchor?: __stringPattern010920405090509092;
3723 /**
3724 * Use Source (TimecodeSource) to set how timecodes are handled within this job. To make sure that your video, audio, captions, and markers are synchronized and that time-based features, such as image inserter, work correctly, choose the Timecode source option that matches your assets. All timecodes are in a 24-hour format with frame number (HH:MM:SS:FF). * Embedded (EMBEDDED) - Use the timecode that is in the input video. If no embedded timecode is in the source, the service will use Start at 0 (ZEROBASED) instead. * Start at 0 (ZEROBASED) - Set the timecode of the initial frame to 00:00:00:00. * Specified Start (SPECIFIEDSTART) - Set the timecode of the initial frame to a value other than zero. You use Start timecode (Start) to provide this value.
3725 */
3726 Source?: TimecodeSource;
3727 /**
3728 * Only use when you set Source (TimecodeSource) to Specified start (SPECIFIEDSTART). Use Start timecode (Start) to specify the timecode for the initial frame. Use 24-hour format with frame number, (HH:MM:SS:FF) or (HH:MM:SS;FF).
3729 */
3730 Start?: __stringPattern010920405090509092;
3731 /**
3732 * Only applies to outputs that support program-date-time stamp. Use Timestamp offset (TimestampOffset) to overwrite the timecode date without affecting the time and frame number. Provide the new date as a string in the format "yyyy-mm-dd". To use Time stamp offset, you must also enable Insert program-date-time (InsertProgramDateTime) in the output settings. For example, if the date part of your timecodes is 2002-1-25 and you want to change it to one year later, set Timestamp offset (TimestampOffset) to 2003-1-25.
3733 */
3734 TimestampOffset?: __stringPattern0940191020191209301;
3735 }
3736 export type TimecodeSource = "EMBEDDED"|"ZEROBASED"|"SPECIFIEDSTART"|string;
3737 export type TimedMetadata = "PASSTHROUGH"|"NONE"|string;
3738 export interface TimedMetadataInsertion {
3739 /**
3740 * Id3Insertions contains the array of Id3Insertion instances.
3741 */
3742 Id3Insertions?: __listOfId3Insertion;
3743 }
3744 export interface Timing {
3745 /**
3746 * The time, in Unix epoch format, that the transcoding job finished
3747 */
3748 FinishTime?: __timestampUnix;
3749 /**
3750 * The time, in Unix epoch format, that transcoding for the job began.
3751 */
3752 StartTime?: __timestampUnix;
3753 /**
3754 * The time, in Unix epoch format, that you submitted the job.
3755 */
3756 SubmitTime?: __timestampUnix;
3757 }
3758 export interface TrackSourceSettings {
3759 /**
3760 * Use this setting to select a single captions track from a source. Track numbers correspond to the order in the captions source file. For IMF sources, track numbering is based on the order that the captions appear in the CPL. For example, use 1 to select the captions asset that is listed first in the CPL. To include more than one captions track in your job outputs, create multiple input captions selectors. Specify one track per selector.
3761 */
3762 TrackNumber?: __integerMin1Max2147483647;
3763 }
3764 export interface TtmlDestinationSettings {
3765 /**
3766 * Pass through style and position information from a TTML-like input source (TTML, SMPTE-TT, CFF-TT) to the CFF-TT output or TTML output.
3767 */
3768 StylePassthrough?: TtmlStylePassthrough;
3769 }
3770 export type TtmlStylePassthrough = "ENABLED"|"DISABLED"|string;
3771 export type Type = "SYSTEM"|"CUSTOM"|string;
3772 export interface UntagResourceRequest {
3773 /**
3774 * The Amazon Resource Name (ARN) of the resource that you want to remove tags from. To get the ARN, send a GET request with the resource name.
3775 */
3776 Arn: __string;
3777 /**
3778 * The keys of the tags that you want to remove from the resource.
3779 */
3780 TagKeys?: __listOf__string;
3781 }
3782 export interface UntagResourceResponse {
3783 }
3784 export interface UpdateJobTemplateRequest {
3785 /**
3786 * This is a beta feature. If you are interested in using this feature, please contact AWS customer support.
3787 */
3788 AccelerationSettings?: AccelerationSettings;
3789 /**
3790 * The new category for the job template, if you are changing it.
3791 */
3792 Category?: __string;
3793 /**
3794 * The new description for the job template, if you are changing it.
3795 */
3796 Description?: __string;
3797 /**
3798 * The name of the job template you are modifying
3799 */
3800 Name: __string;
3801 /**
3802 * The new queue for the job template, if you are changing it.
3803 */
3804 Queue?: __string;
3805 /**
3806 * JobTemplateSettings contains all the transcode settings saved in the template that will be applied to jobs created from it.
3807 */
3808 Settings?: JobTemplateSettings;
3809 /**
3810 * Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error.
3811 */
3812 StatusUpdateInterval?: StatusUpdateInterval;
3813 }
3814 export interface UpdateJobTemplateResponse {
3815 /**
3816 * A job template is a pre-made set of encoding instructions that you can use to quickly create a job.
3817 */
3818 JobTemplate?: JobTemplate;
3819 }
3820 export interface UpdatePresetRequest {
3821 /**
3822 * The new category for the preset, if you are changing it.
3823 */
3824 Category?: __string;
3825 /**
3826 * The new description for the preset, if you are changing it.
3827 */
3828 Description?: __string;
3829 /**
3830 * The name of the preset you are modifying.
3831 */
3832 Name: __string;
3833 /**
3834 * Settings for preset
3835 */
3836 Settings?: PresetSettings;
3837 }
3838 export interface UpdatePresetResponse {
3839 /**
3840 * A preset is a collection of preconfigured media conversion settings that you want MediaConvert to apply to the output during the conversion process.
3841 */
3842 Preset?: Preset;
3843 }
3844 export interface UpdateQueueRequest {
3845 /**
3846 * The new description for the queue, if you are changing it.
3847 */
3848 Description?: __string;
3849 /**
3850 * The name of the queue that you are modifying.
3851 */
3852 Name: __string;
3853 /**
3854 * The new details of your pricing plan for your reserved queue. When you set up a new pricing plan to replace an expired one, you enter into another 12-month commitment. When you add capacity to your queue by increasing the number of RTS, you extend the term of your commitment to 12 months from when you add capacity. After you make these commitments, you can't cancel them.
3855 */
3856 ReservationPlanSettings?: ReservationPlanSettings;
3857 /**
3858 * Pause or activate a queue by changing its status between ACTIVE and PAUSED. If you pause a queue, jobs in that queue won't begin. Jobs that are running when you pause the queue continue to run until they finish or result in an error.
3859 */
3860 Status?: QueueStatus;
3861 }
3862 export interface UpdateQueueResponse {
3863 /**
3864 * You can use queues to manage the resources that are available to your AWS account for running multiple transcoding jobs at the same time. If you don't specify a queue, the service sends all jobs through the default queue. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/working-with-queues.html.
3865 */
3866 Queue?: Queue;
3867 }
3868 export type VideoCodec = "FRAME_CAPTURE"|"H_264"|"H_265"|"MPEG2"|"PRORES"|string;
3869 export interface VideoCodecSettings {
3870 /**
3871 * Specifies the video codec. This must be equal to one of the enum values defined by the object VideoCodec.
3872 */
3873 Codec?: VideoCodec;
3874 /**
3875 * Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value FRAME_CAPTURE.
3876 */
3877 FrameCaptureSettings?: FrameCaptureSettings;
3878 /**
3879 * Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value H_264.
3880 */
3881 H264Settings?: H264Settings;
3882 /**
3883 * Settings for H265 codec
3884 */
3885 H265Settings?: H265Settings;
3886 /**
3887 * Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value MPEG2.
3888 */
3889 Mpeg2Settings?: Mpeg2Settings;
3890 /**
3891 * Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value PRORES.
3892 */
3893 ProresSettings?: ProresSettings;
3894 }
3895 export interface VideoDescription {
3896 /**
3897 * This setting only applies to H.264, H.265, and MPEG2 outputs. Use Insert AFD signaling (AfdSignaling) to specify whether the service includes AFD values in the output video data and what those values are. * Choose None to remove all AFD values from this output. * Choose Fixed to ignore input AFD values and instead encode the value specified in the job. * Choose Auto to calculate output AFD values based on the input AFD scaler data.
3898 */
3899 AfdSignaling?: AfdSignaling;
3900 /**
3901 * The anti-alias filter is automatically applied to all outputs. The service no longer accepts the value DISABLED for AntiAlias. If you specify that in your job, the service will ignore the setting.
3902 */
3903 AntiAlias?: AntiAlias;
3904 /**
3905 * Video codec settings, (CodecSettings) under (VideoDescription), contains the group of settings related to video encoding. The settings in this group vary depending on the value you choose for Video codec (Codec). For each codec enum you choose, define the corresponding settings object. The following lists the codec enum, settings object pairs. * H_264, H264Settings * H_265, H265Settings * MPEG2, Mpeg2Settings * PRORES, ProresSettings * FRAME_CAPTURE, FrameCaptureSettings
3906 */
3907 CodecSettings?: VideoCodecSettings;
3908 /**
3909 * Enable Insert color metadata (ColorMetadata) to include color metadata in this output. This setting is enabled by default.
3910 */
3911 ColorMetadata?: ColorMetadata;
3912 /**
3913 * Applies only if your input aspect ratio is different from your output aspect ratio. Use Input cropping rectangle (Crop) to specify the video area the service will include in the output. This will crop the input source, causing video pixels to be removed on encode. If you crop your input frame size to smaller than your output frame size, make sure to specify the behavior you want in your output setting "Scaling behavior".
3914 */
3915 Crop?: Rectangle;
3916 /**
3917 * Applies only to 29.97 fps outputs. When this feature is enabled, the service will use drop-frame timecode on outputs. If it is not possible to use drop-frame timecode, the system will fall back to non-drop-frame. This setting is enabled by default when Timecode insertion (TimecodeInsertion) is enabled.
3918 */
3919 DropFrameTimecode?: DropFrameTimecode;
3920 /**
3921 * Applies only if you set AFD Signaling(AfdSignaling) to Fixed (FIXED). Use Fixed (FixedAfd) to specify a four-bit AFD value which the service will write on all frames of this video output.
3922 */
3923 FixedAfd?: __integerMin0Max15;
3924 /**
3925 * Use the Height (Height) setting to define the video resolution height for this output. Specify in pixels. If you don't provide a value here, the service will use the input height.
3926 */
3927 Height?: __integerMin32Max2160;
3928 /**
3929 * Use Position (Position) to point to a rectangle object to define your position. This setting overrides any other aspect ratio.
3930 */
3931 Position?: Rectangle;
3932 /**
3933 * Use Respond to AFD (RespondToAfd) to specify how the service changes the video itself in response to AFD values in the input. * Choose Respond to clip the input video frame according to the AFD value, input display aspect ratio, and output display aspect ratio. * Choose Passthrough to include the input AFD values. Do not choose this when AfdSignaling is set to (NONE). A preferred implementation of this workflow is to set RespondToAfd to (NONE) and set AfdSignaling to (AUTO). * Choose None to remove all input AFD values from this output.
3934 */
3935 RespondToAfd?: RespondToAfd;
3936 /**
3937 * Applies only if your input aspect ratio is different from your output aspect ratio. Choose "Stretch to output" to have the service stretch your video image to fit. Keep the setting "Default" to allow the service to letterbox your video instead. This setting overrides any positioning value you specify elsewhere in the job.
3938 */
3939 ScalingBehavior?: ScalingBehavior;
3940 /**
3941 * Use Sharpness (Sharpness) setting to specify the strength of anti-aliasing. This setting changes the width of the anti-alias filter kernel used for scaling. Sharpness only applies if your output resolution is different from your input resolution. 0 is the softest setting, 100 the sharpest, and 50 recommended for most content.
3942 */
3943 Sharpness?: __integerMin0Max100;
3944 /**
3945 * Applies only to H.264, H.265, MPEG2, and ProRes outputs. Only enable Timecode insertion when the input frame rate is identical to the output frame rate. To include timecodes in this output, set Timecode insertion (VideoTimecodeInsertion) to PIC_TIMING_SEI. To leave them out, set it to DISABLED. Default is DISABLED. When the service inserts timecodes in an output, by default, it uses any embedded timecodes from the input. If none are present, the service will set the timecode for the first output frame to zero. To change this default behavior, adjust the settings under Timecode configuration (TimecodeConfig). In the console, these settings are located under Job > Job settings > Timecode configuration. Note - Timecode source under input settings (InputTimecodeSource) does not affect the timecodes that are inserted in the output. Source under Job settings > Timecode configuration (TimecodeSource) does.
3946 */
3947 TimecodeInsertion?: VideoTimecodeInsertion;
3948 /**
3949 * Find additional transcoding features under Preprocessors (VideoPreprocessors). Enable the features at each output individually. These features are disabled by default.
3950 */
3951 VideoPreprocessors?: VideoPreprocessor;
3952 /**
3953 * Use Width (Width) to define the video resolution width, in pixels, for this output. If you don't provide a value here, the service will use the input width.
3954 */
3955 Width?: __integerMin32Max4096;
3956 }
3957 export interface VideoDetail {
3958 /**
3959 * Height in pixels for the output
3960 */
3961 HeightInPx?: __integer;
3962 /**
3963 * Width in pixels for the output
3964 */
3965 WidthInPx?: __integer;
3966 }
3967 export interface VideoPreprocessor {
3968 /**
3969 * Enable the Color corrector (ColorCorrector) feature if necessary. Enable or disable this feature for each output individually. This setting is disabled by default.
3970 */
3971 ColorCorrector?: ColorCorrector;
3972 /**
3973 * Use Deinterlacer (Deinterlacer) to produce smoother motion and a clearer picture.
3974 */
3975 Deinterlacer?: Deinterlacer;
3976 /**
3977 * Enable the Image inserter (ImageInserter) feature to include a graphic overlay on your video. Enable or disable this feature for each output individually. This setting is disabled by default.
3978 */
3979 ImageInserter?: ImageInserter;
3980 /**
3981 * Enable the Noise reducer (NoiseReducer) feature to remove noise from your video output if necessary. Enable or disable this feature for each output individually. This setting is disabled by default.
3982 */
3983 NoiseReducer?: NoiseReducer;
3984 /**
3985 * Timecode burn-in (TimecodeBurnIn)--Burns the output timecode and specified prefix into the output.
3986 */
3987 TimecodeBurnin?: TimecodeBurnin;
3988 }
3989 export interface VideoSelector {
3990 /**
3991 * If your input video has accurate color space metadata, or if you don't know about color space, leave this set to the default value FOLLOW. The service will automatically detect your input color space. If your input video has metadata indicating the wrong color space, or if your input video is missing color space metadata that should be there, specify the accurate color space here. If you choose HDR10, you can also correct inaccurate color space coefficients, using the HDR master display information controls. You must also set Color space usage (ColorSpaceUsage) to FORCE for the service to use these values.
3992 */
3993 ColorSpace?: ColorSpace;
3994 /**
3995 * There are two sources for color metadata, the input file and the job configuration (in the Color space and HDR master display informaiton settings). The Color space usage setting controls which takes precedence. FORCE: The system will use color metadata supplied by user, if any. If the user does not supply color metadata, the system will use data from the source. FALLBACK: The system will use color metadata from the source. If source has no color metadata, the system will use user-supplied color metadata values if available.
3996 */
3997 ColorSpaceUsage?: ColorSpaceUsage;
3998 /**
3999 * Use the "HDR master display information" (Hdr10Metadata) settings to correct HDR metadata or to provide missing metadata. These values vary depending on the input video and must be provided by a color grader. Range is 0 to 50,000; each increment represents 0.00002 in CIE1931 color coordinate. Note that these settings are not color correction. Note that if you are creating HDR outputs inside of an HLS CMAF package, to comply with the Apple specification, you must use the following settings. Set "MP4 packaging type" (writeMp4PackagingType) to HVC1 (HVC1). Set "Profile" (H265Settings > codecProfile) to Main10/High (MAIN10_HIGH). Set "Level" (H265Settings > codecLevel) to 5 (LEVEL_5).
4000 */
4001 Hdr10Metadata?: Hdr10Metadata;
4002 /**
4003 * Use PID (Pid) to select specific video data from an input file. Specify this value as an integer; the system automatically converts it to the hexidecimal value. For example, 257 selects PID 0x101. A PID, or packet identifier, is an identifier for a set of data in an MPEG-2 transport stream container.
4004 */
4005 Pid?: __integerMin1Max2147483647;
4006 /**
4007 * Selects a specific program from within a multi-program transport stream. Note that Quad 4K is not currently supported.
4008 */
4009 ProgramNumber?: __integerMinNegative2147483648Max2147483647;
4010 /**
4011 * Use Rotate (InputRotate) to specify how the service rotates your video. You can choose automatic rotation or specify a rotation. You can specify a clockwise rotation of 0, 90, 180, or 270 degrees. If your input video container is .mov or .mp4 and your input has rotation metadata, you can choose Automatic to have the service rotate your video according to the rotation specified in the metadata. The rotation must be within one degree of 90, 180, or 270 degrees. If the rotation metadata specifies any other rotation, the service will default to no rotation. By default, the service does no rotation, even if your input video has rotation metadata. The service doesn't pass through rotation metadata.
4012 */
4013 Rotate?: InputRotate;
4014 }
4015 export type VideoTimecodeInsertion = "DISABLED"|"PIC_TIMING_SEI"|string;
4016 export type WavFormat = "RIFF"|"RF64"|string;
4017 export interface WavSettings {
4018 /**
4019 * Specify Bit depth (BitDepth), in bits per sample, to choose the encoding quality for this audio track.
4020 */
4021 BitDepth?: __integerMin16Max24;
4022 /**
4023 * Set Channels to specify the number of channels in this output audio track. With WAV, valid values 1, 2, 4, and 8. In the console, these values are Mono, Stereo, 4-Channel, and 8-Channel, respectively.
4024 */
4025 Channels?: __integerMin1Max8;
4026 /**
4027 * The service defaults to using RIFF for WAV outputs. If your output audio is likely to exceed 4 GB in file size, or if you otherwise need the extended support of the RF64 format, set your output WAV file format to RF64.
4028 */
4029 Format?: WavFormat;
4030 /**
4031 * Sample rate in Hz.
4032 */
4033 SampleRate?: __integerMin8000Max192000;
4034 }
4035 export type __doubleMin0 = number;
4036 export type __doubleMin0Max2147483647 = number;
4037 export type __doubleMinNegative59Max0 = number;
4038 export type __doubleMinNegative60Max3 = number;
4039 export type __doubleMinNegative60MaxNegative1 = number;
4040 export type __integer = number;
4041 export type __integerMin0Max10 = number;
4042 export type __integerMin0Max100 = number;
4043 export type __integerMin0Max1000 = number;
4044 export type __integerMin0Max10000 = number;
4045 export type __integerMin0Max1152000000 = number;
4046 export type __integerMin0Max128 = number;
4047 export type __integerMin0Max1466400000 = number;
4048 export type __integerMin0Max15 = number;
4049 export type __integerMin0Max16 = number;
4050 export type __integerMin0Max2147483647 = number;
4051 export type __integerMin0Max255 = number;
4052 export type __integerMin0Max3 = number;
4053 export type __integerMin0Max30 = number;
4054 export type __integerMin0Max30000 = number;
4055 export type __integerMin0Max3600 = number;
4056 export type __integerMin0Max47185920 = number;
4057 export type __integerMin0Max500 = number;
4058 export type __integerMin0Max50000 = number;
4059 export type __integerMin0Max65535 = number;
4060 export type __integerMin0Max7 = number;
4061 export type __integerMin0Max8 = number;
4062 export type __integerMin0Max9 = number;
4063 export type __integerMin0Max96 = number;
4064 export type __integerMin0Max99 = number;
4065 export type __integerMin1000Max1152000000 = number;
4066 export type __integerMin1000Max1466400000 = number;
4067 export type __integerMin1000Max288000000 = number;
4068 export type __integerMin1000Max30000 = number;
4069 export type __integerMin1000Max300000000 = number;
4070 export type __integerMin10Max48 = number;
4071 export type __integerMin16Max24 = number;
4072 export type __integerMin1Max1 = number;
4073 export type __integerMin1Max10 = number;
4074 export type __integerMin1Max100 = number;
4075 export type __integerMin1Max10000000 = number;
4076 export type __integerMin1Max1001 = number;
4077 export type __integerMin1Max16 = number;
4078 export type __integerMin1Max17895697 = number;
4079 export type __integerMin1Max2 = number;
4080 export type __integerMin1Max20 = number;
4081 export type __integerMin1Max2147483640 = number;
4082 export type __integerMin1Max2147483647 = number;
4083 export type __integerMin1Max31 = number;
4084 export type __integerMin1Max32 = number;
4085 export type __integerMin1Max4 = number;
4086 export type __integerMin1Max6 = number;
4087 export type __integerMin1Max8 = number;
4088 export type __integerMin24Max60000 = number;
4089 export type __integerMin25Max10000 = number;
4090 export type __integerMin25Max2000 = number;
4091 export type __integerMin2Max2147483647 = number;
4092 export type __integerMin32000Max384000 = number;
4093 export type __integerMin32000Max48000 = number;
4094 export type __integerMin32Max2160 = number;
4095 export type __integerMin32Max4096 = number;
4096 export type __integerMin32Max8182 = number;
4097 export type __integerMin48000Max48000 = number;
4098 export type __integerMin6000Max1024000 = number;
4099 export type __integerMin64000Max640000 = number;
4100 export type __integerMin8000Max192000 = number;
4101 export type __integerMin8000Max96000 = number;
4102 export type __integerMin96Max600 = number;
4103 export type __integerMinNegative1000Max1000 = number;
4104 export type __integerMinNegative180Max180 = number;
4105 export type __integerMinNegative2147483648Max2147483647 = number;
4106 export type __integerMinNegative2Max3 = number;
4107 export type __integerMinNegative5Max5 = number;
4108 export type __integerMinNegative60Max6 = number;
4109 export type __integerMinNegative70Max0 = number;
4110 export type __listOfAudioDescription = AudioDescription[];
4111 export type __listOfCaptionDescription = CaptionDescription[];
4112 export type __listOfCaptionDescriptionPreset = CaptionDescriptionPreset[];
4113 export type __listOfEndpoint = Endpoint[];
4114 export type __listOfHlsAdMarkers = HlsAdMarkers[];
4115 export type __listOfHlsCaptionLanguageMapping = HlsCaptionLanguageMapping[];
4116 export type __listOfId3Insertion = Id3Insertion[];
4117 export type __listOfInput = Input[];
4118 export type __listOfInputClipping = InputClipping[];
4119 export type __listOfInputTemplate = InputTemplate[];
4120 export type __listOfInsertableImage = InsertableImage[];
4121 export type __listOfJob = Job[];
4122 export type __listOfJobTemplate = JobTemplate[];
4123 export type __listOfOutput = Output[];
4124 export type __listOfOutputChannelMapping = OutputChannelMapping[];
4125 export type __listOfOutputDetail = OutputDetail[];
4126 export type __listOfOutputGroup = OutputGroup[];
4127 export type __listOfOutputGroupDetail = OutputGroupDetail[];
4128 export type __listOfPreset = Preset[];
4129 export type __listOfQueue = Queue[];
4130 export type __listOf__integerMin1Max2147483647 = __integerMin1Max2147483647[];
4131 export type __listOf__integerMin32Max8182 = __integerMin32Max8182[];
4132 export type __listOf__integerMinNegative60Max6 = __integerMinNegative60Max6[];
4133 export type __listOf__string = __string[];
4134 export type __listOf__stringMin1 = __stringMin1[];
4135 export type __listOf__stringPattern09aFAF809aFAF409aFAF409aFAF409aFAF12 = __stringPattern09aFAF809aFAF409aFAF409aFAF409aFAF12[];
4136 export type __listOf__stringPatternS3ASSETMAPXml = __stringPatternS3ASSETMAPXml[];
4137 export type __mapOfAudioSelector = {[key: string]: AudioSelector};
4138 export type __mapOfAudioSelectorGroup = {[key: string]: AudioSelectorGroup};
4139 export type __mapOfCaptionSelector = {[key: string]: CaptionSelector};
4140 export type __mapOf__string = {[key: string]: __string};
4141 export type __string = string;
4142 export type __stringMin0 = string;
4143 export type __stringMin1 = string;
4144 export type __stringMin11Max11Pattern01D20305D205D = string;
4145 export type __stringMin14Max1285PatternS3Mov09Png = string;
4146 export type __stringMin14PatternS3BmpBMPPngPNG = string;
4147 export type __stringMin14PatternS3BmpBMPPngPNGTgaTGA = string;
4148 export type __stringMin14PatternS3SccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTSmiSMI = string;
4149 export type __stringMin16Max24PatternAZaZ0922AZaZ0916 = string;
4150 export type __stringMin1Max256 = string;
4151 export type __stringMin24Max512PatternAZaZ0902 = string;
4152 export type __stringMin32Max32Pattern09aFAF32 = string;
4153 export type __stringMin3Max3Pattern1809aFAF09aEAE = string;
4154 export type __stringMin3Max3PatternAZaZ3 = string;
4155 export type __stringMin9Max19PatternAZ26EastWestCentralNorthSouthEastWest1912 = string;
4156 export type __stringPattern = string;
4157 export type __stringPattern010920405090509092 = string;
4158 export type __stringPattern01D20305D205D = string;
4159 export type __stringPattern0940191020191209301 = string;
4160 export type __stringPattern09aFAF809aFAF409aFAF409aFAF409aFAF12 = string;
4161 export type __stringPatternAZaZ0902 = string;
4162 export type __stringPatternAZaZ0932 = string;
4163 export type __stringPatternArnAwsUsGovAcm = string;
4164 export type __stringPatternArnAwsUsGovKmsAZ26EastWestCentralNorthSouthEastWest1912D12KeyAFAF098AFAF094AFAF094AFAF094AFAF0912 = string;
4165 export type __stringPatternDD = string;
4166 export type __stringPatternHttps = string;
4167 export type __stringPatternIdentityAZaZ26AZaZ09163 = string;
4168 export type __stringPatternS3 = string;
4169 export type __stringPatternS3ASSETMAPXml = string;
4170 export type __stringPatternS3MM2VVMMPPEEGGAAVVIIMMPP4FFLLVVMMPPTTMMPPGGMM4VVTTRRPPFF4VVMM2TTSSTTSS264HH264MMKKVVMMOOVVMMTTSSMM2TTWWMMVVAASSFFVVOOBB3GGPP3GGPPPPMMXXFFDDIIVVXXXXVVIIDDRRAAWWDDVVGGXXFFMM1VV3GG2VVMMFFMM3UU8LLCCHHGGXXFFMMPPEEGG2MMXXFFMMPPEEGG2MMXXFFHHDDWWAAVVYY4MMAAAACCAAIIFFFFMMPP2AACC3EECC3DDTTSSEE = string;
4171 export type __stringPatternS3MM2VVMMPPEEGGAAVVIIMMPP4FFLLVVMMPPTTMMPPGGMM4VVTTRRPPFF4VVMM2TTSSTTSS264HH264MMKKVVMMOOVVMMTTSSMM2TTWWMMVVAASSFFVVOOBB3GGPP3GGPPPPMMXXFFDDIIVVXXXXVVIIDDRRAAWWDDVVGGXXFFMM1VV3GG2VVMMFFMM3UU8LLCCHHGGXXFFMMPPEEGG2MMXXFFMMPPEEGG2MMXXFFHHDDWWAAVVYY4MMXXMMLL = string;
4172 export type __stringPatternSNManifestConfirmConditionNotificationNS = string;
4173 export type __stringPatternSNSignalProcessingNotificationNS = string;
4174 export type __stringPatternWS = string;
4175 export type __timestampUnix = Date;
4176 /**
4177 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
4178 */
4179 export type apiVersion = "2017-08-29"|"latest"|string;
4180 export interface ClientApiVersions {
4181 /**
4182 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
4183 */
4184 apiVersion?: apiVersion;
4185 }
4186 export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
4187 /**
4188 * Contains interfaces for use with the MediaConvert client.
4189 */
4190 export import Types = MediaConvert;
4191}
4192export = MediaConvert;