diff --git a/manifest.json b/manifest.json index 712fcb508..bce1d0b5f 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "variables": { - "${LATEST}": "3.356.31" + "${LATEST}": "3.356.43" }, "endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json", "services": { diff --git a/src/Service/DynamoDb/CHANGELOG.md b/src/Service/DynamoDb/CHANGELOG.md index 6cde60f4c..da879db88 100644 --- a/src/Service/DynamoDb/CHANGELOG.md +++ b/src/Service/DynamoDb/CHANGELOG.md @@ -5,6 +5,7 @@ ### Changed - Apply no CodingStandard from latest php-cs-fixer. +- AWS enhancement: Documentation updates. ## 3.8.0 diff --git a/src/Service/DynamoDb/src/Exception/RequestLimitExceededException.php b/src/Service/DynamoDb/src/Exception/RequestLimitExceededException.php index f189f1657..1c7fb9e84 100644 --- a/src/Service/DynamoDb/src/Exception/RequestLimitExceededException.php +++ b/src/Service/DynamoDb/src/Exception/RequestLimitExceededException.php @@ -9,7 +9,7 @@ /** * Throughput exceeds the current throughput quota for your account. For detailed information about why the request was * throttled and the ARN of the impacted resource, find the ThrottlingReason [^1] field in the returned exception. - * Contact Amazon Web Services Support [^2] to request a quota increase. + * Contact Amazon Web ServicesSupport [^2] to request a quota increase. * * [^1]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ThrottlingReason.html * [^2]: https://aws.amazon.com/support diff --git a/src/Service/MediaConvert/CHANGELOG.md b/src/Service/MediaConvert/CHANGELOG.md index 2388de87c..51de48d27 100644 --- a/src/Service/MediaConvert/CHANGELOG.md +++ b/src/Service/MediaConvert/CHANGELOG.md @@ -2,6 +2,10 @@ ## NOT RELEASED +### Added + +- AWS api-change: This release adds the ability to set resolution for the black video generator. + ### Changed - Apply no CodingStandard from latest php-cs-fixer. diff --git a/src/Service/MediaConvert/composer.json b/src/Service/MediaConvert/composer.json index 1ef996082..14648e3cc 100644 --- a/src/Service/MediaConvert/composer.json +++ b/src/Service/MediaConvert/composer.json @@ -28,7 +28,7 @@ }, "extra": { "branch-alias": { - "dev-master": "1.11-dev" + "dev-master": "1.12-dev" } } } diff --git a/src/Service/MediaConvert/src/Enum/AudioSelectorType.php b/src/Service/MediaConvert/src/Enum/AudioSelectorType.php index b1385e8fc..6dfc8744a 100644 --- a/src/Service/MediaConvert/src/Enum/AudioSelectorType.php +++ b/src/Service/MediaConvert/src/Enum/AudioSelectorType.php @@ -6,12 +6,12 @@ * Specify how MediaConvert selects audio content within your input. The default is Track. PID: Select audio by * specifying the Packet Identifier (PID) values for MPEG Transport Stream inputs. Use this when you know the exact PID * values of your audio streams. Track: Default. Select audio by track number. This is the most common option and works - * with most input container formats. Language code: Select audio by language using ISO 639-2 or ISO 639-3 three-letter - * language codes. Use this when your source has embedded language metadata and you want to select tracks based on their - * language. HLS rendition group: Select audio from an HLS rendition group. Use this when your input is an HLS package - * with multiple audio renditions and you want to select specific rendition groups. All PCM: Select all uncompressed PCM - * audio tracks from your input automatically. This is useful when you want to include all PCM audio tracks without - * specifying individual track numbers. + * with most input container formats. Language code: Select audio by language using an ISO 639-2 or ISO 639-3 + * three-letter code in all capital letters. Use this when your source has embedded language metadata and you want to + * select tracks based on their language. HLS rendition group: Select audio from an HLS rendition group. Use this when + * your input is an HLS package with multiple audio renditions and you want to select specific rendition groups. All + * PCM: Select all uncompressed PCM audio tracks from your input automatically. This is useful when you want to include + * all PCM audio tracks without specifying individual track numbers. */ final class AudioSelectorType { diff --git a/src/Service/MediaConvert/src/Enum/FrameMetricType.php b/src/Service/MediaConvert/src/Enum/FrameMetricType.php index 17dcde079..2098708ef 100644 --- a/src/Service/MediaConvert/src/Enum/FrameMetricType.php +++ b/src/Service/MediaConvert/src/Enum/FrameMetricType.php @@ -6,7 +6,7 @@ * * PSNR: Peak Signal-to-Noise Ratio * SSIM: Structural Similarity Index Measure * MS_SSIM: Multi-Scale Similarity * Index Measure * PSNR_HVS: Peak Signal-to-Noise Ratio, Human Visual System * VMAF: Video Multi-Method Assessment * Fusion * QVBR: Quality-Defined Variable Bitrate. This option is only available when your output uses the QVBR rate - * control mode. + * control mode. * SHOT_CHANGE: Shot Changes. */ final class FrameMetricType { @@ -14,6 +14,7 @@ final class FrameMetricType public const PSNR = 'PSNR'; public const PSNR_HVS = 'PSNR_HVS'; public const QVBR = 'QVBR'; + public const SHOT_CHANGE = 'SHOT_CHANGE'; public const SSIM = 'SSIM'; public const VMAF = 'VMAF'; @@ -24,6 +25,7 @@ public static function exists(string $value): bool self::PSNR => true, self::PSNR_HVS => true, self::QVBR => true, + self::SHOT_CHANGE => true, self::SSIM => true, self::VMAF => true, ][$value]); diff --git a/src/Service/MediaConvert/src/Enum/ImscAccessibilitySubs.php b/src/Service/MediaConvert/src/Enum/ImscAccessibilitySubs.php index 9654b47d3..6c05481d5 100644 --- a/src/Service/MediaConvert/src/Enum/ImscAccessibilitySubs.php +++ b/src/Service/MediaConvert/src/Enum/ImscAccessibilitySubs.php @@ -6,8 +6,9 @@ * If the IMSC captions track is intended to provide accessibility for people who are deaf or hard of hearing: Set * Accessibility subtitles to Enabled. When you do, MediaConvert adds accessibility attributes to your output HLS or * DASH manifest. For HLS manifests, MediaConvert adds the following accessibility attributes under EXT-X-MEDIA for this - * track: CHARACTERISTICS="public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound" - * and AUTOSELECT="YES". For DASH manifests, MediaConvert adds the following in the adaptation set for this track: + * track: + * CHARACTERISTICS="public.accessibility.transcribes-spoken-dialog,public.accessibility.describes-music-and-sound" and + * AUTOSELECT="YES". For DASH manifests, MediaConvert adds the following in the adaptation set for this track: * ``. If the captions track is not intended to * provide such accessibility: Keep the default value, Disabled. When you do, for DASH manifests, MediaConvert instead * adds the following in the adaptation set for this track: ``. If the captions track is not intended to * provide such accessibility: Keep the default value, Disabled. When you do, for DASH manifests, MediaConvert instead * adds the following in the adaptation set for this track: ` ForbiddenException::class, 'InternalServerErrorException' => InternalServerErrorException::class, 'NotFoundException' => NotFoundException::class, + 'ServiceQuotaExceededException' => ServiceQuotaExceededException::class, 'TooManyRequestsException' => TooManyRequestsException::class, ]])); @@ -99,6 +102,7 @@ public function cancelJob($input): CancelJobResponse * @throws ForbiddenException * @throws InternalServerErrorException * @throws NotFoundException + * @throws ServiceQuotaExceededException * @throws TooManyRequestsException */ public function createJob($input): CreateJobResponse @@ -110,6 +114,7 @@ public function createJob($input): CreateJobResponse 'ForbiddenException' => ForbiddenException::class, 'InternalServerErrorException' => InternalServerErrorException::class, 'NotFoundException' => NotFoundException::class, + 'ServiceQuotaExceededException' => ServiceQuotaExceededException::class, 'TooManyRequestsException' => TooManyRequestsException::class, ]])); @@ -136,6 +141,7 @@ public function createJob($input): CreateJobResponse * @throws ForbiddenException * @throws InternalServerErrorException * @throws NotFoundException + * @throws ServiceQuotaExceededException * @throws TooManyRequestsException * * @deprecated @@ -150,6 +156,7 @@ public function describeEndpoints($input = []): DescribeEndpointsResponse 'ForbiddenException' => ForbiddenException::class, 'InternalServerErrorException' => InternalServerErrorException::class, 'NotFoundException' => NotFoundException::class, + 'ServiceQuotaExceededException' => ServiceQuotaExceededException::class, 'TooManyRequestsException' => TooManyRequestsException::class, ]])); @@ -172,6 +179,7 @@ public function describeEndpoints($input = []): DescribeEndpointsResponse * @throws ForbiddenException * @throws InternalServerErrorException * @throws NotFoundException + * @throws ServiceQuotaExceededException * @throws TooManyRequestsException */ public function getJob($input): GetJobResponse @@ -183,6 +191,7 @@ public function getJob($input): GetJobResponse 'ForbiddenException' => ForbiddenException::class, 'InternalServerErrorException' => InternalServerErrorException::class, 'NotFoundException' => NotFoundException::class, + 'ServiceQuotaExceededException' => ServiceQuotaExceededException::class, 'TooManyRequestsException' => TooManyRequestsException::class, ]])); @@ -211,6 +220,7 @@ public function getJob($input): GetJobResponse * @throws ForbiddenException * @throws InternalServerErrorException * @throws NotFoundException + * @throws ServiceQuotaExceededException * @throws TooManyRequestsException */ public function listJobs($input = []): ListJobsResponse @@ -222,6 +232,7 @@ public function listJobs($input = []): ListJobsResponse 'ForbiddenException' => ForbiddenException::class, 'InternalServerErrorException' => InternalServerErrorException::class, 'NotFoundException' => NotFoundException::class, + 'ServiceQuotaExceededException' => ServiceQuotaExceededException::class, 'TooManyRequestsException' => TooManyRequestsException::class, ]])); diff --git a/src/Service/MediaConvert/src/Result/CreateJobResponse.php b/src/Service/MediaConvert/src/Result/CreateJobResponse.php index ba41366db..9d6ac8bc6 100644 --- a/src/Service/MediaConvert/src/Result/CreateJobResponse.php +++ b/src/Service/MediaConvert/src/Result/CreateJobResponse.php @@ -1397,7 +1397,9 @@ private function populateResultInputVideoGenerator(array $json): InputVideoGener 'Duration' => isset($json['duration']) ? (int) $json['duration'] : null, 'FramerateDenominator' => isset($json['framerateDenominator']) ? (int) $json['framerateDenominator'] : null, 'FramerateNumerator' => isset($json['framerateNumerator']) ? (int) $json['framerateNumerator'] : null, + 'Height' => isset($json['height']) ? (int) $json['height'] : null, 'SampleRate' => isset($json['sampleRate']) ? (int) $json['sampleRate'] : null, + 'Width' => isset($json['width']) ? (int) $json['width'] : null, ]); } diff --git a/src/Service/MediaConvert/src/Result/GetJobResponse.php b/src/Service/MediaConvert/src/Result/GetJobResponse.php index 4f0d42391..bd671a644 100644 --- a/src/Service/MediaConvert/src/Result/GetJobResponse.php +++ b/src/Service/MediaConvert/src/Result/GetJobResponse.php @@ -1397,7 +1397,9 @@ private function populateResultInputVideoGenerator(array $json): InputVideoGener 'Duration' => isset($json['duration']) ? (int) $json['duration'] : null, 'FramerateDenominator' => isset($json['framerateDenominator']) ? (int) $json['framerateDenominator'] : null, 'FramerateNumerator' => isset($json['framerateNumerator']) ? (int) $json['framerateNumerator'] : null, + 'Height' => isset($json['height']) ? (int) $json['height'] : null, 'SampleRate' => isset($json['sampleRate']) ? (int) $json['sampleRate'] : null, + 'Width' => isset($json['width']) ? (int) $json['width'] : null, ]); } diff --git a/src/Service/MediaConvert/src/Result/ListJobsResponse.php b/src/Service/MediaConvert/src/Result/ListJobsResponse.php index 9f630c934..64ab7050e 100644 --- a/src/Service/MediaConvert/src/Result/ListJobsResponse.php +++ b/src/Service/MediaConvert/src/Result/ListJobsResponse.php @@ -1464,7 +1464,9 @@ private function populateResultInputVideoGenerator(array $json): InputVideoGener 'Duration' => isset($json['duration']) ? (int) $json['duration'] : null, 'FramerateDenominator' => isset($json['framerateDenominator']) ? (int) $json['framerateDenominator'] : null, 'FramerateNumerator' => isset($json['framerateNumerator']) ? (int) $json['framerateNumerator'] : null, + 'Height' => isset($json['height']) ? (int) $json['height'] : null, 'SampleRate' => isset($json['sampleRate']) ? (int) $json['sampleRate'] : null, + 'Width' => isset($json['width']) ? (int) $json['width'] : null, ]); } diff --git a/src/Service/MediaConvert/src/ValueObject/AudioDescription.php b/src/Service/MediaConvert/src/ValueObject/AudioDescription.php index 7488844af..8762ccccd 100644 --- a/src/Service/MediaConvert/src/ValueObject/AudioDescription.php +++ b/src/Service/MediaConvert/src/ValueObject/AudioDescription.php @@ -84,9 +84,12 @@ final class AudioDescription private $customLanguageCode; /** - * Indicates the language of the audio output track. The ISO 639 language specified in the 'Language Code' drop down - * will be used when 'Follow Input Language Code' is not selected or when 'Follow Input Language Code' is selected but - * there is no ISO 639 language code specified by the input. + * Specify the language for your output audio track. To follow the input language: Leave blank. When you do, also set + * Language code control to Follow input. If no input language is detected MediaConvert will not write an output + * language code. To follow the input langauge, but fall back to a specified language code if there is no input language + * to follow: Enter an ISO 639-2 three-letter language code in all capital letters. When you do, also set Language code + * control to Follow input. To specify the language code: Enter an ISO 639 three-letter language code in all capital + * letters. When you do, also set Language code control to Use configured. * * @var LanguageCode::*|null */ diff --git a/src/Service/MediaConvert/src/ValueObject/AudioSelector.php b/src/Service/MediaConvert/src/ValueObject/AudioSelector.php index d69a62563..a5aa69ad6 100644 --- a/src/Service/MediaConvert/src/ValueObject/AudioSelector.php +++ b/src/Service/MediaConvert/src/ValueObject/AudioSelector.php @@ -66,9 +66,8 @@ final class AudioSelector private $hlsRenditionGroupSettings; /** - * Specify the language to select from your audio input. In the MediaConvert console choose from a list of languages. In - * your JSON job settings choose from an ISO 639-2 three-letter code listed at - * https://www.loc.gov/standards/iso639-2/php/code_list.php. + * Specify the language, using an ISO 639-2 three-letter code in all capital letters. You can find a list of codes at: + * https://www.loc.gov/standards/iso639-2/php/code_list.php * * @var LanguageCode::*|null */ @@ -113,12 +112,12 @@ final class AudioSelector * Specify how MediaConvert selects audio content within your input. The default is Track. PID: Select audio by * specifying the Packet Identifier (PID) values for MPEG Transport Stream inputs. Use this when you know the exact PID * values of your audio streams. Track: Default. Select audio by track number. This is the most common option and works - * with most input container formats. Language code: Select audio by language using ISO 639-2 or ISO 639-3 three-letter - * language codes. Use this when your source has embedded language metadata and you want to select tracks based on their - * language. HLS rendition group: Select audio from an HLS rendition group. Use this when your input is an HLS package - * with multiple audio renditions and you want to select specific rendition groups. All PCM: Select all uncompressed PCM - * audio tracks from your input automatically. This is useful when you want to include all PCM audio tracks without - * specifying individual track numbers. + * with most input container formats. Language code: Select audio by language using an ISO 639-2 or ISO 639-3 + * three-letter code in all capital letters. Use this when your source has embedded language metadata and you want to + * select tracks based on their language. HLS rendition group: Select audio from an HLS rendition group. Use this when + * your input is an HLS package with multiple audio renditions and you want to select specific rendition groups. All + * PCM: Select all uncompressed PCM audio tracks from your input automatically. This is useful when you want to include + * all PCM audio tracks without specifying individual track numbers. * * @var AudioSelectorType::*|null */ diff --git a/src/Service/MediaConvert/src/ValueObject/Av1Settings.php b/src/Service/MediaConvert/src/ValueObject/Av1Settings.php index 95f06c64d..86672ffc5 100644 --- a/src/Service/MediaConvert/src/ValueObject/Av1Settings.php +++ b/src/Service/MediaConvert/src/ValueObject/Av1Settings.php @@ -126,7 +126,7 @@ final class Av1Settings * * PSNR: Peak Signal-to-Noise Ratio * SSIM: Structural Similarity Index Measure * MS_SSIM: Multi-Scale Similarity * Index Measure * PSNR_HVS: Peak Signal-to-Noise Ratio, Human Visual System * VMAF: Video Multi-Method Assessment * Fusion * QVBR: Quality-Defined Variable Bitrate. This option is only available when your output uses the QVBR rate - * control mode. + * control mode. * SHOT_CHANGE: Shot Changes. * * @var list|null */ diff --git a/src/Service/MediaConvert/src/ValueObject/AvcIntraSettings.php b/src/Service/MediaConvert/src/ValueObject/AvcIntraSettings.php index 09c0abb2d..86d5cc3e2 100644 --- a/src/Service/MediaConvert/src/ValueObject/AvcIntraSettings.php +++ b/src/Service/MediaConvert/src/ValueObject/AvcIntraSettings.php @@ -109,7 +109,7 @@ final class AvcIntraSettings * * PSNR: Peak Signal-to-Noise Ratio * SSIM: Structural Similarity Index Measure * MS_SSIM: Multi-Scale Similarity * Index Measure * PSNR_HVS: Peak Signal-to-Noise Ratio, Human Visual System * VMAF: Video Multi-Method Assessment * Fusion * QVBR: Quality-Defined Variable Bitrate. This option is only available when your output uses the QVBR rate - * control mode. + * control mode. * SHOT_CHANGE: Shot Changes. * * @var list|null */ diff --git a/src/Service/MediaConvert/src/ValueObject/DynamicAudioSelector.php b/src/Service/MediaConvert/src/ValueObject/DynamicAudioSelector.php index 4a4d23bc6..5f65ff38c 100644 --- a/src/Service/MediaConvert/src/ValueObject/DynamicAudioSelector.php +++ b/src/Service/MediaConvert/src/ValueObject/DynamicAudioSelector.php @@ -41,9 +41,8 @@ final class DynamicAudioSelector private $externalAudioFileInput; /** - * Specify the language to select from your audio input. In the MediaConvert console choose from a list of languages. In - * your JSON job settings choose from an ISO 639-2 three-letter code listed at - * https://www.loc.gov/standards/iso639-2/php/code_list.php. + * Specify the language, using an ISO 639-2 three-letter code in all capital letters. You can find a list of codes at: + * https://www.loc.gov/standards/iso639-2/php/code_list.php * * @var LanguageCode::*|null */ diff --git a/src/Service/MediaConvert/src/ValueObject/H264Settings.php b/src/Service/MediaConvert/src/ValueObject/H264Settings.php index bfccd68ec..9d517aa2c 100644 --- a/src/Service/MediaConvert/src/ValueObject/H264Settings.php +++ b/src/Service/MediaConvert/src/ValueObject/H264Settings.php @@ -345,7 +345,7 @@ final class H264Settings * * PSNR: Peak Signal-to-Noise Ratio * SSIM: Structural Similarity Index Measure * MS_SSIM: Multi-Scale Similarity * Index Measure * PSNR_HVS: Peak Signal-to-Noise Ratio, Human Visual System * VMAF: Video Multi-Method Assessment * Fusion * QVBR: Quality-Defined Variable Bitrate. This option is only available when your output uses the QVBR rate - * control mode. + * control mode. * SHOT_CHANGE: Shot Changes. * * @var list|null */ diff --git a/src/Service/MediaConvert/src/ValueObject/H265Settings.php b/src/Service/MediaConvert/src/ValueObject/H265Settings.php index 5ced4784a..82ee2b955 100644 --- a/src/Service/MediaConvert/src/ValueObject/H265Settings.php +++ b/src/Service/MediaConvert/src/ValueObject/H265Settings.php @@ -342,7 +342,7 @@ final class H265Settings * * PSNR: Peak Signal-to-Noise Ratio * SSIM: Structural Similarity Index Measure * MS_SSIM: Multi-Scale Similarity * Index Measure * PSNR_HVS: Peak Signal-to-Noise Ratio, Human Visual System * VMAF: Video Multi-Method Assessment * Fusion * QVBR: Quality-Defined Variable Bitrate. This option is only available when your output uses the QVBR rate - * control mode. + * control mode. * SHOT_CHANGE: Shot Changes. * * @var list|null */ diff --git a/src/Service/MediaConvert/src/ValueObject/HlsCaptionLanguageMapping.php b/src/Service/MediaConvert/src/ValueObject/HlsCaptionLanguageMapping.php index 22f9804e1..581f9c5cc 100644 --- a/src/Service/MediaConvert/src/ValueObject/HlsCaptionLanguageMapping.php +++ b/src/Service/MediaConvert/src/ValueObject/HlsCaptionLanguageMapping.php @@ -18,15 +18,16 @@ final class HlsCaptionLanguageMapping private $captionChannel; /** - * Specify the language for this captions channel, using the ISO 639-2 or ISO 639-3 three-letter language code. + * Specify the language, using an ISO 639-2 three-letter code in all capital letters. You can find a list of codes at: + * https://www.loc.gov/standards/iso639-2/php/code_list.php * * @var string|null */ private $customLanguageCode; /** - * Specify the language, using the ISO 639-2 three-letter code listed at - * https://www.loc.gov/standards/iso639-2/php/code_list.php. + * Specify the language, using an ISO 639-2 three-letter code in all capital letters. You can find a list of codes at: + * https://www.loc.gov/standards/iso639-2/php/code_list.php * * @var LanguageCode::*|null */ diff --git a/src/Service/MediaConvert/src/ValueObject/HlsRenditionGroupSettings.php b/src/Service/MediaConvert/src/ValueObject/HlsRenditionGroupSettings.php index 7711cd0c4..370447dc7 100644 --- a/src/Service/MediaConvert/src/ValueObject/HlsRenditionGroupSettings.php +++ b/src/Service/MediaConvert/src/ValueObject/HlsRenditionGroupSettings.php @@ -22,7 +22,8 @@ final class HlsRenditionGroupSettings private $renditionGroupId; /** - * Optional. Specify ISO 639-2 or ISO 639-3 code in the language property. + * Optionally specify the language, using an ISO 639-2 or ISO 639-3 three-letter code in all capital letters. You can + * find a list of codes at: https://www.loc.gov/standards/iso639-2/php/code_list.php. * * @var LanguageCode::*|null */ diff --git a/src/Service/MediaConvert/src/ValueObject/ImscDestinationSettings.php b/src/Service/MediaConvert/src/ValueObject/ImscDestinationSettings.php index 0fec94017..27cec2276 100644 --- a/src/Service/MediaConvert/src/ValueObject/ImscDestinationSettings.php +++ b/src/Service/MediaConvert/src/ValueObject/ImscDestinationSettings.php @@ -17,8 +17,9 @@ final class ImscDestinationSettings * If the IMSC captions track is intended to provide accessibility for people who are deaf or hard of hearing: Set * Accessibility subtitles to Enabled. When you do, MediaConvert adds accessibility attributes to your output HLS or * DASH manifest. For HLS manifests, MediaConvert adds the following accessibility attributes under EXT-X-MEDIA for this - * track: CHARACTERISTICS="public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound" - * and AUTOSELECT="YES". For DASH manifests, MediaConvert adds the following in the adaptation set for this track: + * track: + * CHARACTERISTICS="public.accessibility.transcribes-spoken-dialog,public.accessibility.describes-music-and-sound" and + * AUTOSELECT="YES". For DASH manifests, MediaConvert adds the following in the adaptation set for this track: * ``. If the captions track is not intended to * provide such accessibility: Keep the default value, Disabled. When you do, for DASH manifests, MediaConvert instead * adds the following in the adaptation set for this track: `duration = $input['Duration'] ?? null; $this->framerateDenominator = $input['FramerateDenominator'] ?? null; $this->framerateNumerator = $input['FramerateNumerator'] ?? null; + $this->height = $input['Height'] ?? null; $this->sampleRate = $input['SampleRate'] ?? null; + $this->width = $input['Width'] ?? null; } /** @@ -76,7 +98,9 @@ public function __construct(array $input) * Duration?: int|null, * FramerateDenominator?: int|null, * FramerateNumerator?: int|null, + * Height?: int|null, * SampleRate?: int|null, + * Width?: int|null, * }|InputVideoGenerator $input */ public static function create($input): self @@ -104,11 +128,21 @@ public function getFramerateNumerator(): ?int return $this->framerateNumerator; } + public function getHeight(): ?int + { + return $this->height; + } + public function getSampleRate(): ?int { return $this->sampleRate; } + public function getWidth(): ?int + { + return $this->width; + } + /** * @internal */ @@ -127,9 +161,15 @@ public function requestBody(): array if (null !== $v = $this->framerateNumerator) { $payload['framerateNumerator'] = $v; } + if (null !== $v = $this->height) { + $payload['height'] = $v; + } if (null !== $v = $this->sampleRate) { $payload['sampleRate'] = $v; } + if (null !== $v = $this->width) { + $payload['width'] = $v; + } return $payload; } diff --git a/src/Service/MediaConvert/src/ValueObject/Mpeg2Settings.php b/src/Service/MediaConvert/src/ValueObject/Mpeg2Settings.php index 206377cc8..1f8487c07 100644 --- a/src/Service/MediaConvert/src/ValueObject/Mpeg2Settings.php +++ b/src/Service/MediaConvert/src/ValueObject/Mpeg2Settings.php @@ -259,7 +259,7 @@ final class Mpeg2Settings * * PSNR: Peak Signal-to-Noise Ratio * SSIM: Structural Similarity Index Measure * MS_SSIM: Multi-Scale Similarity * Index Measure * PSNR_HVS: Peak Signal-to-Noise Ratio, Human Visual System * VMAF: Video Multi-Method Assessment * Fusion * QVBR: Quality-Defined Variable Bitrate. This option is only available when your output uses the QVBR rate - * control mode. + * control mode. * SHOT_CHANGE: Shot Changes. * * @var list|null */ diff --git a/src/Service/MediaConvert/src/ValueObject/OutputGroupSettings.php b/src/Service/MediaConvert/src/ValueObject/OutputGroupSettings.php index 32d689ad7..dfa8cb814 100644 --- a/src/Service/MediaConvert/src/ValueObject/OutputGroupSettings.php +++ b/src/Service/MediaConvert/src/ValueObject/OutputGroupSettings.php @@ -63,7 +63,7 @@ final class OutputGroupSettings * * PSNR: Peak Signal-to-Noise Ratio * SSIM: Structural Similarity Index Measure * MS_SSIM: Multi-Scale Similarity * Index Measure * PSNR_HVS: Peak Signal-to-Noise Ratio, Human Visual System * VMAF: Video Multi-Method Assessment * Fusion * QVBR: Quality-Defined Variable Bitrate. This option is only available when your output uses the QVBR rate - * control mode. + * control mode. * SHOT_CHANGE: Shot Changes. * * @var list|null */ diff --git a/src/Service/MediaConvert/src/ValueObject/ProresSettings.php b/src/Service/MediaConvert/src/ValueObject/ProresSettings.php index 7de009379..e0fcce3f7 100644 --- a/src/Service/MediaConvert/src/ValueObject/ProresSettings.php +++ b/src/Service/MediaConvert/src/ValueObject/ProresSettings.php @@ -140,7 +140,7 @@ final class ProresSettings * * PSNR: Peak Signal-to-Noise Ratio * SSIM: Structural Similarity Index Measure * MS_SSIM: Multi-Scale Similarity * Index Measure * PSNR_HVS: Peak Signal-to-Noise Ratio, Human Visual System * VMAF: Video Multi-Method Assessment * Fusion * QVBR: Quality-Defined Variable Bitrate. This option is only available when your output uses the QVBR rate - * control mode. + * control mode. * SHOT_CHANGE: Shot Changes. * * @var list|null */ diff --git a/src/Service/MediaConvert/src/ValueObject/WebvttDestinationSettings.php b/src/Service/MediaConvert/src/ValueObject/WebvttDestinationSettings.php index 8612fa281..46d200866 100644 --- a/src/Service/MediaConvert/src/ValueObject/WebvttDestinationSettings.php +++ b/src/Service/MediaConvert/src/ValueObject/WebvttDestinationSettings.php @@ -17,8 +17,9 @@ final class WebvttDestinationSettings * If the WebVTT captions track is intended to provide accessibility for people who are deaf or hard of hearing: Set * Accessibility subtitles to Enabled. When you do, MediaConvert adds accessibility attributes to your output HLS or * DASH manifest. For HLS manifests, MediaConvert adds the following accessibility attributes under EXT-X-MEDIA for this - * track: CHARACTERISTICS="public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound" - * and AUTOSELECT="YES". For DASH manifests, MediaConvert adds the following in the adaptation set for this track: + * track: + * CHARACTERISTICS="public.accessibility.transcribes-spoken-dialog,public.accessibility.describes-music-and-sound" and + * AUTOSELECT="YES". For DASH manifests, MediaConvert adds the following in the adaptation set for this track: * ``. If the captions track is not intended to * provide such accessibility: Keep the default value, Disabled. When you do, for DASH manifests, MediaConvert instead * adds the following in the adaptation set for this track: `|null */