Skip to content

Commit

Permalink
feat(client-mediaconvert): This release adds support for the AVC3 cod…
Browse files Browse the repository at this point in the history
…ec and fixes an alignment issue with Japanese vertical captions.
  • Loading branch information
awstools committed Jan 2, 2025
1 parent 6ed6c12 commit 08f266e
Show file tree
Hide file tree
Showing 16 changed files with 86 additions and 21 deletions.
2 changes: 2 additions & 0 deletions clients/client-mediaconvert/src/commands/CreateJobCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1199,6 +1199,7 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
* Telecine: "NONE" || "SOFT" || "HARD",
* TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
* UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
* WriteMp4PackagingType: "AVC1" || "AVC3",
* },
* H265Settings: { // H265Settings
* AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",
Expand Down Expand Up @@ -2754,6 +2755,7 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
* // Telecine: "NONE" || "SOFT" || "HARD",
* // TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
* // UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
* // WriteMp4PackagingType: "AVC1" || "AVC3",
* // },
* // H265Settings: { // H265Settings
* // AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1180,6 +1180,7 @@ export interface CreateJobTemplateCommandOutput extends CreateJobTemplateRespons
* Telecine: "NONE" || "SOFT" || "HARD",
* TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
* UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
* WriteMp4PackagingType: "AVC1" || "AVC3",
* },
* H265Settings: { // H265Settings
* AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",
Expand Down Expand Up @@ -2677,6 +2678,7 @@ export interface CreateJobTemplateCommandOutput extends CreateJobTemplateRespons
* // Telecine: "NONE" || "SOFT" || "HARD",
* // TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
* // UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
* // WriteMp4PackagingType: "AVC1" || "AVC3",
* // },
* // H265Settings: { // H265Settings
* // AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,7 @@ export interface CreatePresetCommandOutput extends CreatePresetResponse, __Metad
* Telecine: "NONE" || "SOFT" || "HARD",
* TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
* UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
* WriteMp4PackagingType: "AVC1" || "AVC3",
* },
* H265Settings: { // H265Settings
* AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",
Expand Down Expand Up @@ -1354,6 +1355,7 @@ export interface CreatePresetCommandOutput extends CreatePresetResponse, __Metad
* // Telecine: "NONE" || "SOFT" || "HARD",
* // TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
* // UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
* // WriteMp4PackagingType: "AVC1" || "AVC3",
* // },
* // H265Settings: { // H265Settings
* // AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",
Expand Down
1 change: 1 addition & 0 deletions clients/client-mediaconvert/src/commands/GetJobCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1243,6 +1243,7 @@ export interface GetJobCommandOutput extends GetJobResponse, __MetadataBearer {}
* // Telecine: "NONE" || "SOFT" || "HARD",
* // TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
* // UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
* // WriteMp4PackagingType: "AVC1" || "AVC3",
* // },
* // H265Settings: { // H265Settings
* // AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1189,6 +1189,7 @@ export interface GetJobTemplateCommandOutput extends GetJobTemplateResponse, __M
* // Telecine: "NONE" || "SOFT" || "HARD",
* // TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
* // UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
* // WriteMp4PackagingType: "AVC1" || "AVC3",
* // },
* // H265Settings: { // H265Settings
* // AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,7 @@ export interface GetPresetCommandOutput extends GetPresetResponse, __MetadataBea
* // Telecine: "NONE" || "SOFT" || "HARD",
* // TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
* // UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
* // WriteMp4PackagingType: "AVC1" || "AVC3",
* // },
* // H265Settings: { // H265Settings
* // AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1194,6 +1194,7 @@ export interface ListJobTemplatesCommandOutput extends ListJobTemplatesResponse,
* // Telecine: "NONE" || "SOFT" || "HARD",
* // TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
* // UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
* // WriteMp4PackagingType: "AVC1" || "AVC3",
* // },
* // H265Settings: { // H265Settings
* // AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1248,6 +1248,7 @@ export interface ListJobsCommandOutput extends ListJobsResponse, __MetadataBeare
* // Telecine: "NONE" || "SOFT" || "HARD",
* // TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
* // UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
* // WriteMp4PackagingType: "AVC1" || "AVC3",
* // },
* // H265Settings: { // H265Settings
* // AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,7 @@ export interface ListPresetsCommandOutput extends ListPresetsResponse, __Metadat
* // Telecine: "NONE" || "SOFT" || "HARD",
* // TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
* // UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
* // WriteMp4PackagingType: "AVC1" || "AVC3",
* // },
* // H265Settings: { // H265Settings
* // AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1249,6 +1249,7 @@ export interface SearchJobsCommandOutput extends SearchJobsResponse, __MetadataB
* // Telecine: "NONE" || "SOFT" || "HARD",
* // TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
* // UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
* // WriteMp4PackagingType: "AVC1" || "AVC3",
* // },
* // H265Settings: { // H265Settings
* // AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1180,6 +1180,7 @@ export interface UpdateJobTemplateCommandOutput extends UpdateJobTemplateRespons
* Telecine: "NONE" || "SOFT" || "HARD",
* TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
* UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
* WriteMp4PackagingType: "AVC1" || "AVC3",
* },
* H265Settings: { // H265Settings
* AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",
Expand Down Expand Up @@ -2674,6 +2675,7 @@ export interface UpdateJobTemplateCommandOutput extends UpdateJobTemplateRespons
* // Telecine: "NONE" || "SOFT" || "HARD",
* // TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
* // UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
* // WriteMp4PackagingType: "AVC1" || "AVC3",
* // },
* // H265Settings: { // H265Settings
* // AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,7 @@ export interface UpdatePresetCommandOutput extends UpdatePresetResponse, __Metad
* Telecine: "NONE" || "SOFT" || "HARD",
* TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
* UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
* WriteMp4PackagingType: "AVC1" || "AVC3",
* },
* H265Settings: { // H265Settings
* AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",
Expand Down Expand Up @@ -1351,6 +1352,7 @@ export interface UpdatePresetCommandOutput extends UpdatePresetResponse, __Metad
* // Telecine: "NONE" || "SOFT" || "HARD",
* // TemporalAdaptiveQuantization: "DISABLED" || "ENABLED",
* // UnregisteredSeiTimecode: "DISABLED" || "ENABLED",
* // WriteMp4PackagingType: "AVC1" || "AVC3",
* // },
* // H265Settings: { // H265Settings
* // AdaptiveQuantization: "OFF" || "LOW" || "MEDIUM" || "HIGH" || "HIGHER" || "MAX" || "AUTO",
Expand Down
37 changes: 22 additions & 15 deletions clients/client-mediaconvert/src/models/models_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2825,6 +2825,20 @@ export const H264UnregisteredSeiTimecode = {
export type H264UnregisteredSeiTimecode =
(typeof H264UnregisteredSeiTimecode)[keyof typeof H264UnregisteredSeiTimecode];

/**
* @public
* @enum
*/
export const H264WriteMp4PackagingType = {
AVC1: "AVC1",
AVC3: "AVC3",
} as const;

/**
* @public
*/
export type H264WriteMp4PackagingType = (typeof H264WriteMp4PackagingType)[keyof typeof H264WriteMp4PackagingType];

/**
* Required when you set Codec to the value H_264.
* @public
Expand Down Expand Up @@ -3093,6 +3107,12 @@ export interface H264Settings {
* @public
*/
UnregisteredSeiTimecode?: H264UnregisteredSeiTimecode | undefined;

/**
* 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.
* @public
*/
WriteMp4PackagingType?: H264WriteMp4PackagingType | undefined;
}

/**
Expand Down Expand Up @@ -6793,7 +6813,7 @@ export interface JobSettings {
ExtendedDataServices?: ExtendedDataServices | undefined;

/**
* 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.
* 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.
* @public
*/
FollowSource?: number | undefined;
Expand Down Expand Up @@ -7181,7 +7201,7 @@ export interface JobTemplateSettings {
ExtendedDataServices?: ExtendedDataServices | undefined;

/**
* 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.
* 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.
* @public
*/
FollowSource?: number | undefined;
Expand Down Expand Up @@ -7430,16 +7450,3 @@ export const PricingPlan = {
* @public
*/
export type PricingPlan = (typeof PricingPlan)[keyof typeof PricingPlan];

/**
* @public
* @enum
*/
export const Commitment = {
ONE_YEAR: "ONE_YEAR",
} as const;

/**
* @public
*/
export type Commitment = (typeof Commitment)[keyof typeof Commitment];
14 changes: 13 additions & 1 deletion clients/client-mediaconvert/src/models/models_2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { MediaConvertServiceException as __BaseException } from "./MediaConvertS
import { AccelerationSettings, BillingTagsSource, Endpoint, HopDestination } from "./models_0";

import {
Commitment,
Job,
JobEngineVersion,
JobSettings,
Expand All @@ -21,6 +20,19 @@ import {
Type,
} from "./models_1";

/**
* @public
* @enum
*/
export const Commitment = {
ONE_YEAR: "ONE_YEAR",
} as const;

/**
* @public
*/
export type Commitment = (typeof Commitment)[keyof typeof Commitment];

/**
* @public
* @enum
Expand Down
2 changes: 2 additions & 0 deletions clients/client-mediaconvert/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3020,6 +3020,7 @@ const se_H264Settings = (input: H264Settings, context: __SerdeContext): any => {
telecine: [, , `Telecine`],
temporalAdaptiveQuantization: [, , `TemporalAdaptiveQuantization`],
unregisteredSeiTimecode: [, , `UnregisteredSeiTimecode`],
writeMp4PackagingType: [, , `WriteMp4PackagingType`],
});
};

Expand Down Expand Up @@ -6107,6 +6108,7 @@ const de_H264Settings = (output: any, context: __SerdeContext): H264Settings =>
Telecine: [, __expectString, `telecine`],
TemporalAdaptiveQuantization: [, __expectString, `temporalAdaptiveQuantization`],
UnregisteredSeiTimecode: [, __expectString, `unregisteredSeiTimecode`],
WriteMp4PackagingType: [, __expectString, `writeMp4PackagingType`],
}) as any;
};

Expand Down
Loading

0 comments on commit 08f266e

Please sign in to comment.