EncoderSettingsQuickSync264
Electron APIs / recorder / EncoderSettingsQuickSync264
Configuration settings for H.264 encoding using Intel Quick Sync.
Extends EncoderSettingsQuickSync with an optional H.264 profile setting.
See
EncoderSettingsQuickSync
Extends
Properties
| Property | Type | Description |
|---|---|---|
bframes? | number | Number of B-frames (bidirectional frames) used between reference frames. More B-frames can improve compression efficiency and video quality at the cost of increased latency and computational load. Default 3 |
bitrate? | number | Target encoding bitrate in kilobits per second (kbps). Default 8000 |
enhancements? | boolean | Enables Intel’s subjective video enhancements, such as visual quality optimization for perceived clarity. May slightly improve image quality under certain conditions. Default true |
keyint_sec? | number | Keyframe interval, in seconds. Defines how frequently a keyframe (I-frame) is inserted into the video stream. - 0 — Automatically selected by the encoder. - Recommended values: 2 for high quality/editability, 4 for reduced file size. - 1 — Suitable for short replays or splitting, but more CPU/GPU intensive. Balances quality, file size, and streaming performance. |
max_bitrate? | number | Maximum bitrate in kilobits per second (kbps). Caps the bitrate for encoders using variable bitrate modes (e.g., VBR). |
profile? | kNVENCEncoderProfile264 | Specifies the H.264 encoding profile to use. Determines compatibility and compression characteristics. Common profiles include: - 'baseline' — For low-complexity, real-time encoding. - 'main' — Balances quality and compression; widely supported. - 'high' — Offers the best compression efficiency and quality. Default 'high' See kQuickSyncEncoderProfile264 |
rate_control? | kQuickSyncEncoderRateControl | Rate control method to use for encoding. Determines how bitrate is managed during video encoding. Common options include 'CBR' (Constant Bitrate), 'VBR' (Variable Bitrate), 'CQP' (Constant Quantization Parameter), and 'ICQ'. Default 'CBR' See kQuickSyncEncoderRateControl |
target_usage? | kQuickSyncTargetUsage | Target usage or encoding preset that balances performance and quality. Ranges from 'TU1' (slowest, highest quality) to 'TU7' (fastest, lowest quality). Default 'TU4' — Balanced (Medium Quality) See kQuickSyncTargetUsage |
type | kSupportedEncodersTypes | The selected video encoder type. See kSupportedEncodersTypes |