Skip to main content

kX264EncoderRateControl

Electron APIs / recorder / kX264EncoderRateControl

type kX264EncoderRateControl = "CBR" | "ABR" | "VBR" | "CRF";

Specifies the available rate control modes for the x264 encoder.

Rate control modes determine how the encoder manages bitrate and quality over time. Each mode offers a different balance between output file size, quality, and encoding speed.

Example

const rateControl: kX264EncoderRateControl = "CRF";