Tool

ffmpeg Encoder Name Decoder

libx265, hevc_nvenc, hevc_amf, libsvtav1 and libaom-av1 are all names for ‘something that makes HEVC or AV1’, but they do different jobs. Enter a name and the tool explains what it is. Paste the output of ffmpeg -encoders and it sorts out which names your ffmpeg can call and which ones are likely to work on the devices in your PC. What you enter is processed only inside your browser.

Examples

A browser cannot tell which graphics card you have, so you pick it. For support by generation, use the GPU lookup tool below.

What you paste is not sent to a server. It is processed only inside this browser.

x265, HEVC, H.265 and libx265: what is what?

  • HEVC = H.265: two names for the same standard. A standard is the set of rules compressed video must follow, so these are the names on the file and playback side.
  • x265: the name of a software encoder (it runs on the CPU) that makes HEVC following those rules. libx265 is the name ffmpeg uses to call x265, so in a command you write -c:v libx265.
  • hevc_nvenc · hevc_amf · hevc_qsv: ffmpeg names that make the same HEVC with the dedicated circuits of NVIDIA, AMD and Intel graphics. hevc says ‘which codec’, and the part after the underscore says ‘with what’. AV1 follows the same pattern, as in av1_nvenc and av1_amf.
  • libsvtav1 · libaom-av1: two different implementations (SVT-AV1 and libaom) that make AV1 on the CPU. Both produce AV1 files, but speed and file size differ.
  • Whichever encoder makes it, the result is a file of the same standard, so a player can open it without telling them apart (as long as the device supports that profile and level). What changes with the name is the file size needed for the same quality, the encoding speed, and whether it works on your PC. The names for H.264 are covered in the H.264, x264, NVENC and AMF name guide (Korean).

Whether it works on your PC comes down to two steps

  1. Is the name in your ffmpeg build? The name has to appear in the list from ffmpeg -hide_banner -encoders. Even for the same ffmpeg, the encoders included differ from build to build. In PowerShell you can filter with something like ffmpeg -hide_banner -encoders | Select-String "265|hevc|av1". If you paste the whole list into the box above, this tool reads the lines.
  2. (Hardware names only) Do the device and driver match? Even if hevc_amf is in the list, actual encoding is known not to start when there is no AMD graphics or the driver does not fit. This tool cannot inspect your device, so it only flags a mismatch between the device type you picked and the family of the name, and leaves the rest to the short test encode command on each card. I have not run that command myself to verify it. If an encoder error comes up, paste the log into the ffmpeg error log explainer.

Software names (lib…) have nothing to do with your graphics card; they only need to be in your build. Whether a given device generation can do HEVC and AV1 hardware encoding is covered separately by the GPU hardware codec lookup.

How much file size and speed differ by name: what we measured

The numbers on the cards above are computed from the CSV (iso-time-codec-showdown-v1.csv) of the fast-settings codec showdown measurement. For each clip, the file size (kbps) and CPU time (utime) are interpolated between the two measured points on either side of VMAF 90, and the ratio to the same clip's x264 -preset slow value is given as the minimum to maximum across the 4 clips. Interpolated values are estimates, not measurements.

ffmpeg nameSetting measuredFile size (x264 slow = 1)CPU time (x264 slow = 1)
libx264-preset slowBaselineBaseline
libx265-preset fast0.74~1.03x0.86~1.20x
libsvtav1-preset 100.70~0.80x0.15~0.39x
libaom-av1-cpu-used 80.42~0.65x2.67~4.24x
hevc_nvenc, hevc_amf, av1_nvenc, etc.Not measured. This site has no file size, quality or speed numbers for hardware encoders.
  • libx265 fast came out at 0.74~1.03x the file size of x264 slow at the same VMAF 90, and its CPU time was 0.86~1.20x. That means HEVC is not ‘always half’; the result has a range depending on the clip.
  • AV1 splits even within the same family of names. libsvtav1 -preset 10 gave a file size of 0.70~0.80x with CPU time 0.15~0.39x, and libaom-av1 -cpu-used 8 gave a file size of 0.42~0.65x with CPU time 2.67~4.24x. Even for the same AV1 file, which name you use changes the trade-off between time and file size.
  • CRF values cannot be carried over between names. In the same experiment, x264 used CRF 22~40 and SVT-AV1 and libaom used 30~58, and the same number did not mean the same quality. When you switch names, pick the value again with the CRF recommender or the HandBrake RF to ffmpeg CRF conversion.

Measurement conditions

  • FFmpeg 9.0.2 (gyan.dev full_build), one AMD Ryzen 5 PRO 4650G (6 cores, 12 threads), worker process priority IDLE, and quality measured as the frame-average VMAF of the libvmaf default model (a 0 to 100 score created by Netflix).
  • Input: four 1080p25 10-second (250-frame) clips, 8-bit (blue_sky, pedestrian_area, riverbed, rush_hour). They are videos from TUM / Taurus Media Technik, downloaded from the Xiph.org derf collection, which states there are no usage restrictions (source and date checked are in the measurement article).
  • Command shapes: -c:v libx264 -preset slow -crf Q, -c:v libx265 -preset fast -crf Q, -c:v libsvtav1 -preset 10 -crf Q, -c:v libaom-av1 -cpu-used 8 -crf Q -b:v 0 (for the exact values, see the measurement article).

How to use the result

  • If you got Unknown encoder: that name is not in your build. Paste -encoders into the box above to see which names are there, and if it is missing, switch to a build that includes that library. For choosing a build, see the Windows FFmpeg install guide (Korean), and for checking a download, see the ffmpeg download verifier.
  • If file size is the goal, the software names are the ones measured on this site. As the table above shows, spending more time moves toward smaller files, and you should compare at the same VMAF, not the same CRF. The codec switch file size predictor and the encode time estimator use the same measurements.
  • If the goal is to reduce CPU load (recording, streaming), hardware names are known to be candidates, but this site has not been able to measure their file size or quality. Once you have a candidate name, run it side by side with a software encoder on the same clip and compare file size and quality yourself (quality compare slider).
  • Once you have picked a name, build the command with the FFmpeg command builder, and if you are curious what an existing command means, paste it into the command explainer.

Limits worth knowing

  • The name table has only 21 names. For a name that is not in the table, the tool only tells you how to read its shape and does not assert the codec or the device it needs. Names and options can change with the ffmpeg version.
  • ‘The device matches’ is not a guarantee that it works. It only compares, by rule, whether the device type you picked fits the name's family. It cannot check the combination of graphics card generation, driver and ffmpeg build, and AV1 hardware encoding is known to exist only on relatively recent generations. Hardware encoders have never been measured, and I have not run the test command above to verify it.
  • The numbers are for narrow conditions. They come from four 10-second clips, 8-bit, 1080p25, one PC, IDLE priority and a single run, and the CPU time ratios are interpolated estimates. Pick a different setting (preset) and the ratios change, and with a different kind of video you may get values outside the range.
  • Build availability reads only the list you paste. If the list is truncated or output from a different ffmpeg is mixed in, it can be wrong. Decoder, filter and output format support are not checked. The same input always gives the same result, and no AI or external server is used.