KnownVideoScaleMode enum
Known values of VideoScaleMode that the service accepts.
Fields
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 | 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 | Stretches the original video so it resized to the specified dimensions. |
Azure SDK for JavaScript