Skip to main content

CPU Encoding

CPU encoding is the fallback path when no supported GPU is available, and it is also the right choice when you want the best software quality and do not care about throughput.

Encoders

CodecEncoder
AV1SVT-AV1
HEVCx265
H.264x264

Presets

cpu_preset controls the software speed/quality tradeoff.

PresetEffect
slowBest compression, lowest throughput
mediumBalanced default
fastLower CPU time, larger output

Thread configuration

threads = 0 means automatic. Alchemist lets FFmpeg choose the thread count per job. Set a manual value only if you are tuning around a busy shared server or a known NUMA/core layout.

Performance expectations

These are reasonable 1080p expectations on modern CPUs:

CodecPresetExpected speed
AV1medium~0.5–1.5x realtime
HEVCmedium~1–3x realtime
H.264medium~3–8x realtime

When to use CPU

  • No supported GPU is present
  • Maximum software quality matters more than speed
  • The batch is small enough that wall-clock time does not matter

Thread allocation

CPU coresSuggested starting point
41 job, auto threads
81 job, auto threads or 2 jobs with care
162 jobs, auto threads
32+2-4 jobs, benchmark before going wider

Use Settings → Hardware to allow or disable CPU encoding.