# H264

> Encode video with the H.264 codec.

## Definition

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

```csharp
H264 = 1
```

### Remarks

The MPEG–4 Advanced Video Coding (AVC) video codec. This codec is supported by hardware on most platforms. For more information about video encoding, refer to Video encoding compatibility reference.
