@aws-sdk/client-mediaconvert 3.188.0 → 3.189.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.189.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.188.0...v3.189.0) (2022-10-14)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-mediaconvert:** MediaConvert now supports specifying the minimum percentage of the HRD buffer available at the end of each encoded video segment. ([4564705](https://github.com/aws/aws-sdk-js-v3/commit/4564705d7365cba6e3be2d7d828f9d50382da2a6))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.188.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.187.0...v3.188.0) (2022-10-13)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-mediaconvert
@@ -3139,6 +3139,9 @@ const serializeAws_restJson1H264Settings = (input, context) => {
3139
3139
  ...(input.GopClosedCadence != null && { gopClosedCadence: input.GopClosedCadence }),
3140
3140
  ...(input.GopSize != null && { gopSize: (0, smithy_client_1.serializeFloat)(input.GopSize) }),
3141
3141
  ...(input.GopSizeUnits != null && { gopSizeUnits: input.GopSizeUnits }),
3142
+ ...(input.HrdBufferFinalFillPercentage != null && {
3143
+ hrdBufferFinalFillPercentage: input.HrdBufferFinalFillPercentage,
3144
+ }),
3142
3145
  ...(input.HrdBufferInitialFillPercentage != null && {
3143
3146
  hrdBufferInitialFillPercentage: input.HrdBufferInitialFillPercentage,
3144
3147
  }),
@@ -3207,6 +3210,9 @@ const serializeAws_restJson1H265Settings = (input, context) => {
3207
3210
  ...(input.GopClosedCadence != null && { gopClosedCadence: input.GopClosedCadence }),
3208
3211
  ...(input.GopSize != null && { gopSize: (0, smithy_client_1.serializeFloat)(input.GopSize) }),
3209
3212
  ...(input.GopSizeUnits != null && { gopSizeUnits: input.GopSizeUnits }),
3213
+ ...(input.HrdBufferFinalFillPercentage != null && {
3214
+ hrdBufferFinalFillPercentage: input.HrdBufferFinalFillPercentage,
3215
+ }),
3210
3216
  ...(input.HrdBufferInitialFillPercentage != null && {
3211
3217
  hrdBufferInitialFillPercentage: input.HrdBufferInitialFillPercentage,
3212
3218
  }),
@@ -3788,6 +3794,9 @@ const serializeAws_restJson1Mpeg2Settings = (input, context) => {
3788
3794
  ...(input.GopClosedCadence != null && { gopClosedCadence: input.GopClosedCadence }),
3789
3795
  ...(input.GopSize != null && { gopSize: (0, smithy_client_1.serializeFloat)(input.GopSize) }),
3790
3796
  ...(input.GopSizeUnits != null && { gopSizeUnits: input.GopSizeUnits }),
3797
+ ...(input.HrdBufferFinalFillPercentage != null && {
3798
+ hrdBufferFinalFillPercentage: input.HrdBufferFinalFillPercentage,
3799
+ }),
3791
3800
  ...(input.HrdBufferInitialFillPercentage != null && {
3792
3801
  hrdBufferInitialFillPercentage: input.HrdBufferInitialFillPercentage,
3793
3802
  }),
@@ -5660,6 +5669,7 @@ const deserializeAws_restJson1H264Settings = (output, context) => {
5660
5669
  GopClosedCadence: (0, smithy_client_1.expectInt32)(output.gopClosedCadence),
5661
5670
  GopSize: (0, smithy_client_1.limitedParseDouble)(output.gopSize),
5662
5671
  GopSizeUnits: (0, smithy_client_1.expectString)(output.gopSizeUnits),
5672
+ HrdBufferFinalFillPercentage: (0, smithy_client_1.expectInt32)(output.hrdBufferFinalFillPercentage),
5663
5673
  HrdBufferInitialFillPercentage: (0, smithy_client_1.expectInt32)(output.hrdBufferInitialFillPercentage),
5664
5674
  HrdBufferSize: (0, smithy_client_1.expectInt32)(output.hrdBufferSize),
5665
5675
  InterlaceMode: (0, smithy_client_1.expectString)(output.interlaceMode),
@@ -5710,6 +5720,7 @@ const deserializeAws_restJson1H265Settings = (output, context) => {
5710
5720
  GopClosedCadence: (0, smithy_client_1.expectInt32)(output.gopClosedCadence),
5711
5721
  GopSize: (0, smithy_client_1.limitedParseDouble)(output.gopSize),
5712
5722
  GopSizeUnits: (0, smithy_client_1.expectString)(output.gopSizeUnits),
5723
+ HrdBufferFinalFillPercentage: (0, smithy_client_1.expectInt32)(output.hrdBufferFinalFillPercentage),
5713
5724
  HrdBufferInitialFillPercentage: (0, smithy_client_1.expectInt32)(output.hrdBufferInitialFillPercentage),
5714
5725
  HrdBufferSize: (0, smithy_client_1.expectInt32)(output.hrdBufferSize),
5715
5726
  InterlaceMode: (0, smithy_client_1.expectString)(output.interlaceMode),
@@ -6317,6 +6328,7 @@ const deserializeAws_restJson1Mpeg2Settings = (output, context) => {
6317
6328
  GopClosedCadence: (0, smithy_client_1.expectInt32)(output.gopClosedCadence),
6318
6329
  GopSize: (0, smithy_client_1.limitedParseDouble)(output.gopSize),
6319
6330
  GopSizeUnits: (0, smithy_client_1.expectString)(output.gopSizeUnits),
6331
+ HrdBufferFinalFillPercentage: (0, smithy_client_1.expectInt32)(output.hrdBufferFinalFillPercentage),
6320
6332
  HrdBufferInitialFillPercentage: (0, smithy_client_1.expectInt32)(output.hrdBufferInitialFillPercentage),
6321
6333
  HrdBufferSize: (0, smithy_client_1.expectInt32)(output.hrdBufferSize),
6322
6334
  InterlaceMode: (0, smithy_client_1.expectString)(output.interlaceMode),
@@ -3078,6 +3078,9 @@ const serializeAws_restJson1H264Settings = (input, context) => {
3078
3078
  ...(input.GopClosedCadence != null && { gopClosedCadence: input.GopClosedCadence }),
3079
3079
  ...(input.GopSize != null && { gopSize: __serializeFloat(input.GopSize) }),
3080
3080
  ...(input.GopSizeUnits != null && { gopSizeUnits: input.GopSizeUnits }),
3081
+ ...(input.HrdBufferFinalFillPercentage != null && {
3082
+ hrdBufferFinalFillPercentage: input.HrdBufferFinalFillPercentage,
3083
+ }),
3081
3084
  ...(input.HrdBufferInitialFillPercentage != null && {
3082
3085
  hrdBufferInitialFillPercentage: input.HrdBufferInitialFillPercentage,
3083
3086
  }),
@@ -3146,6 +3149,9 @@ const serializeAws_restJson1H265Settings = (input, context) => {
3146
3149
  ...(input.GopClosedCadence != null && { gopClosedCadence: input.GopClosedCadence }),
3147
3150
  ...(input.GopSize != null && { gopSize: __serializeFloat(input.GopSize) }),
3148
3151
  ...(input.GopSizeUnits != null && { gopSizeUnits: input.GopSizeUnits }),
3152
+ ...(input.HrdBufferFinalFillPercentage != null && {
3153
+ hrdBufferFinalFillPercentage: input.HrdBufferFinalFillPercentage,
3154
+ }),
3149
3155
  ...(input.HrdBufferInitialFillPercentage != null && {
3150
3156
  hrdBufferInitialFillPercentage: input.HrdBufferInitialFillPercentage,
3151
3157
  }),
@@ -3727,6 +3733,9 @@ const serializeAws_restJson1Mpeg2Settings = (input, context) => {
3727
3733
  ...(input.GopClosedCadence != null && { gopClosedCadence: input.GopClosedCadence }),
3728
3734
  ...(input.GopSize != null && { gopSize: __serializeFloat(input.GopSize) }),
3729
3735
  ...(input.GopSizeUnits != null && { gopSizeUnits: input.GopSizeUnits }),
3736
+ ...(input.HrdBufferFinalFillPercentage != null && {
3737
+ hrdBufferFinalFillPercentage: input.HrdBufferFinalFillPercentage,
3738
+ }),
3730
3739
  ...(input.HrdBufferInitialFillPercentage != null && {
3731
3740
  hrdBufferInitialFillPercentage: input.HrdBufferInitialFillPercentage,
3732
3741
  }),
@@ -5599,6 +5608,7 @@ const deserializeAws_restJson1H264Settings = (output, context) => {
5599
5608
  GopClosedCadence: __expectInt32(output.gopClosedCadence),
5600
5609
  GopSize: __limitedParseDouble(output.gopSize),
5601
5610
  GopSizeUnits: __expectString(output.gopSizeUnits),
5611
+ HrdBufferFinalFillPercentage: __expectInt32(output.hrdBufferFinalFillPercentage),
5602
5612
  HrdBufferInitialFillPercentage: __expectInt32(output.hrdBufferInitialFillPercentage),
5603
5613
  HrdBufferSize: __expectInt32(output.hrdBufferSize),
5604
5614
  InterlaceMode: __expectString(output.interlaceMode),
@@ -5649,6 +5659,7 @@ const deserializeAws_restJson1H265Settings = (output, context) => {
5649
5659
  GopClosedCadence: __expectInt32(output.gopClosedCadence),
5650
5660
  GopSize: __limitedParseDouble(output.gopSize),
5651
5661
  GopSizeUnits: __expectString(output.gopSizeUnits),
5662
+ HrdBufferFinalFillPercentage: __expectInt32(output.hrdBufferFinalFillPercentage),
5652
5663
  HrdBufferInitialFillPercentage: __expectInt32(output.hrdBufferInitialFillPercentage),
5653
5664
  HrdBufferSize: __expectInt32(output.hrdBufferSize),
5654
5665
  InterlaceMode: __expectString(output.interlaceMode),
@@ -6256,6 +6267,7 @@ const deserializeAws_restJson1Mpeg2Settings = (output, context) => {
6256
6267
  GopClosedCadence: __expectInt32(output.gopClosedCadence),
6257
6268
  GopSize: __limitedParseDouble(output.gopSize),
6258
6269
  GopSizeUnits: __expectString(output.gopSizeUnits),
6270
+ HrdBufferFinalFillPercentage: __expectInt32(output.hrdBufferFinalFillPercentage),
6259
6271
  HrdBufferInitialFillPercentage: __expectInt32(output.hrdBufferInitialFillPercentage),
6260
6272
  HrdBufferSize: __expectInt32(output.hrdBufferSize),
6261
6273
  InterlaceMode: __expectString(output.interlaceMode),
@@ -1048,6 +1048,10 @@ export interface H264Settings {
1048
1048
  * Specify how the transcoder determines GOP size for this output. We recommend that you have the transcoder automatically choose this value for you based on characteristics of your input video. To enable this automatic behavior, choose Auto (AUTO) and and leave GOP size (GopSize) blank. By default, if you don't specify GOP mode control (GopSizeUnits), MediaConvert will use automatic behavior. If your output group specifies HLS, DASH, or CMAF, set GOP mode control to Auto and leave GOP size blank in each output in your output group. To explicitly specify the GOP length, choose Specified, frames (FRAMES) or Specified, seconds (SECONDS) and then provide the GOP length in the related setting GOP size (GopSize).
1049
1049
  */
1050
1050
  GopSizeUnits?: H264GopSizeUnits | string;
1051
+ /**
1052
+ * 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.
1053
+ */
1054
+ HrdBufferFinalFillPercentage?: number;
1051
1055
  /**
1052
1056
  * Percentage of the buffer that should initially be filled (HRD buffer model).
1053
1057
  */
@@ -1359,6 +1363,10 @@ export interface H265Settings {
1359
1363
  * Specify how the transcoder determines GOP size for this output. We recommend that you have the transcoder automatically choose this value for you based on characteristics of your input video. To enable this automatic behavior, choose Auto (AUTO) and and leave GOP size (GopSize) blank. By default, if you don't specify GOP mode control (GopSizeUnits), MediaConvert will use automatic behavior. If your output group specifies HLS, DASH, or CMAF, set GOP mode control to Auto and leave GOP size blank in each output in your output group. To explicitly specify the GOP length, choose Specified, frames (FRAMES) or Specified, seconds (SECONDS) and then provide the GOP length in the related setting GOP size (GopSize).
1360
1364
  */
1361
1365
  GopSizeUnits?: H265GopSizeUnits | string;
1366
+ /**
1367
+ * 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.
1368
+ */
1369
+ HrdBufferFinalFillPercentage?: number;
1362
1370
  /**
1363
1371
  * Percentage of the buffer that should initially be filled (HRD buffer model).
1364
1372
  */
@@ -1601,6 +1609,10 @@ export interface Mpeg2Settings {
1601
1609
  * Specify the units for GOP size (GopSize). If you don't specify a value here, by default the encoder measures GOP size in frames.
1602
1610
  */
1603
1611
  GopSizeUnits?: Mpeg2GopSizeUnits | string;
1612
+ /**
1613
+ * 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.
1614
+ */
1615
+ HrdBufferFinalFillPercentage?: number;
1604
1616
  /**
1605
1617
  * Percentage of the buffer that should initially be filled (HRD buffer model).
1606
1618
  */
@@ -593,6 +593,7 @@ export interface H264Settings {
593
593
  GopClosedCadence?: number;
594
594
  GopSize?: number;
595
595
  GopSizeUnits?: H264GopSizeUnits | string;
596
+ HrdBufferFinalFillPercentage?: number;
596
597
  HrdBufferInitialFillPercentage?: number;
597
598
  HrdBufferSize?: number;
598
599
  InterlaceMode?: H264InterlaceMode | string;
@@ -772,6 +773,7 @@ export interface H265Settings {
772
773
  GopClosedCadence?: number;
773
774
  GopSize?: number;
774
775
  GopSizeUnits?: H265GopSizeUnits | string;
776
+ HrdBufferFinalFillPercentage?: number;
775
777
  HrdBufferInitialFillPercentage?: number;
776
778
  HrdBufferSize?: number;
777
779
  InterlaceMode?: H265InterlaceMode | string;
@@ -900,6 +902,7 @@ export interface Mpeg2Settings {
900
902
  GopClosedCadence?: number;
901
903
  GopSize?: number;
902
904
  GopSizeUnits?: Mpeg2GopSizeUnits | string;
905
+ HrdBufferFinalFillPercentage?: number;
903
906
  HrdBufferInitialFillPercentage?: number;
904
907
  HrdBufferSize?: number;
905
908
  InterlaceMode?: Mpeg2InterlaceMode | string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediaconvert",
3
3
  "description": "AWS SDK for JavaScript Mediaconvert Client for Node.js, Browser and React Native",
4
- "version": "3.188.0",
4
+ "version": "3.189.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",