实验数据

编码实验数据

本页每个数字都由仓库里的脚本生成,使用合成的测试素材,并把参数直接印在旁边。你可以重跑脚本,在自己的机器上得到同量级的结果——不会完全一致,因为硬件不同。

测试环境

生成日期
2026-12-01
脚本版本
3
FFmpeg
N-92722-gf22fcd4483 Copyright (c) 2000-2018 the FFmpeg developers
平台
win32 10.0.26300
CPU
12th Gen Intel(R) Core(TM) i5-12450H

实测结果

Synthetic FFmpeg testsrc2 1280x720 30fps 8s with a 440 Hz sine track, generated locally on the machine that ran the harness.

H.264

.mp4
参数输出体积视频码率编码耗时PSNRSSIM
libx264, 600 kbps average, scaled to 640x360对比对象: 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 854x480对比对象: 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

标注为缩放基准的行(例如 480p 那一行)只能在同一分组内比较。它真正说明的是:同样码率下降低分辨率能换来更高画质,而不是“44dB 优于 38dB”。

这些数字是怎么来的

测试素材
Synthetic FFmpeg testsrc2 1280x720 30fps 8s with a 440 Hz sine track, generated locally on the machine that ran the harness.
对比基准
Each output is compared with the synthetic source directly, not with another encode.
测量方式
PSNR and SSIM come from the ffmpeg psnr/ssim filters. Encode time is wall-clock for a single run, including process start-up.
自检闸门
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.
时间预算
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.
这些数字不能说明什么
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.

未发布的编码器

近无损自检还原不了源素材的编码器,测出来的数据没有意义,因此在这里写明原因,而不是给一行好看的数字。连时间预算内都编码不完的,则完全不出现:不可用的东西不上架。

  • 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

实验数据