Tool

HandBrake RF to FFmpeg CRF and SVT-AV1 Conversion Chart

Enter a HandBrake Constant Quality (RF) value and the tool shows the CRF that gives the same VMAF in the other codecs, along with the file size ratio. These are not general rules of thumb but values read from data we measured ourselves, and all processing happens inside this browser.

1. HandBrake video encoder

HandBrake's RF is known to be passed straight through as the CRF value for x264 and x265 (as described in the HandBrake documentation). SVT-AV1 is also said to use the same scale, but the comparison below uses values measured with FFmpeg's libsvtav1 CRF.

Loading…

Where do the numbers come from?

In our CRF size and quality measurements, we encoded four 10-second 1080p25 clips with x264 and x265 (preset medium) and SVT-AV1 (preset 6) at six CRF levels each, and measured VMAF. The tool reads the VMAF at your RF by connecting those measured points, then reads, clip by clip, the CRF and bitrate at which another codec reaches the same VMAF. The measurement method, FFmpeg version and clip sources are in the lab article.

Are RF and CRF the same number?

HandBrake's RF (Rate Factor) is known to be passed straight through to the encoder's CRF for x264 and x265. So x264 at RF 24 in HandBrake and -crf 24 with x264 in FFmpeg are on the same scale. Even so, the same number does not guarantee the same result. If HandBrake's encoder preset (Fast, Medium and so on) and its tune and profile settings differ from your FFmpeg settings, quality and file size will differ at the same CRF. These measurements use FFmpeg's x264 and x265 medium and SVT-AV1 preset 6, so using a different speed preset in HandBrake can introduce error.

How to read the results

  • The first table shows the VMAF and bitrate our clips reached at the RF you entered. The values differ a lot from clip to clip, which means the same RF gives different quality depending on the content of the video.
  • The CRF at the same VMAF is on a different scale for each codec, so don't compare the numbers themselves. Read it as a conversion: "using about this number in this codec gives similar quality."
  • The size ratio is the bitrate relative to the original codec at the same VMAF. Below 1 means smaller, above 1 means larger. The ratio differs from clip to clip, so it is shown as a range.
  • If the RF is outside the measured range (x264 20–40, x265 22–42, SVT-AV1 30–60), or the target codec has no measurement covering that VMAF, the tool shows "Outside the measured range" and does not extrapolate.

How to use it

If you already have an RF in HandBrake that you're happy with, convert it here and use the result as a starting point when moving to FFmpeg or another codec. For a concrete FFmpeg command, use the FFmpeg Command Builder; to work backward from a target VMAF to a CRF, use the CRF Recommender. If you want to know the file size when re-encoding a whole file with a different codec, see the Re-encode Size Predictor as well. If you use SVT-AV1 in HandBrake, the surest check is to look at the actual encoder options printed in the Activity Log and confirm that the CRF value matches the RF.

Limitations worth knowing

  • These are results from four 10-second clips, 1080p25 8-bit, on a single PC. Four clips can't represent all video.
  • The measurements were made with FFmpeg, not by encoding directly with HandBrake and comparing. We did not measure the encoder speed settings behind HandBrake's preset names (such as Fast 1080p30).
  • Values between measured points are simply connected with straight lines (bitrate on a log scale), and fractional RF values are read the same way.
  • VMAF is a score that imitates the human eye, so it does not match how every video actually looks.
  • We did not measure changes to resolution or frame rate, 10-bit or HDR, or cases where HandBrake filters (deinterlacing, denoising and so on) are turned on.