Skip to content

Commit da618f7

Browse files
Update generated code (#1843)
update generated code
1 parent 6291317 commit da618f7

40 files changed

+602
-201
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"variables": {
3-
"${LATEST}": "3.339.8"
3+
"${LATEST}": "3.339.9"
44
},
55
"endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json",
66
"services": {

src/Service/MediaConvert/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Added
66

77
- AWS api-change: This release adds support for dynamic audio configuration and the ability to disable the deblocking filter for h265 encodes.
8+
- AWS api-change: This release adds support for Animated GIF output, forced chroma sample positioning metadata, and Extensible Wave Container format
89

910
## 1.5.0
1011

src/Service/MediaConvert/src/Enum/Av1FramerateConversionAlgorithm.php

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,32 @@
33
namespace AsyncAws\MediaConvert\Enum;
44

55
/**
6-
* Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. For numerically
7-
* simple conversions, such as 60 fps to 30 fps: We recommend that you keep the default value, Drop duplicate. For
8-
* numerically complex conversions, to avoid stutter: Choose Interpolate. This results in a smooth picture, but might
9-
* introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has
10-
* already been converted from its original cadence: Choose FrameFormer to do motion-compensated interpolation.
11-
* FrameFormer uses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding
12-
* time and incurs a significant add-on cost. When you choose FrameFormer, your input video resolution must be at least
13-
* 128x96.
6+
* Choose the method that you want MediaConvert to use when increasing or decreasing your video's frame rate. For
7+
* numerically simple conversions, such as 60 fps to 30 fps: We recommend that you keep the default value, Drop
8+
* duplicate. For numerically complex conversions, to avoid stutter: Choose Interpolate. This results in a smooth
9+
* picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your
10+
* source video has already been converted from its original cadence: Choose FrameFormer to do motion-compensated
11+
* interpolation. FrameFormer uses the best conversion method frame by frame. Note that using FrameFormer increases the
12+
* transcoding time and incurs a significant add-on cost. When you choose FrameFormer, your input video resolution must
13+
* be at least 128x96. To create an output with the same number of frames as your input: Choose Maintain frame count.
14+
* When you do, MediaConvert will not drop, interpolate, add, or otherwise change the frame count from your input to
15+
* your output. Note that since the frame count is maintained, the duration of your output will become shorter at higher
16+
* frame rates and longer at lower frame rates.
1417
*/
1518
final class Av1FramerateConversionAlgorithm
1619
{
1720
public const DUPLICATE_DROP = 'DUPLICATE_DROP';
1821
public const FRAMEFORMER = 'FRAMEFORMER';
1922
public const INTERPOLATE = 'INTERPOLATE';
23+
public const MAINTAIN_FRAME_COUNT = 'MAINTAIN_FRAME_COUNT';
2024

2125
public static function exists(string $value): bool
2226
{
2327
return isset([
2428
self::DUPLICATE_DROP => true,
2529
self::FRAMEFORMER => true,
2630
self::INTERPOLATE => true,
31+
self::MAINTAIN_FRAME_COUNT => true,
2732
][$value]);
2833
}
2934
}

src/Service/MediaConvert/src/Enum/AvcIntraFramerateConversionAlgorithm.php

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,32 @@
33
namespace AsyncAws\MediaConvert\Enum;
44

55
/**
6-
* Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. For numerically
7-
* simple conversions, such as 60 fps to 30 fps: We recommend that you keep the default value, Drop duplicate. For
8-
* numerically complex conversions, to avoid stutter: Choose Interpolate. This results in a smooth picture, but might
9-
* introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has
10-
* already been converted from its original cadence: Choose FrameFormer to do motion-compensated interpolation.
11-
* FrameFormer uses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding
12-
* time and incurs a significant add-on cost. When you choose FrameFormer, your input video resolution must be at least
13-
* 128x96.
6+
* Choose the method that you want MediaConvert to use when increasing or decreasing your video's frame rate. For
7+
* numerically simple conversions, such as 60 fps to 30 fps: We recommend that you keep the default value, Drop
8+
* duplicate. For numerically complex conversions, to avoid stutter: Choose Interpolate. This results in a smooth
9+
* picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your
10+
* source video has already been converted from its original cadence: Choose FrameFormer to do motion-compensated
11+
* interpolation. FrameFormer uses the best conversion method frame by frame. Note that using FrameFormer increases the
12+
* transcoding time and incurs a significant add-on cost. When you choose FrameFormer, your input video resolution must
13+
* be at least 128x96. To create an output with the same number of frames as your input: Choose Maintain frame count.
14+
* When you do, MediaConvert will not drop, interpolate, add, or otherwise change the frame count from your input to
15+
* your output. Note that since the frame count is maintained, the duration of your output will become shorter at higher
16+
* frame rates and longer at lower frame rates.
1417
*/
1518
final class AvcIntraFramerateConversionAlgorithm
1619
{
1720
public const DUPLICATE_DROP = 'DUPLICATE_DROP';
1821
public const FRAMEFORMER = 'FRAMEFORMER';
1922
public const INTERPOLATE = 'INTERPOLATE';
23+
public const MAINTAIN_FRAME_COUNT = 'MAINTAIN_FRAME_COUNT';
2024

2125
public static function exists(string $value): bool
2226
{
2327
return isset([
2428
self::DUPLICATE_DROP => true,
2529
self::FRAMEFORMER => true,
2630
self::INTERPOLATE => true,
31+
self::MAINTAIN_FRAME_COUNT => true,
2732
][$value]);
2833
}
2934
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?php
2+
3+
namespace AsyncAws\MediaConvert\Enum;
4+
5+
/**
6+
* Specify the chroma sample positioning metadata for your H.264 or H.265 output. To have MediaConvert automatically
7+
* determine chroma positioning: We recommend that you keep the default value, Auto. To specify center positioning:
8+
* Choose Force center. To specify top left positioning: Choose Force top left.
9+
*/
10+
final class ChromaPositionMode
11+
{
12+
public const AUTO = 'AUTO';
13+
public const FORCE_CENTER = 'FORCE_CENTER';
14+
public const FORCE_TOP_LEFT = 'FORCE_TOP_LEFT';
15+
16+
public static function exists(string $value): bool
17+
{
18+
return isset([
19+
self::AUTO => true,
20+
self::FORCE_CENTER => true,
21+
self::FORCE_TOP_LEFT => true,
22+
][$value]);
23+
}
24+
}

src/Service/MediaConvert/src/Enum/ContainerType.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ final class ContainerType
1010
{
1111
public const CMFC = 'CMFC';
1212
public const F4V = 'F4V';
13+
public const GIF = 'GIF';
1314
public const ISMV = 'ISMV';
1415
public const M2TS = 'M2TS';
1516
public const M3U8 = 'M3U8';
@@ -27,6 +28,7 @@ public static function exists(string $value): bool
2728
return isset([
2829
self::CMFC => true,
2930
self::F4V => true,
31+
self::GIF => true,
3032
self::ISMV => true,
3133
self::M2TS => true,
3234
self::M3U8 => true,
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?php
2+
3+
namespace AsyncAws\MediaConvert\Enum;
4+
5+
/**
6+
* If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to
7+
* keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a
8+
* frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal
9+
* approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your
10+
* transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the
11+
* service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the
12+
* frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings
13+
* FramerateNumerator and FramerateDenominator.
14+
*/
15+
final class GifFramerateControl
16+
{
17+
public const INITIALIZE_FROM_SOURCE = 'INITIALIZE_FROM_SOURCE';
18+
public const SPECIFIED = 'SPECIFIED';
19+
20+
public static function exists(string $value): bool
21+
{
22+
return isset([
23+
self::INITIALIZE_FROM_SOURCE => true,
24+
self::SPECIFIED => true,
25+
][$value]);
26+
}
27+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
namespace AsyncAws\MediaConvert\Enum;
4+
5+
/**
6+
* Optional. Specify how the transcoder performs framerate conversion. The default behavior is to use Drop duplicate
7+
* (DUPLICATE_DROP) conversion. When you choose Interpolate (INTERPOLATE) instead, the conversion produces smoother
8+
* motion.
9+
*/
10+
final class GifFramerateConversionAlgorithm
11+
{
12+
public const DUPLICATE_DROP = 'DUPLICATE_DROP';
13+
public const INTERPOLATE = 'INTERPOLATE';
14+
15+
public static function exists(string $value): bool
16+
{
17+
return isset([
18+
self::DUPLICATE_DROP => true,
19+
self::INTERPOLATE => true,
20+
][$value]);
21+
}
22+
}

src/Service/MediaConvert/src/Enum/H264FramerateConversionAlgorithm.php

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,32 @@
33
namespace AsyncAws\MediaConvert\Enum;
44

55
/**
6-
* Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. For numerically
7-
* simple conversions, such as 60 fps to 30 fps: We recommend that you keep the default value, Drop duplicate. For
8-
* numerically complex conversions, to avoid stutter: Choose Interpolate. This results in a smooth picture, but might
9-
* introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has
10-
* already been converted from its original cadence: Choose FrameFormer to do motion-compensated interpolation.
11-
* FrameFormer uses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding
12-
* time and incurs a significant add-on cost. When you choose FrameFormer, your input video resolution must be at least
13-
* 128x96.
6+
* Choose the method that you want MediaConvert to use when increasing or decreasing your video's frame rate. For
7+
* numerically simple conversions, such as 60 fps to 30 fps: We recommend that you keep the default value, Drop
8+
* duplicate. For numerically complex conversions, to avoid stutter: Choose Interpolate. This results in a smooth
9+
* picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your
10+
* source video has already been converted from its original cadence: Choose FrameFormer to do motion-compensated
11+
* interpolation. FrameFormer uses the best conversion method frame by frame. Note that using FrameFormer increases the
12+
* transcoding time and incurs a significant add-on cost. When you choose FrameFormer, your input video resolution must
13+
* be at least 128x96. To create an output with the same number of frames as your input: Choose Maintain frame count.
14+
* When you do, MediaConvert will not drop, interpolate, add, or otherwise change the frame count from your input to
15+
* your output. Note that since the frame count is maintained, the duration of your output will become shorter at higher
16+
* frame rates and longer at lower frame rates.
1417
*/
1518
final class H264FramerateConversionAlgorithm
1619
{
1720
public const DUPLICATE_DROP = 'DUPLICATE_DROP';
1821
public const FRAMEFORMER = 'FRAMEFORMER';
1922
public const INTERPOLATE = 'INTERPOLATE';
23+
public const MAINTAIN_FRAME_COUNT = 'MAINTAIN_FRAME_COUNT';
2024

2125
public static function exists(string $value): bool
2226
{
2327
return isset([
2428
self::DUPLICATE_DROP => true,
2529
self::FRAMEFORMER => true,
2630
self::INTERPOLATE => true,
31+
self::MAINTAIN_FRAME_COUNT => true,
2732
][$value]);
2833
}
2934
}

src/Service/MediaConvert/src/Enum/H265FramerateConversionAlgorithm.php

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,32 @@
33
namespace AsyncAws\MediaConvert\Enum;
44

55
/**
6-
* Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. For numerically
7-
* simple conversions, such as 60 fps to 30 fps: We recommend that you keep the default value, Drop duplicate. For
8-
* numerically complex conversions, to avoid stutter: Choose Interpolate. This results in a smooth picture, but might
9-
* introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has
10-
* already been converted from its original cadence: Choose FrameFormer to do motion-compensated interpolation.
11-
* FrameFormer uses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding
12-
* time and incurs a significant add-on cost. When you choose FrameFormer, your input video resolution must be at least
13-
* 128x96.
6+
* Choose the method that you want MediaConvert to use when increasing or decreasing your video's frame rate. For
7+
* numerically simple conversions, such as 60 fps to 30 fps: We recommend that you keep the default value, Drop
8+
* duplicate. For numerically complex conversions, to avoid stutter: Choose Interpolate. This results in a smooth
9+
* picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your
10+
* source video has already been converted from its original cadence: Choose FrameFormer to do motion-compensated
11+
* interpolation. FrameFormer uses the best conversion method frame by frame. Note that using FrameFormer increases the
12+
* transcoding time and incurs a significant add-on cost. When you choose FrameFormer, your input video resolution must
13+
* be at least 128x96. To create an output with the same number of frames as your input: Choose Maintain frame count.
14+
* When you do, MediaConvert will not drop, interpolate, add, or otherwise change the frame count from your input to
15+
* your output. Note that since the frame count is maintained, the duration of your output will become shorter at higher
16+
* frame rates and longer at lower frame rates.
1417
*/
1518
final class H265FramerateConversionAlgorithm
1619
{
1720
public const DUPLICATE_DROP = 'DUPLICATE_DROP';
1821
public const FRAMEFORMER = 'FRAMEFORMER';
1922
public const INTERPOLATE = 'INTERPOLATE';
23+
public const MAINTAIN_FRAME_COUNT = 'MAINTAIN_FRAME_COUNT';
2024

2125
public static function exists(string $value): bool
2226
{
2327
return isset([
2428
self::DUPLICATE_DROP => true,
2529
self::FRAMEFORMER => true,
2630
self::INTERPOLATE => true,
31+
self::MAINTAIN_FRAME_COUNT => true,
2732
][$value]);
2833
}
2934
}

0 commit comments

Comments
 (0)