Tool
So you don’t have to guess “what RF should I use?”, choose a target quality (VMAF) and the tool reads the RF from data we measured ourselves and turns it into a preset file you can import into HandBrake. All processing happens only inside this browser.
1. Purpose (target VMAF)
A middle value for small screens or normal viewing distance. The target score is a reference value chosen by this tool; how it actually looks differs from video to video.
2. Resolution
Loading…
4. Preset version of your HandBrake
HandBrake may reject a preset file whose version doesn’t match. Export any preset from your HandBrake, paste the file below, and the tool reads VersionMajor, VersionMinor and VersionMicro near the end of the file. What you paste never leaves this browser.
The default 53·0·0 is an unverified example value. Reading the version from an exported file is safer.
In our CRF sweep measurement, we encoded four 10-second 1080p25 clips with x264 and x265 (preset medium) and SVT-AV1 (preset 6) at six CRF values each, and measured VMAF. For each clip, this tool reads the CRF that reaches the target VMAF by connecting the measured points, takes the lowest of those values (the most demanding clip), and rounds it down to an integer to use as the RF. That way the hardest clip still reaches the target, and the easier clips score higher than the target. HandBrake’s RF is known to be passed straight through to the encoder’s CRF for x264 and x265, so we read it on the same scale. The reasoning behind the conversion is in the HandBrake RF ↔ FFmpeg CRF conversion table.
The target VMAF values of 95, 90 and 80 are reference values chosen by this tool. To see how a score looks on an actual screen, read the VMAF Score Interpreter together with our measurement of VMAF worst frames.
The file contains only the container (MP4), the video encoder, the encoder speed preset, the Constant Quality value (RF) and, if you chose one, a maximum size. Audio, subtitles and filters are not written, so check for yourself that HandBrake’s defaults apply to them.
6. If your version doesn’t recognize it, pick the value on the slider yourself after importing.Download the presets for the same purpose in all three codecs, run the same video through each, and compare size and speed. If you want a different RF, use the RF in this file as a starting point and adjust from there. If you work on the command line, there is the FFmpeg Command Builder, and to see the CRF and file size for a target VMAF directly, there is the CRF Recommender.