Skip to content

Commit 08f266e

Browse files
author
awstools
committed
feat(client-mediaconvert): This release adds support for the AVC3 codec and fixes an alignment issue with Japanese vertical captions.
1 parent 6ed6c12 commit 08f266e

16 files changed

+86
-21
lines changed

clients/client-mediaconvert/src/commands/CreateJobCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1199,6 +1199,7 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
11991199
* Telecine: "NONE" || "SOFT" || "HARD",
12001200
* TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
12011201
* UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
1202+
* WriteMp4PackagingType: "AVC1" || "AVC3",
12021203
* },
12031204
* H265Settings: { // H265Settings
12041205
* AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",
@@ -2754,6 +2755,7 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
27542755
* // Telecine: "NONE" || "SOFT" || "HARD",
27552756
* // TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
27562757
* // UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
2758+
* // WriteMp4PackagingType: "AVC1" || "AVC3",
27572759
* // },
27582760
* // H265Settings: { // H265Settings
27592761
* // AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",

clients/client-mediaconvert/src/commands/CreateJobTemplateCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1180,6 +1180,7 @@ export interface CreateJobTemplateCommandOutput extends CreateJobTemplateRespons
11801180
* Telecine: "NONE" || "SOFT" || "HARD",
11811181
* TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
11821182
* UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
1183+
* WriteMp4PackagingType: "AVC1" || "AVC3",
11831184
* },
11841185
* H265Settings: { // H265Settings
11851186
* AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",
@@ -2677,6 +2678,7 @@ export interface CreateJobTemplateCommandOutput extends CreateJobTemplateRespons
26772678
* // Telecine: "NONE" || "SOFT" || "HARD",
26782679
* // TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
26792680
* // UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
2681+
* // WriteMp4PackagingType: "AVC1" || "AVC3",
26802682
* // },
26812683
* // H265Settings: { // H265Settings
26822684
* // AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",

clients/client-mediaconvert/src/commands/CreatePresetCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,7 @@ export interface CreatePresetCommandOutput extends CreatePresetResponse, __Metad
528528
* Telecine: "NONE" || "SOFT" || "HARD",
529529
* TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
530530
* UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
531+
* WriteMp4PackagingType: "AVC1" || "AVC3",
531532
* },
532533
* H265Settings: { // H265Settings
533534
* AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",
@@ -1354,6 +1355,7 @@ export interface CreatePresetCommandOutput extends CreatePresetResponse, __Metad
13541355
* // Telecine: "NONE" || "SOFT" || "HARD",
13551356
* // TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
13561357
* // UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
1358+
* // WriteMp4PackagingType: "AVC1" || "AVC3",
13571359
* // },
13581360
* // H265Settings: { // H265Settings
13591361
* // AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",

clients/client-mediaconvert/src/commands/GetJobCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1243,6 +1243,7 @@ export interface GetJobCommandOutput extends GetJobResponse, __MetadataBearer {}
12431243
* // Telecine: "NONE" || "SOFT" || "HARD",
12441244
* // TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
12451245
* // UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
1246+
* // WriteMp4PackagingType: "AVC1" || "AVC3",
12461247
* // },
12471248
* // H265Settings: { // H265Settings
12481249
* // AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",

clients/client-mediaconvert/src/commands/GetJobTemplateCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1189,6 +1189,7 @@ export interface GetJobTemplateCommandOutput extends GetJobTemplateResponse, __M
11891189
* // Telecine: "NONE" || "SOFT" || "HARD",
11901190
* // TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
11911191
* // UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
1192+
* // WriteMp4PackagingType: "AVC1" || "AVC3",
11921193
* // },
11931194
* // H265Settings: { // H265Settings
11941195
* // AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",

clients/client-mediaconvert/src/commands/GetPresetCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,7 @@ export interface GetPresetCommandOutput extends GetPresetResponse, __MetadataBea
537537
* // Telecine: "NONE" || "SOFT" || "HARD",
538538
* // TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
539539
* // UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
540+
* // WriteMp4PackagingType: "AVC1" || "AVC3",
540541
* // },
541542
* // H265Settings: { // H265Settings
542543
* // AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",

clients/client-mediaconvert/src/commands/ListJobTemplatesCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1194,6 +1194,7 @@ export interface ListJobTemplatesCommandOutput extends ListJobTemplatesResponse,
11941194
* // Telecine: "NONE" || "SOFT" || "HARD",
11951195
* // TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
11961196
* // UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
1197+
* // WriteMp4PackagingType: "AVC1" || "AVC3",
11971198
* // },
11981199
* // H265Settings: { // H265Settings
11991200
* // AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",

clients/client-mediaconvert/src/commands/ListJobsCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1248,6 +1248,7 @@ export interface ListJobsCommandOutput extends ListJobsResponse, __MetadataBeare
12481248
* // Telecine: "NONE" || "SOFT" || "HARD",
12491249
* // TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
12501250
* // UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
1251+
* // WriteMp4PackagingType: "AVC1" || "AVC3",
12511252
* // },
12521253
* // H265Settings: { // H265Settings
12531254
* // AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",

clients/client-mediaconvert/src/commands/ListPresetsCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,7 @@ export interface ListPresetsCommandOutput extends ListPresetsResponse, __Metadat
543543
* // Telecine: "NONE" || "SOFT" || "HARD",
544544
* // TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
545545
* // UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
546+
* // WriteMp4PackagingType: "AVC1" || "AVC3",
546547
* // },
547548
* // H265Settings: { // H265Settings
548549
* // AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",

clients/client-mediaconvert/src/commands/SearchJobsCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1249,6 +1249,7 @@ export interface SearchJobsCommandOutput extends SearchJobsResponse, __MetadataB
12491249
* // Telecine: "NONE" || "SOFT" || "HARD",
12501250
* // TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
12511251
* // UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
1252+
* // WriteMp4PackagingType: "AVC1" || "AVC3",
12521253
* // },
12531254
* // H265Settings: { // H265Settings
12541255
* // AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",

clients/client-mediaconvert/src/commands/UpdateJobTemplateCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1180,6 +1180,7 @@ export interface UpdateJobTemplateCommandOutput extends UpdateJobTemplateRespons
11801180
* Telecine: "NONE" || "SOFT" || "HARD",
11811181
* TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
11821182
* UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
1183+
* WriteMp4PackagingType: "AVC1" || "AVC3",
11831184
* },
11841185
* H265Settings: { // H265Settings
11851186
* AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",
@@ -2674,6 +2675,7 @@ export interface UpdateJobTemplateCommandOutput extends UpdateJobTemplateRespons
26742675
* // Telecine: "NONE" || "SOFT" || "HARD",
26752676
* // TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
26762677
* // UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
2678+
* // WriteMp4PackagingType: "AVC1" || "AVC3",
26772679
* // },
26782680
* // H265Settings: { // H265Settings
26792681
* // AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",

clients/client-mediaconvert/src/commands/UpdatePresetCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,7 @@ export interface UpdatePresetCommandOutput extends UpdatePresetResponse, __Metad
528528
* Telecine: "NONE" || "SOFT" || "HARD",
529529
* TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
530530
* UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
531+
* WriteMp4PackagingType: "AVC1" || "AVC3",
531532
* },
532533
* H265Settings: { // H265Settings
533534
* AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",
@@ -1351,6 +1352,7 @@ export interface UpdatePresetCommandOutput extends UpdatePresetResponse, __Metad
13511352
* // Telecine: "NONE" || "SOFT" || "HARD",
13521353
* // TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
13531354
* // UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
1355+
* // WriteMp4PackagingType: "AVC1" || "AVC3",
13541356
* // },
13551357
* // H265Settings: { // H265Settings
13561358
* // AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",

clients/client-mediaconvert/src/models/models_1.ts

+22-15
Original file line numberDiff line numberDiff line change
@@ -2825,6 +2825,20 @@ export const H264UnregisteredSeiTimecode = {
28252825
export type H264UnregisteredSeiTimecode =
28262826
(typeof H264UnregisteredSeiTimecode)[keyof typeof H264UnregisteredSeiTimecode];
28272827

2828+
/**
2829+
* @public
2830+
* @enum
2831+
*/
2832+
export const H264WriteMp4PackagingType = {
2833+
AVC1: "AVC1",
2834+
AVC3: "AVC3",
2835+
} as const;
2836+
2837+
/**
2838+
* @public
2839+
*/
2840+
export type H264WriteMp4PackagingType = (typeof H264WriteMp4PackagingType)[keyof typeof H264WriteMp4PackagingType];
2841+
28282842
/**
28292843
* Required when you set Codec to the value H_264.
28302844
* @public
@@ -3093,6 +3107,12 @@ export interface H264Settings {
30933107
* @public
30943108
*/
30953109
UnregisteredSeiTimecode?: H264UnregisteredSeiTimecode | undefined;
3110+
3111+
/**
3112+
* Specify how SPS and PPS NAL units are written in your output MP4 container, according to ISO/IEC 14496-15. If the location of these parameters doesn't matter in your workflow: Keep the default value, AVC1. MediaConvert writes SPS and PPS NAL units in the sample description ('stsd') box (but not into samples directly). To write SPS and PPS NAL units directly into samples (but not in the 'stsd' box): Choose AVC3. When you do, note that your output might not play properly with some downstream systems or players.
3113+
* @public
3114+
*/
3115+
WriteMp4PackagingType?: H264WriteMp4PackagingType | undefined;
30963116
}
30973117

30983118
/**
@@ -6793,7 +6813,7 @@ export interface JobSettings {
67936813
ExtendedDataServices?: ExtendedDataServices | undefined;
67946814

67956815
/**
6796-
* Specify the input that MediaConvert references for your default output settings. MediaConvert uses this input's Resolution, Frame rate, and Pixel aspect ratio for all outputs that you don't manually specify different output settings for. Enabling this setting will disable "Follow source" for all other inputs. If MediaConvert cannot follow your source, for example if you specify an audio-only input, MediaConvert uses the first followable input instead. In your JSON job specification, enter an integer from 1 to 150 corresponding to the order of your inputs.
6816+
* Specify the input that MediaConvert references for your default output settings. MediaConvert uses this input's Resolution, Frame rate, and Pixel aspect ratio for all outputs that you don't manually specify different output settings for. Enabling this setting will disable "Follow source" for all other inputs. If MediaConvert cannot follow your source, for example if you specify an audio-only input, MediaConvert uses the first followable input instead. In your JSON job specification, enter an integer from 1 to 150 corresponding to the order of your inputs.
67976817
* @public
67986818
*/
67996819
FollowSource?: number | undefined;
@@ -7181,7 +7201,7 @@ export interface JobTemplateSettings {
71817201
ExtendedDataServices?: ExtendedDataServices | undefined;
71827202

71837203
/**
7184-
* Specify the input that MediaConvert references for your default output settings. MediaConvert uses this input's Resolution, Frame rate, and Pixel aspect ratio for all outputs that you don't manually specify different output settings for. Enabling this setting will disable "Follow source" for all other inputs. If MediaConvert cannot follow your source, for example if you specify an audio-only input, MediaConvert uses the first followable input instead. In your JSON job specification, enter an integer from 1 to 150 corresponding to the order of your inputs.
7204+
* Specify the input that MediaConvert references for your default output settings. MediaConvert uses this input's Resolution, Frame rate, and Pixel aspect ratio for all outputs that you don't manually specify different output settings for. Enabling this setting will disable "Follow source" for all other inputs. If MediaConvert cannot follow your source, for example if you specify an audio-only input, MediaConvert uses the first followable input instead. In your JSON job specification, enter an integer from 1 to 150 corresponding to the order of your inputs.
71857205
* @public
71867206
*/
71877207
FollowSource?: number | undefined;
@@ -7430,16 +7450,3 @@ export const PricingPlan = {
74307450
* @public
74317451
*/
74327452
export type PricingPlan = (typeof PricingPlan)[keyof typeof PricingPlan];
7433-
7434-
/**
7435-
* @public
7436-
* @enum
7437-
*/
7438-
export const Commitment = {
7439-
ONE_YEAR: "ONE_YEAR",
7440-
} as const;
7441-
7442-
/**
7443-
* @public
7444-
*/
7445-
export type Commitment = (typeof Commitment)[keyof typeof Commitment];

clients/client-mediaconvert/src/models/models_2.ts

+13-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import { MediaConvertServiceException as __BaseException } from "./MediaConvertS
66
import { AccelerationSettings, BillingTagsSource, Endpoint, HopDestination } from "./models_0";
77

88
import {
9-
Commitment,
109
Job,
1110
JobEngineVersion,
1211
JobSettings,
@@ -21,6 +20,19 @@ import {
2120
Type,
2221
} from "./models_1";
2322

23+
/**
24+
* @public
25+
* @enum
26+
*/
27+
export const Commitment = {
28+
ONE_YEAR: "ONE_YEAR",
29+
} as const;
30+
31+
/**
32+
* @public
33+
*/
34+
export type Commitment = (typeof Commitment)[keyof typeof Commitment];
35+
2436
/**
2537
* @public
2638
* @enum

clients/client-mediaconvert/src/protocols/Aws_restJson1.ts

+2
Original file line numberDiff line numberDiff line change
@@ -3020,6 +3020,7 @@ const se_H264Settings = (input: H264Settings, context: __SerdeContext): any => {
30203020
telecine: [, , `Telecine`],
30213021
temporalAdaptiveQuantization: [, , `TemporalAdaptiveQuantization`],
30223022
unregisteredSeiTimecode: [, , `UnregisteredSeiTimecode`],
3023+
writeMp4PackagingType: [, , `WriteMp4PackagingType`],
30233024
});
30243025
};
30253026

@@ -6107,6 +6108,7 @@ const de_H264Settings = (output: any, context: __SerdeContext): H264Settings =>
61076108
Telecine: [, __expectString, `telecine`],
61086109
TemporalAdaptiveQuantization: [, __expectString, `temporalAdaptiveQuantization`],
61096110
UnregisteredSeiTimecode: [, __expectString, `unregisteredSeiTimecode`],
6111+
WriteMp4PackagingType: [, __expectString, `writeMp4PackagingType`],
61106112
}) as any;
61116113
};
61126114

0 commit comments

Comments
 (0)