How do I scale a video layer?

Updated at:

Scale video layers by setting the normalized width and height parameters when you call the AddCasterLayout or ModifyCasterLayout operation.

The following API operations and parameters apply:

  • API operations:
  • Parameters:
    • HeightNormalized: the normalized height of the video layer. The width is proportionally scaled based on this value.
      • The default value is 0, indicating that the video layer is not scaled.
      • Valid values: 0 to 1.
    • WidthNormalized: the normalized width of the video layer. The height is proportionally scaled based on this value.
      • The default value is 0, indicating 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 to the specified aspect ratio, which may not be proportional.