Tool

CRF Recommender

Pick the quality you want (VMAF) and see the CRF and estimated file size for each codec. The values are interpolated from our own measurements, not general rules of thumb, and everything is processed inside this browser.

1. Target quality (VMAF)

VMAF scores how close a video looks to the original on a 0–100 scale. Higher means closer to the original, and a larger file. The measured range in our data differs by codec and clip, so anything outside it is shown as "outside measured range".

Calculated as the measured bitrate (kbps) times the length, for the video stream only. Audio is not included.

Loading…

Where do the values come from?

In our CRF size-vs-quality measurements, four 10-second 1080p25 clips were encoded with x264 and x265 (preset medium) and SVT-AV1 (preset 6) at six CRF levels each, and VMAF was measured. This tool connects those measured points and, for each clip, reads off the CRF that gives the VMAF you picked and the bitrate at that CRF. The measurement method and the raw data are in the lab article.

How to read it

  • Recommended CRF is the value for the most demanding clip among those where the target VMAF can be read (the one with the lowest CRF), rounded down to an integer. It is a conservative value, so an easy video can come out at higher quality than the target, and the file can be larger.
  • The per-clip table shows that, even for the same target, the CRF and bitrate differ a lot from clip to clip. Depending on whether your video has a lot of motion and texture (the demanding side) or is simple, use the nearest row in the table as a reference.
  • When comparing codecs, look at the bitrate at the same VMAF, not the CRF number. The CRF scale is different for each codec, so the numbers cannot be compared directly.
  • Estimated size is the bitrate multiplied by the length, for the video stream only. If you need an exact file size, use the Video File Size & Bitrate Calculator.

How to use it

Once you have picked a CRF, choose the same codec and quality target in the FFmpeg Command Builder to get a command with that CRF filled in. To check whether the recipient’s device plays HEVC or AV1, use the Codec Support Checker. If this is your first time, encode a short section with the recommended value and check it by eye; if it falls short, lower the CRF by 2–3 and run it again.

Limitations worth knowing

  • These are results from four 10-second clips, 1080p25 8-bit, on a single PC. Four clips cannot represent every video, so results may differ for video outside this range (for example, very dark or very noisy footage).
  • Changing the preset (for example slow or veryfast) changes the quality and file size at the same CRF. This tool does not estimate that difference.
  • The values between measured points are just straight-line interpolation (with bitrate on a log scale). Outside the measured range the tool does not extrapolate and shows "outside measured range" instead.
  • VMAF is a score that imitates the human eye, so it does not match how a video actually looks in every case. Even at the same score, the visible degradation can differ depending on the type of footage.
  • We did not measure changes in resolution or frame rate, or 10-bit and HDR.