EncoderSettingsQuickSync
Electron APIs / recorder / EncoderSettingsQuickSync
Configuration settings for Intel Quick Sync video encoding.
Extends VideoEncoderSettingsBase with Intel-specific options for tuning encoding quality, rate control, and performance characteristics.
See
VideoEncoderSettingsBase
Extends
Extended by
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). |
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 |