Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration KnownVideoScaleMode

Package version

Known values of VideoScaleMode that the service accepts.

Index

Enumeration members

Enumeration members

Pad

Pad: = "Pad"

Pads the video with black horizontal stripes (letterbox) or black vertical stripes (pillar-box) so the video is resized to the specified dimensions while not altering the content aspect ratio.

PreserveAspectRatio

PreserveAspectRatio: = "PreserveAspectRatio"

Preserves the same aspect ratio as the input video. If only one video dimension is provided, the second dimension is calculated based on the input video aspect ratio. When 2 dimensions are provided, the video is resized to fit the most constraining dimension, considering the input video size and aspect ratio.

Stretch

Stretch: = "Stretch"

Stretches the original video so it resized to the specified dimensions.

Generated using TypeDoc