Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"variables": {
"${LATEST}": "3.367.1"
"${LATEST}": "3.368.1"
},
"endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json",
"services": {
Expand Down
1 change: 1 addition & 0 deletions src/Service/MediaConvert/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- AWS api-change: This release adds the ability to set resolution for the black video generator.
- AWS api-change: Adds SlowPalPitchCorrection to audio pitch correction settings. Enables opacity for VideoOverlays. Adds REMUX_ALL option to enable multi-rendition passthrough to VideoSelector for allow listed accounts.
- AWS api-change: Lowers minimum duration for black video generator. Adds support for embedding and signing C2PA content credentials in DASH and CMAF HLS outputs.
- AWS api-change: Adds support for tile encoding in HEVC and audio for video overlays.

### Dependency bumped

Expand Down
8 changes: 6 additions & 2 deletions src/Service/MediaConvert/src/Enum/AudioDefaultSelection.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@
namespace AsyncAws\MediaConvert\Enum;

/**
* Enable this setting on one audio selector to set it as the default for the job. The service uses this default for
* outputs where it can't find the specified input audio. If you don't set a default, those outputs have no audio.
* Specify a fallback audio selector for this input. Use to ensure outputs have audio even when the audio selector you
* specify in your output is missing from the source. DEFAULT (Checked in the MediaConvert console): If your output
* settings specify an audio selector that does not exist in this input, MediaConvert uses this audio selector instead.
* This is useful when you have multiple inputs with a different number of audio tracks. NOT_DEFAULT (Unchecked in the
* MediaConvert console): MediaConvert will not fallback from any missing audio selector. Any output specifying a
* missing audio selector will be silent.
*/
final class AudioDefaultSelection
{
Expand Down
2 changes: 2 additions & 0 deletions src/Service/MediaConvert/src/Enum/CaptionSourceType.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ final class CaptionSourceType
public const STL = 'STL';
public const TELETEXT = 'TELETEXT';
public const TTML = 'TTML';
public const TT_3GPP = 'TT_3GPP';
public const WEBVTT = 'WEBVTT';

public static function exists(string $value): bool
Expand All @@ -38,6 +39,7 @@ public static function exists(string $value): bool
self::STL => true,
self::TELETEXT => true,
self::TTML => true,
self::TT_3GPP => true,
self::WEBVTT => true,
][$value]);
}
Expand Down
21 changes: 21 additions & 0 deletions src/Service/MediaConvert/src/Enum/H265MvOverPictureBoundaries.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

namespace AsyncAws\MediaConvert\Enum;

/**
* If you are setting up the picture as a tile, you must set this to "disabled". In all other configurations, you
* typically enter "enabled".
*/
final class H265MvOverPictureBoundaries
{
public const DISABLED = 'DISABLED';
public const ENABLED = 'ENABLED';

public static function exists(string $value): bool
{
return isset([
self::DISABLED => true,
self::ENABLED => true,
][$value]);
}
}
21 changes: 21 additions & 0 deletions src/Service/MediaConvert/src/Enum/H265MvTemporalPredictor.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

namespace AsyncAws\MediaConvert\Enum;

/**
* If you are setting up the picture as a tile, you must set this to "disabled". In other configurations, you typically
* enter "enabled".
*/
final class H265MvTemporalPredictor
{
public const DISABLED = 'DISABLED';
public const ENABLED = 'ENABLED';

public static function exists(string $value): bool
{
return isset([
self::DISABLED => true,
self::ENABLED => true,
][$value]);
}
}
22 changes: 22 additions & 0 deletions src/Service/MediaConvert/src/Enum/H265TilePadding.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

namespace AsyncAws\MediaConvert\Enum;

/**
* Set to "padded" to force MediaConvert to add padding to the frame, to obtain a frame that is a whole multiple of the
* tile size. If you are setting up the picture as a tile, you must enter "padded". In all other configurations, you
* typically enter "none".
*/
final class H265TilePadding
{
public const NONE = 'NONE';
public const PADDED = 'PADDED';

public static function exists(string $value): bool
{
return isset([
self::NONE => true,
self::PADDED => true,
][$value]);
}
}
22 changes: 22 additions & 0 deletions src/Service/MediaConvert/src/Enum/H265TreeBlockSize.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

namespace AsyncAws\MediaConvert\Enum;

/**
* Select the tree block size used for encoding. If you enter "auto", the encoder will pick the best size. If you are
* setting up the picture as a tile, you must set this to 32x32. In all other configurations, you typically enter
* "auto".
*/
final class H265TreeBlockSize
{
public const AUTO = 'AUTO';
public const TREE_SIZE_32X32 = 'TREE_SIZE_32X32';

public static function exists(string $value): bool
{
return isset([
self::AUTO => true,
self::TREE_SIZE_32X32 => true,
][$value]);
}
}
8 changes: 8 additions & 0 deletions src/Service/MediaConvert/src/Result/CreateJobResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -1157,6 +1157,8 @@ private function populateResultH265Settings(array $json): H265Settings
'InterlaceMode' => isset($json['interlaceMode']) ? (string) $json['interlaceMode'] : null,
'MaxBitrate' => isset($json['maxBitrate']) ? (int) $json['maxBitrate'] : null,
'MinIInterval' => isset($json['minIInterval']) ? (int) $json['minIInterval'] : null,
'MvOverPictureBoundaries' => isset($json['mvOverPictureBoundaries']) ? (string) $json['mvOverPictureBoundaries'] : null,
'MvTemporalPredictor' => isset($json['mvTemporalPredictor']) ? (string) $json['mvTemporalPredictor'] : null,
'NumberBFramesBetweenReferenceFrames' => isset($json['numberBFramesBetweenReferenceFrames']) ? (int) $json['numberBFramesBetweenReferenceFrames'] : null,
'NumberReferenceFrames' => isset($json['numberReferenceFrames']) ? (int) $json['numberReferenceFrames'] : null,
'ParControl' => isset($json['parControl']) ? (string) $json['parControl'] : null,
Expand All @@ -1175,7 +1177,11 @@ private function populateResultH265Settings(array $json): H265Settings
'Telecine' => isset($json['telecine']) ? (string) $json['telecine'] : null,
'TemporalAdaptiveQuantization' => isset($json['temporalAdaptiveQuantization']) ? (string) $json['temporalAdaptiveQuantization'] : null,
'TemporalIds' => isset($json['temporalIds']) ? (string) $json['temporalIds'] : null,
'TileHeight' => isset($json['tileHeight']) ? (int) $json['tileHeight'] : null,
'TilePadding' => isset($json['tilePadding']) ? (string) $json['tilePadding'] : null,
'TileWidth' => isset($json['tileWidth']) ? (int) $json['tileWidth'] : null,
'Tiles' => isset($json['tiles']) ? (string) $json['tiles'] : null,
'TreeBlockSize' => isset($json['treeBlockSize']) ? (string) $json['treeBlockSize'] : null,
'UnregisteredSeiTimecode' => isset($json['unregisteredSeiTimecode']) ? (string) $json['unregisteredSeiTimecode'] : null,
'WriteMp4PackagingType' => isset($json['writeMp4PackagingType']) ? (string) $json['writeMp4PackagingType'] : null,
]);
Expand Down Expand Up @@ -1412,6 +1418,7 @@ private function populateResultInputVideoGenerator(array $json): InputVideoGener
'FramerateDenominator' => isset($json['framerateDenominator']) ? (int) $json['framerateDenominator'] : null,
'FramerateNumerator' => isset($json['framerateNumerator']) ? (int) $json['framerateNumerator'] : null,
'Height' => isset($json['height']) ? (int) $json['height'] : null,
'ImageInput' => isset($json['imageInput']) ? (string) $json['imageInput'] : null,
'SampleRate' => isset($json['sampleRate']) ? (int) $json['sampleRate'] : null,
'Width' => isset($json['width']) ? (int) $json['width'] : null,
]);
Expand Down Expand Up @@ -2259,6 +2266,7 @@ private function populateResultVideoOverlayCrop(array $json): VideoOverlayCrop
private function populateResultVideoOverlayInput(array $json): VideoOverlayInput
{
return new VideoOverlayInput([
'AudioSelectors' => !isset($json['audioSelectors']) ? null : $this->populateResult__mapOfAudioSelector($json['audioSelectors']),
'FileInput' => isset($json['fileInput']) ? (string) $json['fileInput'] : null,
'InputClippings' => !isset($json['inputClippings']) ? null : $this->populateResult__listOfVideoOverlayInputClipping($json['inputClippings']),
'TimecodeSource' => isset($json['timecodeSource']) ? (string) $json['timecodeSource'] : null,
Expand Down
8 changes: 8 additions & 0 deletions src/Service/MediaConvert/src/Result/GetJobResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -1157,6 +1157,8 @@ private function populateResultH265Settings(array $json): H265Settings
'InterlaceMode' => isset($json['interlaceMode']) ? (string) $json['interlaceMode'] : null,
'MaxBitrate' => isset($json['maxBitrate']) ? (int) $json['maxBitrate'] : null,
'MinIInterval' => isset($json['minIInterval']) ? (int) $json['minIInterval'] : null,
'MvOverPictureBoundaries' => isset($json['mvOverPictureBoundaries']) ? (string) $json['mvOverPictureBoundaries'] : null,
'MvTemporalPredictor' => isset($json['mvTemporalPredictor']) ? (string) $json['mvTemporalPredictor'] : null,
'NumberBFramesBetweenReferenceFrames' => isset($json['numberBFramesBetweenReferenceFrames']) ? (int) $json['numberBFramesBetweenReferenceFrames'] : null,
'NumberReferenceFrames' => isset($json['numberReferenceFrames']) ? (int) $json['numberReferenceFrames'] : null,
'ParControl' => isset($json['parControl']) ? (string) $json['parControl'] : null,
Expand All @@ -1175,7 +1177,11 @@ private function populateResultH265Settings(array $json): H265Settings
'Telecine' => isset($json['telecine']) ? (string) $json['telecine'] : null,
'TemporalAdaptiveQuantization' => isset($json['temporalAdaptiveQuantization']) ? (string) $json['temporalAdaptiveQuantization'] : null,
'TemporalIds' => isset($json['temporalIds']) ? (string) $json['temporalIds'] : null,
'TileHeight' => isset($json['tileHeight']) ? (int) $json['tileHeight'] : null,
'TilePadding' => isset($json['tilePadding']) ? (string) $json['tilePadding'] : null,
'TileWidth' => isset($json['tileWidth']) ? (int) $json['tileWidth'] : null,
'Tiles' => isset($json['tiles']) ? (string) $json['tiles'] : null,
'TreeBlockSize' => isset($json['treeBlockSize']) ? (string) $json['treeBlockSize'] : null,
'UnregisteredSeiTimecode' => isset($json['unregisteredSeiTimecode']) ? (string) $json['unregisteredSeiTimecode'] : null,
'WriteMp4PackagingType' => isset($json['writeMp4PackagingType']) ? (string) $json['writeMp4PackagingType'] : null,
]);
Expand Down Expand Up @@ -1412,6 +1418,7 @@ private function populateResultInputVideoGenerator(array $json): InputVideoGener
'FramerateDenominator' => isset($json['framerateDenominator']) ? (int) $json['framerateDenominator'] : null,
'FramerateNumerator' => isset($json['framerateNumerator']) ? (int) $json['framerateNumerator'] : null,
'Height' => isset($json['height']) ? (int) $json['height'] : null,
'ImageInput' => isset($json['imageInput']) ? (string) $json['imageInput'] : null,
'SampleRate' => isset($json['sampleRate']) ? (int) $json['sampleRate'] : null,
'Width' => isset($json['width']) ? (int) $json['width'] : null,
]);
Expand Down Expand Up @@ -2259,6 +2266,7 @@ private function populateResultVideoOverlayCrop(array $json): VideoOverlayCrop
private function populateResultVideoOverlayInput(array $json): VideoOverlayInput
{
return new VideoOverlayInput([
'AudioSelectors' => !isset($json['audioSelectors']) ? null : $this->populateResult__mapOfAudioSelector($json['audioSelectors']),
'FileInput' => isset($json['fileInput']) ? (string) $json['fileInput'] : null,
'InputClippings' => !isset($json['inputClippings']) ? null : $this->populateResult__listOfVideoOverlayInputClipping($json['inputClippings']),
'TimecodeSource' => isset($json['timecodeSource']) ? (string) $json['timecodeSource'] : null,
Expand Down
8 changes: 8 additions & 0 deletions src/Service/MediaConvert/src/Result/ListJobsResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -1224,6 +1224,8 @@ private function populateResultH265Settings(array $json): H265Settings
'InterlaceMode' => isset($json['interlaceMode']) ? (string) $json['interlaceMode'] : null,
'MaxBitrate' => isset($json['maxBitrate']) ? (int) $json['maxBitrate'] : null,
'MinIInterval' => isset($json['minIInterval']) ? (int) $json['minIInterval'] : null,
'MvOverPictureBoundaries' => isset($json['mvOverPictureBoundaries']) ? (string) $json['mvOverPictureBoundaries'] : null,
'MvTemporalPredictor' => isset($json['mvTemporalPredictor']) ? (string) $json['mvTemporalPredictor'] : null,
'NumberBFramesBetweenReferenceFrames' => isset($json['numberBFramesBetweenReferenceFrames']) ? (int) $json['numberBFramesBetweenReferenceFrames'] : null,
'NumberReferenceFrames' => isset($json['numberReferenceFrames']) ? (int) $json['numberReferenceFrames'] : null,
'ParControl' => isset($json['parControl']) ? (string) $json['parControl'] : null,
Expand All @@ -1242,7 +1244,11 @@ private function populateResultH265Settings(array $json): H265Settings
'Telecine' => isset($json['telecine']) ? (string) $json['telecine'] : null,
'TemporalAdaptiveQuantization' => isset($json['temporalAdaptiveQuantization']) ? (string) $json['temporalAdaptiveQuantization'] : null,
'TemporalIds' => isset($json['temporalIds']) ? (string) $json['temporalIds'] : null,
'TileHeight' => isset($json['tileHeight']) ? (int) $json['tileHeight'] : null,
'TilePadding' => isset($json['tilePadding']) ? (string) $json['tilePadding'] : null,
'TileWidth' => isset($json['tileWidth']) ? (int) $json['tileWidth'] : null,
'Tiles' => isset($json['tiles']) ? (string) $json['tiles'] : null,
'TreeBlockSize' => isset($json['treeBlockSize']) ? (string) $json['treeBlockSize'] : null,
'UnregisteredSeiTimecode' => isset($json['unregisteredSeiTimecode']) ? (string) $json['unregisteredSeiTimecode'] : null,
'WriteMp4PackagingType' => isset($json['writeMp4PackagingType']) ? (string) $json['writeMp4PackagingType'] : null,
]);
Expand Down Expand Up @@ -1479,6 +1485,7 @@ private function populateResultInputVideoGenerator(array $json): InputVideoGener
'FramerateDenominator' => isset($json['framerateDenominator']) ? (int) $json['framerateDenominator'] : null,
'FramerateNumerator' => isset($json['framerateNumerator']) ? (int) $json['framerateNumerator'] : null,
'Height' => isset($json['height']) ? (int) $json['height'] : null,
'ImageInput' => isset($json['imageInput']) ? (string) $json['imageInput'] : null,
'SampleRate' => isset($json['sampleRate']) ? (int) $json['sampleRate'] : null,
'Width' => isset($json['width']) ? (int) $json['width'] : null,
]);
Expand Down Expand Up @@ -2326,6 +2333,7 @@ private function populateResultVideoOverlayCrop(array $json): VideoOverlayCrop
private function populateResultVideoOverlayInput(array $json): VideoOverlayInput
{
return new VideoOverlayInput([
'AudioSelectors' => !isset($json['audioSelectors']) ? null : $this->populateResult__mapOfAudioSelector($json['audioSelectors']),
'FileInput' => isset($json['fileInput']) ? (string) $json['fileInput'] : null,
'InputClippings' => !isset($json['inputClippings']) ? null : $this->populateResult__listOfVideoOverlayInputClipping($json['inputClippings']),
'TimecodeSource' => isset($json['timecodeSource']) ? (string) $json['timecodeSource'] : null,
Expand Down
8 changes: 6 additions & 2 deletions src/Service/MediaConvert/src/ValueObject/AudioSelector.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,12 @@ final class AudioSelector
private $customLanguageCode;

/**
* Enable this setting on one audio selector to set it as the default for the job. The service uses this default for
* outputs where it can't find the specified input audio. If you don't set a default, those outputs have no audio.
* Specify a fallback audio selector for this input. Use to ensure outputs have audio even when the audio selector you
* specify in your output is missing from the source. DEFAULT (Checked in the MediaConvert console): If your output
* settings specify an audio selector that does not exist in this input, MediaConvert uses this audio selector instead.
* This is useful when you have multiple inputs with a different number of audio tracks. NOT_DEFAULT (Unchecked in the
* MediaConvert console): MediaConvert will not fallback from any missing audio selector. Any output specifying a
* missing audio selector will be silent.
*
* @var AudioDefaultSelection::*|null
*/
Expand Down
Loading