Skip to content

Commit 98c8bf8

Browse files
author
awstools
committed
feat(client-medialive): Exposing TileMedia H265 options
1 parent 0d0eeef commit 98c8bf8

13 files changed

+432
-116
lines changed

clients/client-medialive/src/commands/CreateChannelCommand.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -833,6 +833,12 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
833833
* Position: "BOTTOM_CENTER" || "BOTTOM_LEFT" || "BOTTOM_RIGHT" || "MIDDLE_CENTER" || "MIDDLE_LEFT" || "MIDDLE_RIGHT" || "TOP_CENTER" || "TOP_LEFT" || "TOP_RIGHT", // required
834834
* Prefix: "STRING_VALUE",
835835
* },
836+
* MvOverPictureBoundaries: "DISABLED" || "ENABLED",
837+
* MvTemporalPredictor: "DISABLED" || "ENABLED",
838+
* TileHeight: Number("int"),
839+
* TilePadding: "NONE" || "PADDED",
840+
* TileWidth: Number("int"),
841+
* TreeblockSize: "AUTO" || "TREE_SIZE_32X32",
836842
* },
837843
* Mpeg2Settings: { // Mpeg2Settings
838844
* AdaptiveQuantization: "AUTO" || "HIGH" || "LOW" || "MEDIUM" || "OFF",
@@ -1853,6 +1859,12 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
18531859
* // Position: "BOTTOM_CENTER" || "BOTTOM_LEFT" || "BOTTOM_RIGHT" || "MIDDLE_CENTER" || "MIDDLE_LEFT" || "MIDDLE_RIGHT" || "TOP_CENTER" || "TOP_LEFT" || "TOP_RIGHT", // required
18541860
* // Prefix: "STRING_VALUE",
18551861
* // },
1862+
* // MvOverPictureBoundaries: "DISABLED" || "ENABLED",
1863+
* // MvTemporalPredictor: "DISABLED" || "ENABLED",
1864+
* // TileHeight: Number("int"),
1865+
* // TilePadding: "NONE" || "PADDED",
1866+
* // TileWidth: Number("int"),
1867+
* // TreeblockSize: "AUTO" || "TREE_SIZE_32X32",
18561868
* // },
18571869
* // Mpeg2Settings: { // Mpeg2Settings
18581870
* // AdaptiveQuantization: "AUTO" || "HIGH" || "LOW" || "MEDIUM" || "OFF",

clients/client-medialive/src/commands/DeleteChannelCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -844,6 +844,12 @@ export interface DeleteChannelCommandOutput extends DeleteChannelResponse, __Met
844844
* // Position: "BOTTOM_CENTER" || "BOTTOM_LEFT" || "BOTTOM_RIGHT" || "MIDDLE_CENTER" || "MIDDLE_LEFT" || "MIDDLE_RIGHT" || "TOP_CENTER" || "TOP_LEFT" || "TOP_RIGHT", // required
845845
* // Prefix: "STRING_VALUE",
846846
* // },
847+
* // MvOverPictureBoundaries: "DISABLED" || "ENABLED",
848+
* // MvTemporalPredictor: "DISABLED" || "ENABLED",
849+
* // TileHeight: Number("int"),
850+
* // TilePadding: "NONE" || "PADDED",
851+
* // TileWidth: Number("int"),
852+
* // TreeblockSize: "AUTO" || "TREE_SIZE_32X32",
847853
* // },
848854
* // Mpeg2Settings: { // Mpeg2Settings
849855
* // AdaptiveQuantization: "AUTO" || "HIGH" || "LOW" || "MEDIUM" || "OFF",

clients/client-medialive/src/commands/DescribeChannelCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -844,6 +844,12 @@ export interface DescribeChannelCommandOutput extends DescribeChannelResponse, _
844844
* // Position: "BOTTOM_CENTER" || "BOTTOM_LEFT" || "BOTTOM_RIGHT" || "MIDDLE_CENTER" || "MIDDLE_LEFT" || "MIDDLE_RIGHT" || "TOP_CENTER" || "TOP_LEFT" || "TOP_RIGHT", // required
845845
* // Prefix: "STRING_VALUE",
846846
* // },
847+
* // MvOverPictureBoundaries: "DISABLED" || "ENABLED",
848+
* // MvTemporalPredictor: "DISABLED" || "ENABLED",
849+
* // TileHeight: Number("int"),
850+
* // TilePadding: "NONE" || "PADDED",
851+
* // TileWidth: Number("int"),
852+
* // TreeblockSize: "AUTO" || "TREE_SIZE_32X32",
847853
* // },
848854
* // Mpeg2Settings: { // Mpeg2Settings
849855
* // AdaptiveQuantization: "AUTO" || "HIGH" || "LOW" || "MEDIUM" || "OFF",

clients/client-medialive/src/commands/DescribeThumbnailsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
88
import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
9-
import { DescribeThumbnailsRequest, DescribeThumbnailsResponse } from "../models/models_1";
9+
import { DescribeThumbnailsRequest, DescribeThumbnailsResponse } from "../models/models_2";
1010
import { de_DescribeThumbnailsCommand, se_DescribeThumbnailsCommand } from "../protocols/Aws_restJson1";
1111

1212
/**

clients/client-medialive/src/commands/RestartChannelPipelinesCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -847,6 +847,12 @@ export interface RestartChannelPipelinesCommandOutput extends RestartChannelPipe
847847
* // Position: "BOTTOM_CENTER" || "BOTTOM_LEFT" || "BOTTOM_RIGHT" || "MIDDLE_CENTER" || "MIDDLE_LEFT" || "MIDDLE_RIGHT" || "TOP_CENTER" || "TOP_LEFT" || "TOP_RIGHT", // required
848848
* // Prefix: "STRING_VALUE",
849849
* // },
850+
* // MvOverPictureBoundaries: "DISABLED" || "ENABLED",
851+
* // MvTemporalPredictor: "DISABLED" || "ENABLED",
852+
* // TileHeight: Number("int"),
853+
* // TilePadding: "NONE" || "PADDED",
854+
* // TileWidth: Number("int"),
855+
* // TreeblockSize: "AUTO" || "TREE_SIZE_32X32",
850856
* // },
851857
* // Mpeg2Settings: { // Mpeg2Settings
852858
* // AdaptiveQuantization: "AUTO" || "HIGH" || "LOW" || "MEDIUM" || "OFF",

clients/client-medialive/src/commands/StartChannelCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -844,6 +844,12 @@ export interface StartChannelCommandOutput extends StartChannelResponse, __Metad
844844
* // Position: "BOTTOM_CENTER" || "BOTTOM_LEFT" || "BOTTOM_RIGHT" || "MIDDLE_CENTER" || "MIDDLE_LEFT" || "MIDDLE_RIGHT" || "TOP_CENTER" || "TOP_LEFT" || "TOP_RIGHT", // required
845845
* // Prefix: "STRING_VALUE",
846846
* // },
847+
* // MvOverPictureBoundaries: "DISABLED" || "ENABLED",
848+
* // MvTemporalPredictor: "DISABLED" || "ENABLED",
849+
* // TileHeight: Number("int"),
850+
* // TilePadding: "NONE" || "PADDED",
851+
* // TileWidth: Number("int"),
852+
* // TreeblockSize: "AUTO" || "TREE_SIZE_32X32",
847853
* // },
848854
* // Mpeg2Settings: { // Mpeg2Settings
849855
* // AdaptiveQuantization: "AUTO" || "HIGH" || "LOW" || "MEDIUM" || "OFF",

clients/client-medialive/src/commands/StopChannelCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -844,6 +844,12 @@ export interface StopChannelCommandOutput extends StopChannelResponse, __Metadat
844844
* // Position: "BOTTOM_CENTER" || "BOTTOM_LEFT" || "BOTTOM_RIGHT" || "MIDDLE_CENTER" || "MIDDLE_LEFT" || "MIDDLE_RIGHT" || "TOP_CENTER" || "TOP_LEFT" || "TOP_RIGHT", // required
845845
* // Prefix: "STRING_VALUE",
846846
* // },
847+
* // MvOverPictureBoundaries: "DISABLED" || "ENABLED",
848+
* // MvTemporalPredictor: "DISABLED" || "ENABLED",
849+
* // TileHeight: Number("int"),
850+
* // TilePadding: "NONE" || "PADDED",
851+
* // TileWidth: Number("int"),
852+
* // TreeblockSize: "AUTO" || "TREE_SIZE_32X32",
847853
* // },
848854
* // Mpeg2Settings: { // Mpeg2Settings
849855
* // AdaptiveQuantization: "AUTO" || "HIGH" || "LOW" || "MEDIUM" || "OFF",

clients/client-medialive/src/commands/UpdateChannelClassCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -868,6 +868,12 @@ export interface UpdateChannelClassCommandOutput extends UpdateChannelClassRespo
868868
* // Position: "BOTTOM_CENTER" || "BOTTOM_LEFT" || "BOTTOM_RIGHT" || "MIDDLE_CENTER" || "MIDDLE_LEFT" || "MIDDLE_RIGHT" || "TOP_CENTER" || "TOP_LEFT" || "TOP_RIGHT", // required
869869
* // Prefix: "STRING_VALUE",
870870
* // },
871+
* // MvOverPictureBoundaries: "DISABLED" || "ENABLED",
872+
* // MvTemporalPredictor: "DISABLED" || "ENABLED",
873+
* // TileHeight: Number("int"),
874+
* // TilePadding: "NONE" || "PADDED",
875+
* // TileWidth: Number("int"),
876+
* // TreeblockSize: "AUTO" || "TREE_SIZE_32X32",
871877
* // },
872878
* // Mpeg2Settings: { // Mpeg2Settings
873879
* // AdaptiveQuantization: "AUTO" || "HIGH" || "LOW" || "MEDIUM" || "OFF",

clients/client-medialive/src/commands/UpdateChannelCommand.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -833,6 +833,12 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
833833
* Position: "BOTTOM_CENTER" || "BOTTOM_LEFT" || "BOTTOM_RIGHT" || "MIDDLE_CENTER" || "MIDDLE_LEFT" || "MIDDLE_RIGHT" || "TOP_CENTER" || "TOP_LEFT" || "TOP_RIGHT", // required
834834
* Prefix: "STRING_VALUE",
835835
* },
836+
* MvOverPictureBoundaries: "DISABLED" || "ENABLED",
837+
* MvTemporalPredictor: "DISABLED" || "ENABLED",
838+
* TileHeight: Number("int"),
839+
* TilePadding: "NONE" || "PADDED",
840+
* TileWidth: Number("int"),
841+
* TreeblockSize: "AUTO" || "TREE_SIZE_32X32",
836842
* },
837843
* Mpeg2Settings: { // Mpeg2Settings
838844
* AdaptiveQuantization: "AUTO" || "HIGH" || "LOW" || "MEDIUM" || "OFF",
@@ -1838,6 +1844,12 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
18381844
* // Position: "BOTTOM_CENTER" || "BOTTOM_LEFT" || "BOTTOM_RIGHT" || "MIDDLE_CENTER" || "MIDDLE_LEFT" || "MIDDLE_RIGHT" || "TOP_CENTER" || "TOP_LEFT" || "TOP_RIGHT", // required
18391845
* // Prefix: "STRING_VALUE",
18401846
* // },
1847+
* // MvOverPictureBoundaries: "DISABLED" || "ENABLED",
1848+
* // MvTemporalPredictor: "DISABLED" || "ENABLED",
1849+
* // TileHeight: Number("int"),
1850+
* // TilePadding: "NONE" || "PADDED",
1851+
* // TileWidth: Number("int"),
1852+
* // TreeblockSize: "AUTO" || "TREE_SIZE_32X32",
18411853
* // },
18421854
* // Mpeg2Settings: { // Mpeg2Settings
18431855
* // AdaptiveQuantization: "AUTO" || "HIGH" || "LOW" || "MEDIUM" || "OFF",

clients/client-medialive/src/models/models_1.ts

Lines changed: 100 additions & 111 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ import {
3838
InputClass,
3939
InputDestination,
4040
InputDestinationRequest,
41-
InputDeviceCodec,
42-
InputDeviceConfigurableAudioChannelPairConfig,
43-
InputDeviceConfiguredInput,
4441
InputDeviceConnectionState,
4542
InputDeviceHdSettings,
4643
InputDeviceNetworkSettings,
@@ -3527,6 +3524,35 @@ export const H265LookAheadRateControl = {
35273524
*/
35283525
export type H265LookAheadRateControl = (typeof H265LookAheadRateControl)[keyof typeof H265LookAheadRateControl];
35293526

3527+
/**
3528+
* @public
3529+
* @enum
3530+
*/
3531+
export const H265MvOverPictureBoundaries = {
3532+
DISABLED: "DISABLED",
3533+
ENABLED: "ENABLED",
3534+
} as const;
3535+
3536+
/**
3537+
* @public
3538+
*/
3539+
export type H265MvOverPictureBoundaries =
3540+
(typeof H265MvOverPictureBoundaries)[keyof typeof H265MvOverPictureBoundaries];
3541+
3542+
/**
3543+
* @public
3544+
* @enum
3545+
*/
3546+
export const H265MvTemporalPredictor = {
3547+
DISABLED: "DISABLED",
3548+
ENABLED: "ENABLED",
3549+
} as const;
3550+
3551+
/**
3552+
* @public
3553+
*/
3554+
export type H265MvTemporalPredictor = (typeof H265MvTemporalPredictor)[keyof typeof H265MvTemporalPredictor];
3555+
35303556
/**
35313557
* @public
35323558
* @enum
@@ -3598,6 +3624,20 @@ export const H265Tier = {
35983624
*/
35993625
export type H265Tier = (typeof H265Tier)[keyof typeof H265Tier];
36003626

3627+
/**
3628+
* @public
3629+
* @enum
3630+
*/
3631+
export const H265TilePadding = {
3632+
NONE: "NONE",
3633+
PADDED: "PADDED",
3634+
} as const;
3635+
3636+
/**
3637+
* @public
3638+
*/
3639+
export type H265TilePadding = (typeof H265TilePadding)[keyof typeof H265TilePadding];
3640+
36013641
/**
36023642
* @public
36033643
* @enum
@@ -3613,6 +3653,20 @@ export const H265TimecodeInsertionBehavior = {
36133653
export type H265TimecodeInsertionBehavior =
36143654
(typeof H265TimecodeInsertionBehavior)[keyof typeof H265TimecodeInsertionBehavior];
36153655

3656+
/**
3657+
* @public
3658+
* @enum
3659+
*/
3660+
export const H265TreeblockSize = {
3661+
AUTO: "AUTO",
3662+
TREE_SIZE_32X32: "TREE_SIZE_32X32",
3663+
} as const;
3664+
3665+
/**
3666+
* @public
3667+
*/
3668+
export type H265TreeblockSize = (typeof H265TreeblockSize)[keyof typeof H265TreeblockSize];
3669+
36163670
/**
36173671
* H265 Settings
36183672
* @public
@@ -3815,6 +3869,49 @@ export interface H265Settings {
38153869
* @public
38163870
*/
38173871
TimecodeBurninSettings?: TimecodeBurninSettings;
3872+
3873+
/**
3874+
* If you are setting up the picture as a tile, you must set this to "disabled". In all other configurations, you typically enter "enabled".
3875+
* @public
3876+
*/
3877+
MvOverPictureBoundaries?: H265MvOverPictureBoundaries;
3878+
3879+
/**
3880+
* If you are setting up the picture as a tile, you must set this to "disabled". In other configurations, you typically enter "enabled".
3881+
* @public
3882+
*/
3883+
MvTemporalPredictor?: H265MvTemporalPredictor;
3884+
3885+
/**
3886+
* Set this field to set up the picture as a tile. You must also set tileWidth.
3887+
* The tile height must result in 22 or fewer rows in the frame. The tile width
3888+
* must result in 20 or fewer columns in the frame. And finally, the product of the
3889+
* column count and row count must be 64 of less.
3890+
* If the tile width and height are specified, MediaLive will override the video
3891+
* codec slices field with a value that MediaLive calculates
3892+
* @public
3893+
*/
3894+
TileHeight?: number;
3895+
3896+
/**
3897+
* Set to "padded" to force MediaLive to add padding to the frame, to obtain a frame that is a whole multiple of the tile size.
3898+
* If you are setting up the picture as a tile, you must enter "padded".
3899+
* In all other configurations, you typically enter "none".
3900+
* @public
3901+
*/
3902+
TilePadding?: H265TilePadding;
3903+
3904+
/**
3905+
* Set this field to set up the picture as a tile. See tileHeight for more information.
3906+
* @public
3907+
*/
3908+
TileWidth?: number;
3909+
3910+
/**
3911+
* 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".
3912+
* @public
3913+
*/
3914+
TreeblockSize?: H265TreeblockSize;
38183915
}
38193916

38203917
/**
@@ -7724,114 +7821,6 @@ export interface DescribeScheduleResponse {
77247821
ScheduleActions?: ScheduleAction[];
77257822
}
77267823

7727-
/**
7728-
* Placeholder documentation for DescribeThumbnailsRequest
7729-
* @public
7730-
*/
7731-
export interface DescribeThumbnailsRequest {
7732-
/**
7733-
* Unique ID of the channel
7734-
* @public
7735-
*/
7736-
ChannelId: string | undefined;
7737-
7738-
/**
7739-
* Pipeline ID ("0" or "1")
7740-
* @public
7741-
*/
7742-
PipelineId: string | undefined;
7743-
7744-
/**
7745-
* thumbnail type
7746-
* @public
7747-
*/
7748-
ThumbnailType: string | undefined;
7749-
}
7750-
7751-
/**
7752-
* Placeholder documentation for DescribeThumbnailsResponse
7753-
* @public
7754-
*/
7755-
export interface DescribeThumbnailsResponse {
7756-
/**
7757-
* Placeholder documentation for __listOfThumbnailDetail
7758-
* @public
7759-
*/
7760-
ThumbnailDetails?: ThumbnailDetail[];
7761-
}
7762-
7763-
/**
7764-
* Parameters required to attach a MediaConnect flow to the device.
7765-
* @public
7766-
*/
7767-
export interface InputDeviceMediaConnectConfigurableSettings {
7768-
/**
7769-
* The ARN of the MediaConnect flow to attach this device to.
7770-
* @public
7771-
*/
7772-
FlowArn?: string;
7773-
7774-
/**
7775-
* The ARN for the role that MediaLive assumes to access the attached flow and secret. For more information about how to create this role, see the MediaLive user guide.
7776-
* @public
7777-
*/
7778-
RoleArn?: string;
7779-
7780-
/**
7781-
* The ARN for the secret that holds the encryption key to encrypt the content output by the device.
7782-
* @public
7783-
*/
7784-
SecretArn?: string;
7785-
7786-
/**
7787-
* The name of the MediaConnect Flow source to stream to.
7788-
* @public
7789-
*/
7790-
SourceName?: string;
7791-
}
7792-
7793-
/**
7794-
* Configurable settings for the input device.
7795-
* @public
7796-
*/
7797-
export interface InputDeviceConfigurableSettings {
7798-
/**
7799-
* The input source that you want to use. If the device has a source connected to only one of its input ports, or if you don't care which source the device sends, specify Auto. If the device has sources connected to both its input ports, and you want to use a specific source, specify the source.
7800-
* @public
7801-
*/
7802-
ConfiguredInput?: InputDeviceConfiguredInput;
7803-
7804-
/**
7805-
* The maximum bitrate in bits per second. Set a value here to throttle the bitrate of the source video.
7806-
* @public
7807-
*/
7808-
MaxBitrate?: number;
7809-
7810-
/**
7811-
* The Link device's buffer size (latency) in milliseconds (ms).
7812-
* @public
7813-
*/
7814-
LatencyMs?: number;
7815-
7816-
/**
7817-
* Choose the codec for the video that the device produces. Only UHD devices can specify this parameter.
7818-
* @public
7819-
*/
7820-
Codec?: InputDeviceCodec;
7821-
7822-
/**
7823-
* To attach this device to a MediaConnect flow, specify these parameters. To detach an existing flow, enter \{\} for the value of mediaconnectSettings. Only UHD devices can specify this parameter.
7824-
* @public
7825-
*/
7826-
MediaconnectSettings?: InputDeviceMediaConnectConfigurableSettings;
7827-
7828-
/**
7829-
* An array of eight audio configurations, one for each audio pair in the source. Set up each audio configuration either to exclude the pair, or to format it and include it in the output from the device. This parameter applies only to UHD devices, and only when the device is configured as the source for a MediaConnect flow. For an HD device, you configure the audio by setting up audio selectors in the channel configuration.
7830-
* @public
7831-
*/
7832-
AudioChannelPairs?: InputDeviceConfigurableAudioChannelPairConfig[];
7833-
}
7834-
78357824
/**
78367825
* @internal
78377826
*/

0 commit comments

Comments
 (0)