# VideoEncodeAspectRatio

> Methods to compensate for aspect ratio discrepancies between the source resolution and the wanted encoding size.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor](/engine/6000.6/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public enum VideoEncodeAspectRatio
```

## Fields

| Value                                                                                        | Description                                                                           |
| -------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| [NoScaling](/engine/6000.6/script-reference/unityeditor/videoencodeaspectratio/noscaling.md) | Perform no operation.                                                                 |
| [Stretch](/engine/6000.6/script-reference/unityeditor/videoencodeaspectratio/stretch.md)     | Stretch the source to fill the target resolution without preserving the aspect ratio. |
