Alchemist docs
Alchemist documentation

Find a page.

Type at least two characters.

    Docs menu

    Hardware

    CPU Encoding

    Software encoding with SVT-AV1, x265, and x264.

    Source revision aeebc48

    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.

    Authoritative source

    This page is generated from the editable Markdown in the Alchemist repository.

    View docs/content/hardware/cpu.md at aeebc48

    Documentation © Brooklyn Halmstad. Licensed under CC BY-SA 4.0.

    A Dead Signal Works project.