Skip to content

Commit

Permalink
feat(client-mediaconvert): MediaConvert now supports specifying the m…
Browse files Browse the repository at this point in the history
…inimum percentage of the HRD buffer available at the end of each encoded video segment.
  • Loading branch information
awstools committed Oct 14, 2022
1 parent 5b03ad1 commit 4564705
Show file tree
Hide file tree
Showing 3 changed files with 12,014 additions and 8,806 deletions.
15 changes: 15 additions & 0 deletions clients/client-mediaconvert/src/models/models_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1318,6 +1318,11 @@ export interface H264Settings {
*/
GopSizeUnits?: H264GopSizeUnits | string;

/**
* If your downstream systems have strict buffer requirements: Specify the minimum percentage of the HRD buffer that's available at the end of each encoded video segment. For the best video quality: Set to 0 or leave blank to automatically determine the final buffer fill percentage.
*/
HrdBufferFinalFillPercentage?: number;

/**
* Percentage of the buffer that should initially be filled (HRD buffer model).
*/
Expand Down Expand Up @@ -1696,6 +1701,11 @@ export interface H265Settings {
*/
GopSizeUnits?: H265GopSizeUnits | string;

/**
* If your downstream systems have strict buffer requirements: Specify the minimum percentage of the HRD buffer that's available at the end of each encoded video segment. For the best video quality: Set to 0 or leave blank to automatically determine the final buffer fill percentage.
*/
HrdBufferFinalFillPercentage?: number;

/**
* Percentage of the buffer that should initially be filled (HRD buffer model).
*/
Expand Down Expand Up @@ -1994,6 +2004,11 @@ export interface Mpeg2Settings {
*/
GopSizeUnits?: Mpeg2GopSizeUnits | string;

/**
* If your downstream systems have strict buffer requirements: Specify the minimum percentage of the HRD buffer that's available at the end of each encoded video segment. For the best video quality: Set to 0 or leave blank to automatically determine the final buffer fill percentage.
*/
HrdBufferFinalFillPercentage?: number;

/**
* Percentage of the buffer that should initially be filled (HRD buffer model).
*/
Expand Down
12 changes: 12 additions & 0 deletions clients/client-mediaconvert/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3924,6 +3924,9 @@ const serializeAws_restJson1H264Settings = (input: H264Settings, context: __Serd
...(input.GopClosedCadence != null && { gopClosedCadence: input.GopClosedCadence }),
...(input.GopSize != null && { gopSize: __serializeFloat(input.GopSize) }),
...(input.GopSizeUnits != null && { gopSizeUnits: input.GopSizeUnits }),
...(input.HrdBufferFinalFillPercentage != null && {
hrdBufferFinalFillPercentage: input.HrdBufferFinalFillPercentage,
}),
...(input.HrdBufferInitialFillPercentage != null && {
hrdBufferInitialFillPercentage: input.HrdBufferInitialFillPercentage,
}),
Expand Down Expand Up @@ -3994,6 +3997,9 @@ const serializeAws_restJson1H265Settings = (input: H265Settings, context: __Serd
...(input.GopClosedCadence != null && { gopClosedCadence: input.GopClosedCadence }),
...(input.GopSize != null && { gopSize: __serializeFloat(input.GopSize) }),
...(input.GopSizeUnits != null && { gopSizeUnits: input.GopSizeUnits }),
...(input.HrdBufferFinalFillPercentage != null && {
hrdBufferFinalFillPercentage: input.HrdBufferFinalFillPercentage,
}),
...(input.HrdBufferInitialFillPercentage != null && {
hrdBufferInitialFillPercentage: input.HrdBufferInitialFillPercentage,
}),
Expand Down Expand Up @@ -4647,6 +4653,9 @@ const serializeAws_restJson1Mpeg2Settings = (input: Mpeg2Settings, context: __Se
...(input.GopClosedCadence != null && { gopClosedCadence: input.GopClosedCadence }),
...(input.GopSize != null && { gopSize: __serializeFloat(input.GopSize) }),
...(input.GopSizeUnits != null && { gopSizeUnits: input.GopSizeUnits }),
...(input.HrdBufferFinalFillPercentage != null && {
hrdBufferFinalFillPercentage: input.HrdBufferFinalFillPercentage,
}),
...(input.HrdBufferInitialFillPercentage != null && {
hrdBufferInitialFillPercentage: input.HrdBufferInitialFillPercentage,
}),
Expand Down Expand Up @@ -6962,6 +6971,7 @@ const deserializeAws_restJson1H264Settings = (output: any, context: __SerdeConte
GopClosedCadence: __expectInt32(output.gopClosedCadence),
GopSize: __limitedParseDouble(output.gopSize),
GopSizeUnits: __expectString(output.gopSizeUnits),
HrdBufferFinalFillPercentage: __expectInt32(output.hrdBufferFinalFillPercentage),
HrdBufferInitialFillPercentage: __expectInt32(output.hrdBufferInitialFillPercentage),
HrdBufferSize: __expectInt32(output.hrdBufferSize),
InterlaceMode: __expectString(output.interlaceMode),
Expand Down Expand Up @@ -7015,6 +7025,7 @@ const deserializeAws_restJson1H265Settings = (output: any, context: __SerdeConte
GopClosedCadence: __expectInt32(output.gopClosedCadence),
GopSize: __limitedParseDouble(output.gopSize),
GopSizeUnits: __expectString(output.gopSizeUnits),
HrdBufferFinalFillPercentage: __expectInt32(output.hrdBufferFinalFillPercentage),
HrdBufferInitialFillPercentage: __expectInt32(output.hrdBufferInitialFillPercentage),
HrdBufferSize: __expectInt32(output.hrdBufferSize),
InterlaceMode: __expectString(output.interlaceMode),
Expand Down Expand Up @@ -7752,6 +7763,7 @@ const deserializeAws_restJson1Mpeg2Settings = (output: any, context: __SerdeCont
GopClosedCadence: __expectInt32(output.gopClosedCadence),
GopSize: __limitedParseDouble(output.gopSize),
GopSizeUnits: __expectString(output.gopSizeUnits),
HrdBufferFinalFillPercentage: __expectInt32(output.hrdBufferFinalFillPercentage),
HrdBufferInitialFillPercentage: __expectInt32(output.hrdBufferInitialFillPercentage),
HrdBufferSize: __expectInt32(output.hrdBufferSize),
InterlaceMode: __expectString(output.interlaceMode),
Expand Down
Loading

0 comments on commit 4564705

Please sign in to comment.