|
155 | 155 | use AsyncAws\MediaConvert\ValueObject\VideoCodecSettings;
|
156 | 156 | use AsyncAws\MediaConvert\ValueObject\VideoDescription;
|
157 | 157 | use AsyncAws\MediaConvert\ValueObject\VideoDetail;
|
| 158 | +use AsyncAws\MediaConvert\ValueObject\VideoOverlay; |
| 159 | +use AsyncAws\MediaConvert\ValueObject\VideoOverlayInput; |
| 160 | +use AsyncAws\MediaConvert\ValueObject\VideoOverlayInputClipping; |
158 | 161 | use AsyncAws\MediaConvert\ValueObject\VideoPreprocessor;
|
159 | 162 | use AsyncAws\MediaConvert\ValueObject\VideoSelector;
|
160 | 163 | use AsyncAws\MediaConvert\ValueObject\VorbisSettings;
|
@@ -989,6 +992,7 @@ private function populateResultH264Settings(array $json): H264Settings
|
989 | 992 | 'CodecLevel' => isset($json['codecLevel']) ? (string) $json['codecLevel'] : null,
|
990 | 993 | 'CodecProfile' => isset($json['codecProfile']) ? (string) $json['codecProfile'] : null,
|
991 | 994 | 'DynamicSubGop' => isset($json['dynamicSubGop']) ? (string) $json['dynamicSubGop'] : null,
|
| 995 | + 'EndOfStreamMarkers' => isset($json['endOfStreamMarkers']) ? (string) $json['endOfStreamMarkers'] : null, |
992 | 996 | 'EntropyEncoding' => isset($json['entropyEncoding']) ? (string) $json['entropyEncoding'] : null,
|
993 | 997 | 'FieldEncoding' => isset($json['fieldEncoding']) ? (string) $json['fieldEncoding'] : null,
|
994 | 998 | 'FlickerAdaptiveQuantization' => isset($json['flickerAdaptiveQuantization']) ? (string) $json['flickerAdaptiveQuantization'] : null,
|
@@ -1047,6 +1051,7 @@ private function populateResultH265Settings(array $json): H265Settings
|
1047 | 1051 | 'CodecLevel' => isset($json['codecLevel']) ? (string) $json['codecLevel'] : null,
|
1048 | 1052 | 'CodecProfile' => isset($json['codecProfile']) ? (string) $json['codecProfile'] : null,
|
1049 | 1053 | 'DynamicSubGop' => isset($json['dynamicSubGop']) ? (string) $json['dynamicSubGop'] : null,
|
| 1054 | + 'EndOfStreamMarkers' => isset($json['endOfStreamMarkers']) ? (string) $json['endOfStreamMarkers'] : null, |
1050 | 1055 | 'FlickerAdaptiveQuantization' => isset($json['flickerAdaptiveQuantization']) ? (string) $json['flickerAdaptiveQuantization'] : null,
|
1051 | 1056 | 'FramerateControl' => isset($json['framerateControl']) ? (string) $json['framerateControl'] : null,
|
1052 | 1057 | 'FramerateConversionAlgorithm' => isset($json['framerateConversionAlgorithm']) ? (string) $json['framerateConversionAlgorithm'] : null,
|
@@ -1273,6 +1278,7 @@ private function populateResultInput(array $json): Input
|
1273 | 1278 | 'TimecodeSource' => isset($json['timecodeSource']) ? (string) $json['timecodeSource'] : null,
|
1274 | 1279 | 'TimecodeStart' => isset($json['timecodeStart']) ? (string) $json['timecodeStart'] : null,
|
1275 | 1280 | 'VideoGenerator' => empty($json['videoGenerator']) ? null : $this->populateResultInputVideoGenerator($json['videoGenerator']),
|
| 1281 | + 'VideoOverlays' => !isset($json['videoOverlays']) ? null : $this->populateResult__listOfVideoOverlay($json['videoOverlays']), |
1276 | 1282 | 'VideoSelector' => empty($json['videoSelector']) ? null : $this->populateResultVideoSelector($json['videoSelector']),
|
1277 | 1283 | ]);
|
1278 | 1284 | }
|
@@ -1367,7 +1373,6 @@ private function populateResultJobSettings(array $json): JobSettings
|
1367 | 1373 | 'AvailBlanking' => empty($json['availBlanking']) ? null : $this->populateResultAvailBlanking($json['availBlanking']),
|
1368 | 1374 | 'Esam' => empty($json['esam']) ? null : $this->populateResultEsamSettings($json['esam']),
|
1369 | 1375 | 'ExtendedDataServices' => empty($json['extendedDataServices']) ? null : $this->populateResultExtendedDataServices($json['extendedDataServices']),
|
1370 |
| - 'FollowInputIndex' => isset($json['followInputIndex']) ? (int) $json['followInputIndex'] : null, |
1371 | 1376 | 'Inputs' => !isset($json['inputs']) ? null : $this->populateResult__listOfInput($json['inputs']),
|
1372 | 1377 | 'KantarWatermark' => empty($json['kantarWatermark']) ? null : $this->populateResultKantarWatermarkSettings($json['kantarWatermark']),
|
1373 | 1378 | 'MotionImageInserter' => empty($json['motionImageInserter']) ? null : $this->populateResultMotionImageInserter($json['motionImageInserter']),
|
@@ -2066,6 +2071,33 @@ private function populateResultVideoDetail(array $json): VideoDetail
|
2066 | 2071 | ]);
|
2067 | 2072 | }
|
2068 | 2073 |
|
| 2074 | + private function populateResultVideoOverlay(array $json): VideoOverlay |
| 2075 | + { |
| 2076 | + return new VideoOverlay([ |
| 2077 | + 'EndTimecode' => isset($json['endTimecode']) ? (string) $json['endTimecode'] : null, |
| 2078 | + 'Input' => empty($json['input']) ? null : $this->populateResultVideoOverlayInput($json['input']), |
| 2079 | + 'StartTimecode' => isset($json['startTimecode']) ? (string) $json['startTimecode'] : null, |
| 2080 | + ]); |
| 2081 | + } |
| 2082 | + |
| 2083 | + private function populateResultVideoOverlayInput(array $json): VideoOverlayInput |
| 2084 | + { |
| 2085 | + return new VideoOverlayInput([ |
| 2086 | + 'FileInput' => isset($json['fileInput']) ? (string) $json['fileInput'] : null, |
| 2087 | + 'InputClippings' => !isset($json['inputClippings']) ? null : $this->populateResult__listOfVideoOverlayInputClipping($json['inputClippings']), |
| 2088 | + 'TimecodeSource' => isset($json['timecodeSource']) ? (string) $json['timecodeSource'] : null, |
| 2089 | + 'TimecodeStart' => isset($json['timecodeStart']) ? (string) $json['timecodeStart'] : null, |
| 2090 | + ]); |
| 2091 | + } |
| 2092 | + |
| 2093 | + private function populateResultVideoOverlayInputClipping(array $json): VideoOverlayInputClipping |
| 2094 | + { |
| 2095 | + return new VideoOverlayInputClipping([ |
| 2096 | + 'EndTimecode' => isset($json['endTimecode']) ? (string) $json['endTimecode'] : null, |
| 2097 | + 'StartTimecode' => isset($json['startTimecode']) ? (string) $json['startTimecode'] : null, |
| 2098 | + ]); |
| 2099 | + } |
| 2100 | + |
2069 | 2101 | private function populateResultVideoPreprocessor(array $json): VideoPreprocessor
|
2070 | 2102 | {
|
2071 | 2103 | return new VideoPreprocessor([
|
@@ -2555,6 +2587,32 @@ private function populateResult__listOfTeletextPageType(array $json): array
|
2555 | 2587 | return $items;
|
2556 | 2588 | }
|
2557 | 2589 |
|
| 2590 | + /** |
| 2591 | + * @return VideoOverlay[] |
| 2592 | + */ |
| 2593 | + private function populateResult__listOfVideoOverlay(array $json): array |
| 2594 | + { |
| 2595 | + $items = []; |
| 2596 | + foreach ($json as $item) { |
| 2597 | + $items[] = $this->populateResultVideoOverlay($item); |
| 2598 | + } |
| 2599 | + |
| 2600 | + return $items; |
| 2601 | + } |
| 2602 | + |
| 2603 | + /** |
| 2604 | + * @return VideoOverlayInputClipping[] |
| 2605 | + */ |
| 2606 | + private function populateResult__listOfVideoOverlayInputClipping(array $json): array |
| 2607 | + { |
| 2608 | + $items = []; |
| 2609 | + foreach ($json as $item) { |
| 2610 | + $items[] = $this->populateResultVideoOverlayInputClipping($item); |
| 2611 | + } |
| 2612 | + |
| 2613 | + return $items; |
| 2614 | + } |
| 2615 | + |
2558 | 2616 | /**
|
2559 | 2617 | * @return WarningGroup[]
|
2560 | 2618 | */
|
|
0 commit comments