Skip to main content

kAMDEncoderPreset

Electron APIs / recorder / kAMDEncoderPreset

type kAMDEncoderPreset = "quality" | "balanced" | "speed";

Specifies the encoding performance preset for AMD hardware encoders.

These presets control the balance between encoding speed and visual quality. Useful when tuning encoder behavior for different use cases such as streaming or local recording.

ValueDescription
'quality'Prioritizes the best possible image quality. May result in slower encoding speeds.
'balanced'Offers a tradeoff between quality and speed. Suitable for most general-purpose use cases.
'speed'Optimized for fastest encoding performance. May reduce image quality in favor of lower latency and CPU/GPU usage.

Example

const preset: kAMDEncoderPreset = "balanced";