Skip to main content

kVideoColorFormat

Electron APIs / recorder / kVideoColorFormat

type kVideoColorFormat =
| "NV12"
| "I420"
| "I444"
| "P010"
| "I010"
| "P216"
| "P416"
| "BGRA";

Supported video color formats used during video encoding or capture.

Each format defines how color and luminance information is represented in memory. Choice of format can affect performance, quality, and hardware compatibility.

Example

const colorFormat: kVideoColorFormat = "NV12";