H264 Encoder Showdown: Which one is the best?

Almost three years have passed since I did my original full hardware encoder showdown, and the field has changed drastically since then. NVIDIA brought out the Turing and Ampere architecture, AMD finally designed a useful GPU architecture, and even Intel is entering the market now. Finally no longer a Red vs Green battle, but a Red vs Green vs Blue - the full RGB experience! But also due to that, my data is now well beyond outdated, and its time to refresh.

Unfortunately for me, sourcing hardware for testing purposes right now is near impossible at reasonable prices, so I had to opt for unusual methods to acquire it. Instead of buying a dedicated AMD GPU - which would have been very expensive - I instead opted for a Laptop with Dual-AMD Graphics and an AMD CPU. The latter to fulfill my daily usage needs (compiling software), the former to fulfill testing conditions for video encoding. In any case, it was two flies with one stone - or however that saying goes - and I had what I needed.

So, as it is usual, I drank my coffee as my automated script did what I told it to do. Then I fixed the automated script to actually do what I thought it did, and repeated this charade twice more because it's obviously fun, and I definitely did not forget to put an "s" at the end of a variable reference - twice. Without any further interruptions, here are a few hundred video examples for your watching pleasure.

⚠️ This Article is outdated! ⚠️

I've written this article during a time where all three hardware vendors were still developing their drivers. Intel, AMD and NVIDIA drivers have changed since then and fixed or implemented many things that were missing at the time of writing. As I no longer have the hardware to test everything, perhaps EposVox will re-run these tests on newer hardware.

Update 2022-01-11: Added x264 veryfast files and newly discovered AMF settings that drastically improve quality.

ARMA 3: Altis - Driving

ARMA 3: Altis - Walk Through Foliage

GRIP Combat Racing #001

GRIP Combat Racing #002

Results

I'm glad I switched to a useful Software for making websites, otherwise adding this many videos would have taken more than a week to do. I've ran every video through VMAF, SSIM and PSNR - which took a long while, but that's why I have multiple computers - and then combined all the data. While SSIM was usually an outlier, overall it did not deviate much from PSNR or VMAF.

Unfortunately I no longer have all the hardware available, so some of the results are based on extrapolated data - which might paint it in a much nicer light than it really is, or a much worse light. Additionally, I have not uploaded a few files in order to save on space on the CDN machine. Space is expensive, and sadly I can't yet just grow money - no matter how much the Cryptocurrency people believe it is possible to do that. In any case, here is the placement for each H264 encoder, rated by PSNR, SSIM and VMAF:

  1. x264 placebo (Hidden)
    x264 veryslow (Hidden)
  2. x264 slower (Hidden)
  3. x264 slow (Hidden)
  4. NVIDIA NVENC Turing/Ampere
  5. x264 medium
  6. x264 fast (Hidden)
    x264 faster (Hidden)
  7. x264 veryfast
    NVIDIA NVENC Pascal (Estimated from previous Test Run)
    AMD AMF RDNA2 (HQ)
  8. AMD AMF RDNA2 (HQ+MB)
  9. AMD AMF GCN3 and GCN3 (Estimated from previous Test Run)
  10. x264 superfast (Hidden)
  11. AMD AMF RDNA2
  12. AMD AMF GCN5 (Vega)
  13. AMD AMF GCN3.4 and GCN4 (Polaris) (Estimated from previous Test Run)
  14. AMD AMF GCN2 (Estimated from previous Test Run)
  15. AMD AMF GCN1 (Estimated from previous Test Run)
  16. x264 ultrafast (Hidden)

As expected, x264's presets are all a quality step higher than the next faster one - except for placebo, which had no room to shine here. The "new" NVIDIA Turing/Ampere NVENC also proves its place by winning just enough comparisons to sit between slow and medium. AMD also appears to finally have moved some heads around and improved their encoder. Perhaps over the next year, AMD, NVIDIA and Intel will invade the hardware encoder scene with new and exciting things.

Anyway, with my piece said, and tons of videos here, I will say goodbye and leave you with this wall of videos to scout through.

Comments for: H264 Encoder Showdown: Which one is the best?