You can call the AddCasterLayout or ModifyCasterLayout API operation to create or modify a layout. When you call the API operations, you can set parameters to specify a normalized width and height for each video layer. This way, you can scale video layers.
The following section describes the API operations and related parameters:
- API operations:
- AddCasterLayout: creates a layout in a production studio.
- ModifyCasterLayout: modifies a layout in a production studio.
- Parameters:
- HeightNormalized: the normalized height of the video layer. The width of the video
layer is proportionally scaled based on this parameter.
- The default value is 0, which indicates that the video layer is not scaled.
- Valid values: 0 to 1.
- WidthNormalized: the normalized width of the video layer. The height of the video
layer is proportionally scaled based on this parameter.
- The default value is 0, which indicates that the video layer is not scaled.
- Valid values: 0 to 1.
Note If you set both the normalized height and width, the video layer is scaled in the specified aspect ratio, which may not be proportional.
- HeightNormalized: the normalized height of the video layer. The width of the video
layer is proportionally scaled based on this parameter.