Skip to main content

kNVENCEncoderProfile264

Electron APIs / recorder / kNVENCEncoderProfile264

type kNVENCEncoderProfile264 = kNVENCEncoderProfile | "high" | "baseline";

Specifies the supported H.264 encoding profiles for NVIDIA's NVENC encoder.

These profiles determine the features used in encoding and the compatibility of the resulting stream or file. This type extends the base kNVENCEncoderProfile and includes commonly used H.264 profiles.

ValueDescription
kNVENCEncoderProfile ('main')Base set of encoder profiles (e.g., main). May include additional shared or AV1-specific variants.
'high'Supports the most advanced H.264 features. Recommended for high-definition video with better compression efficiency.
'baseline'Basic H.264 profile with minimal compression features. Best for low-latency and real-time video applications.

Example

const profile: kNVENCEncoderProfile264 = "high";

See

kNVENCEncoderProfile