Skip to main content

kX264EncoderTune

Electron APIs / recorder / kX264EncoderTune

type kX264EncoderTune =
| ""
| "film"
| "animation"
| "grain"
| "stillimage"
| "psnr"
| "ssim"
| "fastdecode"
| "zerolatency";

Specifies the tuning presets for the x264 encoder.

Tuning options help optimize the encoder's performance for specific types of content or use cases. These settings adjust internal compression behavior and rate-distortion tradeoffs.

Example

const tune: kX264EncoderTune = "animation";