HEVC Encoding Settings Guide
Pick your use case and get the exact FFmpeg x265 command with recommended settings. CRF, preset, bitrate, HDR, hardware acceleration - explained and pre-configured for your workflow.
Build your FFmpeg x265 command
Slower presets = better compression at same quality, but longer encoding time.
Copy the command above and paste it into the editable command box in X HEVC Encoder - a free Windows app that runs FFmpeg with a GUI. No terminal needed.
CRF, preset and profile explained
CRF (Constant Rate Factor)
CRF controls quality vs file size. Lower = better quality and larger file. x265 CRF ranges from 0 (lossless) to 51 (worst quality).
x265 CRF 24 produces roughly the same visual quality as x264 CRF 19 at half the file size.
Preset
Preset controls encoding speed vs compression efficiency at the same CRF value. Slower presets compress better (smaller file) but take longer.
For most encodes, slow or medium is the right choice. veryslow gives diminishing returns on encode time.
Profile
Profile determines the bitdepth and feature set of the output.
Even for SDR content, 10-bit (main10) can reduce banding artifacts. The trade-off is slightly lower hardware decode compatibility on older devices.
Common questions
What CRF value should I use for HEVC?
What is the difference between CRF and bitrate encoding?
Should I use hardware encoding (NVENC/AMF) or software (x265)?
How do I install FFmpeg on Windows?
ffmpeg -version to verify it works. Alternatively, X Audio Converter (available at xcodecpack.com/audio-converter/) bundles FFmpeg and handles audio conversion without any command line.