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
SettingsOutput sizeVideo bitrateEncode timePSNRSSIM
libx264, 600 kbps average, scaled to 640x360Compared with: source scaled to 640:360569 KB583 kbps992 ms44.94 dB0.9959
libx264, CRF 32, preset veryfast847 KB868 kbps1.3 s37.02 dB0.9799
libx264, 1000 kbps average, scaled to 854x480Compared with: source scaled to 854:480968 KB991 kbps807 ms43.98 dB0.9947
libx264, 1000 kbps average, maxrate 1500k990 KB1013 kbps1.0 s37.82 dB0.9826
libx264, CRF 28, preset veryfast1.25 MB1309 kbps1.4 s39.00 dB0.9859
libx264, 2000 kbps average, maxrate 3000k1.92 MB2009 kbps1.5 s41.00 dB0.9911
libx264, CRF 23, preset veryfast2.47 MB2586 kbps1.5 s42.68 dB0.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

Benchmarks