Benchmarks
Encoding benchmarks
Every number on this page was produced by a script in the repository, on a synthetic source, with the settings printed next to it. Re-run the harness and you should get comparable numbers on your own machine — not identical, because hardware differs.
Test environment
- Generated
- 2026-12-01
- Harness version
- 3
- FFmpeg
- N-92722-gf22fcd4483 Copyright (c) 2000-2018 the FFmpeg developers
- Platform
- win32 10.0.26300
- CPU
- 12th Gen Intel(R) Core(TM) i5-12450H
Results
Synthetic FFmpeg testsrc2 1280x720 30fps 8s with a 440 Hz sine track, generated locally on the machine that ran the harness.
H.264
.mp4| Settings | Output size | Video bitrate | Encode time | PSNR | SSIM |
|---|---|---|---|---|---|
| libx264, 600 kbps average, scaled to 640x360Compared with: source scaled to 640:360 | 569 KB | 583 kbps | 992 ms | 44.94 dB | 0.9959 |
| libx264, CRF 32, preset veryfast | 847 KB | 868 kbps | 1.3 s | 37.02 dB | 0.9799 |
| libx264, 1000 kbps average, scaled to 854x480Compared with: source scaled to 854:480 | 968 KB | 991 kbps | 807 ms | 43.98 dB | 0.9947 |
| libx264, 1000 kbps average, maxrate 1500k | 990 KB | 1013 kbps | 1.0 s | 37.82 dB | 0.9826 |
| libx264, CRF 28, preset veryfast | 1.25 MB | 1309 kbps | 1.4 s | 39.00 dB | 0.9859 |
| libx264, 2000 kbps average, maxrate 3000k | 1.92 MB | 2009 kbps | 1.5 s | 41.00 dB | 0.9911 |
| libx264, CRF 23, preset veryfast | 2.47 MB | 2586 kbps | 1.5 s | 42.68 dB | 0.9939 |
Rows measured against a scaled reference (for example the 480p row) are only comparable within their own group. The useful signal there is that the same bitrate buys more quality at a lower resolution — not that 44 dB beats 38 dB.
How these numbers were produced
- Test source
- Synthetic FFmpeg testsrc2 1280x720 30fps 8s with a 440 Hz sine track, generated locally on the machine that ran the harness.
- Comparison reference
- Each output is compared with the synthetic source directly, not with another encode.
- Measurement
- PSNR and SSIM come from the ffmpeg psnr/ssim filters. Encode time is wall-clock for a single run, including process start-up.
- Self-check gate
- Every codec must reproduce the source at >= 40 dB PSNR in a near-lossless probe before its numbers are published. Codecs that fail are listed under "excluded" with the measured value.
- Time budget
- Each encode is cut off after 90 s. A codec that cannot finish inside that window gets no row at all — an unusable result is not published, not even as a footnote.
- What these numbers do not tell you
- Desktop FFmpeg binary, single run, one machine, synthetic content. These numbers compare settings in this environment; they are not browser WASM timings and not a promise of quality or performance on other hardware or real footage.
Withheld codecs
A codec whose near-lossless probe cannot reproduce the source cannot be measured meaningfully. It is listed here instead of being given a misleading row. A codec that cannot even be encoded inside the time budget is not listed at all: it does not go on the shelf.
- VP9PSNR: 28.22 dB
Near-lossless probe scored 28.22 dB against the source (floor 40 dB). The decode or frame ordering of this codec in the local FFmpeg build is not reliable enough to compare settings, so its numbers are withheld.
-c:v libvpx-vp9 -lossless 1 -row-mt 1 -deadline good -cpu-used 4
- VP8PSNR: 28.21 dB
Near-lossless probe scored 28.21 dB against the source (floor 40 dB). The decode or frame ordering of this codec in the local FFmpeg build is not reliable enough to compare settings, so its numbers are withheld.
-c:v libvpx -crf 4 -b:v 0