Property ForceSquarePixels
ForceSquarePixels
Gets or initializes a value indicating whether to force square pixels in the output video streams.
Default is true.
Declaration
public bool ForceSquarePixels { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
When set to true, if the source video has non-square pixels (i.e., a sample aspect ratio different from 1:1), the frame will be rescaled to have square pixels.
When set to false, scaling the frame will preserve the original display aspect ratio by adjusting the pixel dimensions and sample aspect ratio accordingly.
Most photo viewers and web browsers expect images to have square pixels, so keeping this as true may improve compatibility.