Enum VideoEditStretchMode
- Namespace
- VisioForge.Core.Types.VideoEdit
- Assembly
- VisioForge.Core.dll
Defines how video content is resized to fit the output dimensions in Video Edit SDK.
public enum VideoEditStretchModeFields
Stretch = 0-
Stretches the video to fill the target frame, potentially distorting the aspect ratio.
This mode ignores the original aspect ratio and forces the video to fit exactly into the destination dimensions. Circles may appear as ovals (squeezed or stretched).
Letterbox = 1-
Scales the video to fit within the target frame while maintaining the aspect ratio. Adds black bars (letterboxing/pillarboxing) to fill empty space.
This is the safest mode to preserve the entire video content without distortion. However, it may result in black borders on the top/bottom or left/right sides.
Crop = 2-
Scales the video to fill the target frame while maintaining the aspect ratio. Crops parts of the video that exceed the target dimensions.
This mode fills the entire screen without distortion but sacrifices some content at the edges. It is often used to make "full screen" content from different aspect ratios.