diff --git a/crates/ec-av1/src/speed.rs b/crates/ec-av1/src/speed.rs index 98c2352d..e05cfdaa 100644 --- a/crates/ec-av1/src/speed.rs +++ b/crates/ec-av1/src/speed.rs @@ -50,12 +50,44 @@ //! bars-fixture sweeps rated cheap -- is the most expensive thing to lose, so //! it only goes at speed 9. MEASURED end to end on the same row: //! -//! | preset | BD vs libaom / rav1e | rel. wall | 640x384 ec-bench fps | -//! |---|---|---|---| -//! | 0 | +53.2 / +23.4 | 1.00 | 6.8 | -//! | 3 | +55.1 / +24.7 | 0.47 | 9.3 | -//! | 6 | +60.9 / +29.1 | 0.32 | 14.2 | -//! | 10 | +158.8 / +104.9 | 0.14 | 16.2 | +//! # The presets, measured (native gate, one arm at a time, box under other +//! lanes at load 9-48 -- read the wall column against the rav1e anchor in the +//! SAME arm, not across arms) +//! +//! | preset | film A BD vs libaom / rav1e | screen BD vs libaom / rav1e | film ladder wall ours:libaom:rav1e | 1080p 4x2/8 fps | 3840x1608 4x2/8 fps | +//! |---|---|---|---|---|---| +//! | 0 | +53.2 / +23.4 | +49.3 / -16.0 | 102.9 : 19.6 : 25.0 | 1.32 | 0.50 | +//! | 3 | +55.1 / +24.7 | +54.3 / -13.2 | 63.3 : 16.3 : 23.5 | 1.60 | 0.72 | +//! | 6 | +60.9 / +29.1 | +57.7 / -11.7 | 41.3 : 16.0 : 23.4 | 1.83 | 1.50 | +//! | 10 | +158.8 / +104.9 | +174.5 / +41.8 | 16.9 : 18.3 : 24.2 | 6.29 | 3.32 | +//! +//! # Against the reference encoders at THEIR fast presets +//! +//! Same film A crop, 4-point ladders, single thread, one tile, BD-rate vs +//! rav1e `speed 6` (own harness, `lanes/pareto.md`); fps = 48 coded frames +//! over the whole ladder: +//! +//! | encoder | BD vs rav1e speed 6 | fps | +//! |---|---|---| +//! | rav1e speed 6 | 0.0 | 1.79 | +//! | rav1e speed 8 | +2.1 | 2.48 | +//! | rav1e speed 10 | +16.9 | 4.73 | +//! | libaom cpu-used 6 | -20.7 | 2.55 | +//! | SVT-AV1 preset 8 | -3.9 | 13.80 | +//! | SVT-AV1 preset 10/12 | +10.9 | 20.78 | +//! | ours speed 0 | +23.4 | 0.47 | +//! | ours speed 3 | +24.7 | 0.76 | +//! | ours speed 6 | +29.1 | 1.16 | +//! | ours speed 10 | +104.9 | 2.84 | +//! +//! The keep rule for a preset -- at its own wall, no worse in BD than the +//! reference at that wall -- FAILS at every preset on film: rav1e reaches our +//! speed-10 wall at +16.9 where we are at +104.9, and SVT-AV1 is five times +//! faster than any of ours. What the axis does buy is real: 4.8x (1080p) to +//! 6.6x (4K) the frames per second of the full search for +7.7 BD points up +//! to speed 6, and on SCREEN content speeds 0-6 still beat rav1e speed 6 +//! (-16.0 / -13.2 / -11.7). + use std::sync::atomic::{AtomicU8, Ordering}; diff --git a/lanes/pareto-raw.log b/lanes/pareto-raw.log new file mode 100644 index 00000000..c451fdc5 --- /dev/null +++ b/lanes/pareto-raw.log @@ -0,0 +1,276 @@ + rav1e speed 6 q=50: 200390 B, 46.29 dB, 11.6s + rav1e speed 6 q=100: 89922 B, 44.10 dB, 6.1s + rav1e speed 6 q=150: 37953 B, 40.76 dB, 4.9s + rav1e speed 6 q=200: 14006 B, 36.48 dB, 4.2s + rav1e speed 8 q=50: 201034 B, 46.16 dB, 8.0s + rav1e speed 8 q=100: 89657 B, 43.99 dB, 5.0s + rav1e speed 8 q=150: 37937 B, 40.70 dB, 3.6s + rav1e speed 8 q=200: 14050 B, 36.45 dB, 2.7s + rav1e speed 10 q=50: 218498 B, 46.07 dB, 3.4s + rav1e speed 10 q=100: 97345 B, 43.85 dB, 2.3s + rav1e speed 10 q=150: 41333 B, 40.53 dB, 2.3s + rav1e speed 10 q=200: 16567 B, 36.29 dB, 2.2s + libaom cpu-used 6 q=5: 509017 B, 48.21 dB, 8.9s + libaom cpu-used 6 q=20: 146653 B, 46.13 dB, 3.7s + libaom cpu-used 6 q=35: 70638 B, 44.07 dB, 3.3s + libaom cpu-used 6 q=45: 41202 B, 42.05 dB, 2.9s + libaom cpu-used 8 q=5: 509017 B, 48.21 dB, 8.0s + libaom cpu-used 8 q=20: 146653 B, 46.13 dB, 4.3s + libaom cpu-used 8 q=35: 70638 B, 44.07 dB, 4.7s + libaom cpu-used 8 q=45: 41202 B, 42.05 dB, 2.9s +[libaom-av1 @ 0x559d99e953c0] Value 9.000000 for parameter 'cpu-used' out of range [0 - 8] +[libaom-av1 @ 0x559d99e953c0] Error setting option cpu-used to value 9. +[vost#0:0/libaom-av1 @ 0x559d99e94d40] Error applying encoder options: Numerical result out of range +Error opening output file t.ivf. +Error opening output files: Numerical result out of range +libaom cpu-used 9: FAILED Command '['ffmpeg', '-y', '-hide_banner', '-loglevel', 'error', '-r', '24', '-i', 'filmA.y4m', '-threads', '1', '-c:v', 'libaom-av1', '-cpu-used', '9', '-b:v', '0', '-crf', '5', '-row-mt', '0', '-tiles', '1x1', '-f', 'ivf', 't.ivf']' returned non-zero exit status 222. +[libaom-av1 @ 0x55be68d713c0] Value 10.000000 for parameter 'cpu-used' out of range [0 - 8] +[libaom-av1 @ 0x55be68d713c0] Error setting option cpu-used to value 10. +[vost#0:0/libaom-av1 @ 0x55be68d70d40] Error applying encoder options: Numerical result out of range +Error opening output file t.ivf. +Error opening output files: Numerical result out of range +libaom cpu-used 10: FAILED Command '['ffmpeg', '-y', '-hide_banner', '-loglevel', 'error', '-r', '24', '-i', 'filmA.y4m', '-threads', '1', '-c:v', 'libaom-av1', '-cpu-used', '10', '-b:v', '0', '-crf', '5', '-row-mt', '0', '-tiles', '1x1', '-f', 'ivf', 't.ivf']' returned non-zero exit status 222. +Svt[info]: ------------------------------------------- +Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v3.1.2 +Svt[info]: SVT [build] : GCC 16.0.1 20260115 (Red Hat 16.0.1-0) 64 bit +Svt[info]: ------------------------------------------- +Svt[info]: Level of Parallelism: 1 +Svt[info]: Number of PPCS 74 +Svt[info]: [asm level on system : up to avx512icl] +Svt[info]: [asm level selected : up to avx512icl] +Svt[info]: ------------------------------------------- +Svt[info]: SVT [config]: main profile tier (auto) level (auto) +Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 1920 / 768 / 24 / 1 +Svt[info]: SVT [config]: bit-depth / color format : 8 / YUV420 +Svt[info]: SVT [config]: preset / tune / pred struct : 8 / PSNR / random access +Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 161 / 32 / key frame +Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 20 +Svt[info]: SVT [config]: AQ mode / Variance Boost : 2 / 0 +Svt[info]: SVT [config]: sharpness / luminance-based QP bias : 0 / 0 +Svt[info]: ------------------------------------------- + svt-av1 preset 8 q=20: 159747 B, 45.62 dB, 1.3s +Svt[info]: ------------------------------------------- +Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v3.1.2 +Svt[info]: SVT [build] : GCC 16.0.1 20260115 (Red Hat 16.0.1-0) 64 bit +Svt[info]: ------------------------------------------- +Svt[info]: Level of Parallelism: 1 +Svt[info]: Number of PPCS 74 +Svt[info]: [asm level on system : up to avx512icl] +Svt[info]: [asm level selected : up to avx512icl] +Svt[info]: ------------------------------------------- +Svt[info]: SVT [config]: main profile tier (auto) level (auto) +Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 1920 / 768 / 24 / 1 +Svt[info]: SVT [config]: bit-depth / color format : 8 / YUV420 +Svt[info]: SVT [config]: preset / tune / pred struct : 8 / PSNR / random access +Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 161 / 32 / key frame +Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 35 +Svt[info]: SVT [config]: AQ mode / Variance Boost : 2 / 0 +Svt[info]: SVT [config]: sharpness / luminance-based QP bias : 0 / 0 +Svt[info]: ------------------------------------------- + svt-av1 preset 8 q=35: 78490 B, 43.79 dB, 0.7s +Svt[info]: ------------------------------------------- +Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v3.1.2 +Svt[info]: SVT [build] : GCC 16.0.1 20260115 (Red Hat 16.0.1-0) 64 bit +Svt[info]: ------------------------------------------- +Svt[info]: Level of Parallelism: 1 +Svt[info]: Number of PPCS 74 +Svt[info]: [asm level on system : up to avx512icl] +Svt[info]: [asm level selected : up to avx512icl] +Svt[info]: ------------------------------------------- +Svt[info]: SVT [config]: main profile tier (auto) level (auto) +Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 1920 / 768 / 24 / 1 +Svt[info]: SVT [config]: bit-depth / color format : 8 / YUV420 +Svt[info]: SVT [config]: preset / tune / pred struct : 8 / PSNR / random access +Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 161 / 32 / key frame +Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 45 +Svt[info]: SVT [config]: AQ mode / Variance Boost : 2 / 0 +Svt[info]: SVT [config]: sharpness / luminance-based QP bias : 0 / 0 +Svt[info]: ------------------------------------------- + svt-av1 preset 8 q=45: 48265 B, 41.98 dB, 0.8s +Svt[info]: ------------------------------------------- +Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v3.1.2 +Svt[info]: SVT [build] : GCC 16.0.1 20260115 (Red Hat 16.0.1-0) 64 bit +Svt[info]: ------------------------------------------- +Svt[info]: Level of Parallelism: 1 +Svt[info]: Number of PPCS 74 +Svt[info]: [asm level on system : up to avx512icl] +Svt[info]: [asm level selected : up to avx512icl] +Svt[info]: ------------------------------------------- +Svt[info]: SVT [config]: main profile tier (auto) level (auto) +Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 1920 / 768 / 24 / 1 +Svt[info]: SVT [config]: bit-depth / color format : 8 / YUV420 +Svt[info]: SVT [config]: preset / tune / pred struct : 8 / PSNR / random access +Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 161 / 32 / key frame +Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 55 +Svt[info]: SVT [config]: AQ mode / Variance Boost : 2 / 0 +Svt[info]: SVT [config]: sharpness / luminance-based QP bias : 0 / 0 +Svt[info]: ------------------------------------------- + svt-av1 preset 8 q=55: 27240 B, 39.74 dB, 0.6s +Svt[info]: ------------------------------------------- +Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v3.1.2 +Svt[info]: SVT [build] : GCC 16.0.1 20260115 (Red Hat 16.0.1-0) 64 bit +Svt[info]: ------------------------------------------- +Svt[info]: Level of Parallelism: 1 +Svt[info]: Number of PPCS 42 +Svt[info]: [asm level on system : up to avx512icl] +Svt[info]: [asm level selected : up to avx512icl] +Svt[info]: ------------------------------------------- +Svt[info]: SVT [config]: main profile tier (auto) level (auto) +Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 1920 / 768 / 24 / 1 +Svt[info]: SVT [config]: bit-depth / color format : 8 / YUV420 +Svt[info]: SVT [config]: preset / tune / pred struct : 10 / PSNR / random access +Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 161 / 16 / key frame +Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 20 +Svt[info]: SVT [config]: AQ mode / Variance Boost : 2 / 0 +Svt[info]: SVT [config]: sharpness / luminance-based QP bias : 0 / 0 +Svt[info]: ------------------------------------------- + svt-av1 preset 10 q=20: 164568 B, 45.21 dB, 0.6s +Svt[info]: ------------------------------------------- +Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v3.1.2 +Svt[info]: SVT [build] : GCC 16.0.1 20260115 (Red Hat 16.0.1-0) 64 bit +Svt[info]: ------------------------------------------- +Svt[info]: Level of Parallelism: 1 +Svt[info]: Number of PPCS 42 +Svt[info]: [asm level on system : up to avx512icl] +Svt[info]: [asm level selected : up to avx512icl] +Svt[info]: ------------------------------------------- +Svt[info]: SVT [config]: main profile tier (auto) level (auto) +Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 1920 / 768 / 24 / 1 +Svt[info]: SVT [config]: bit-depth / color format : 8 / YUV420 +Svt[info]: SVT [config]: preset / tune / pred struct : 10 / PSNR / random access +Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 161 / 16 / key frame +Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 35 +Svt[info]: SVT [config]: AQ mode / Variance Boost : 2 / 0 +Svt[info]: SVT [config]: sharpness / luminance-based QP bias : 0 / 0 +Svt[info]: ------------------------------------------- + svt-av1 preset 10 q=35: 79122 B, 43.22 dB, 0.5s +Svt[info]: ------------------------------------------- +Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v3.1.2 +Svt[info]: SVT [build] : GCC 16.0.1 20260115 (Red Hat 16.0.1-0) 64 bit +Svt[info]: ------------------------------------------- +Svt[info]: Level of Parallelism: 1 +Svt[info]: Number of PPCS 42 +Svt[info]: [asm level on system : up to avx512icl] +Svt[info]: [asm level selected : up to avx512icl] +Svt[info]: ------------------------------------------- +Svt[info]: SVT [config]: main profile tier (auto) level (auto) +Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 1920 / 768 / 24 / 1 +Svt[info]: SVT [config]: bit-depth / color format : 8 / YUV420 +Svt[info]: SVT [config]: preset / tune / pred struct : 10 / PSNR / random access +Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 161 / 16 / key frame +Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 45 +Svt[info]: SVT [config]: AQ mode / Variance Boost : 2 / 0 +Svt[info]: SVT [config]: sharpness / luminance-based QP bias : 0 / 0 +Svt[info]: ------------------------------------------- + svt-av1 preset 10 q=45: 47737 B, 41.41 dB, 0.7s +Svt[info]: ------------------------------------------- +Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v3.1.2 +Svt[info]: SVT [build] : GCC 16.0.1 20260115 (Red Hat 16.0.1-0) 64 bit +Svt[info]: ------------------------------------------- +Svt[info]: Level of Parallelism: 1 +Svt[info]: Number of PPCS 42 +Svt[info]: [asm level on system : up to avx512icl] +Svt[info]: [asm level selected : up to avx512icl] +Svt[info]: ------------------------------------------- +Svt[info]: SVT [config]: main profile tier (auto) level (auto) +Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 1920 / 768 / 24 / 1 +Svt[info]: SVT [config]: bit-depth / color format : 8 / YUV420 +Svt[info]: SVT [config]: preset / tune / pred struct : 10 / PSNR / random access +Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 161 / 16 / key frame +Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 55 +Svt[info]: SVT [config]: AQ mode / Variance Boost : 2 / 0 +Svt[info]: SVT [config]: sharpness / luminance-based QP bias : 0 / 0 +Svt[info]: ------------------------------------------- + svt-av1 preset 10 q=55: 27093 B, 39.35 dB, 0.6s +Svt[info]: ------------------------------------------- +Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v3.1.2 +Svt[info]: SVT [build] : GCC 16.0.1 20260115 (Red Hat 16.0.1-0) 64 bit +Svt[info]: ------------------------------------------- +Svt[warn]: Preset M12 is mapped to M10. +Svt[info]: Level of Parallelism: 1 +Svt[info]: Number of PPCS 42 +Svt[info]: [asm level on system : up to avx512icl] +Svt[info]: [asm level selected : up to avx512icl] +Svt[info]: ------------------------------------------- +Svt[info]: SVT [config]: main profile tier (auto) level (auto) +Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 1920 / 768 / 24 / 1 +Svt[info]: SVT [config]: bit-depth / color format : 8 / YUV420 +Svt[info]: SVT [config]: preset / tune / pred struct : 10 / PSNR / random access +Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 161 / 16 / key frame +Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 20 +Svt[info]: SVT [config]: AQ mode / Variance Boost : 2 / 0 +Svt[info]: SVT [config]: sharpness / luminance-based QP bias : 0 / 0 +Svt[info]: ------------------------------------------- + svt-av1 preset 12 q=20: 164568 B, 45.21 dB, 0.8s +Svt[info]: ------------------------------------------- +Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v3.1.2 +Svt[info]: SVT [build] : GCC 16.0.1 20260115 (Red Hat 16.0.1-0) 64 bit +Svt[info]: ------------------------------------------- +Svt[warn]: Preset M12 is mapped to M10. +Svt[info]: Level of Parallelism: 1 +Svt[info]: Number of PPCS 42 +Svt[info]: [asm level on system : up to avx512icl] +Svt[info]: [asm level selected : up to avx512icl] +Svt[info]: ------------------------------------------- +Svt[info]: SVT [config]: main profile tier (auto) level (auto) +Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 1920 / 768 / 24 / 1 +Svt[info]: SVT [config]: bit-depth / color format : 8 / YUV420 +Svt[info]: SVT [config]: preset / tune / pred struct : 10 / PSNR / random access +Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 161 / 16 / key frame +Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 35 +Svt[info]: SVT [config]: AQ mode / Variance Boost : 2 / 0 +Svt[info]: SVT [config]: sharpness / luminance-based QP bias : 0 / 0 +Svt[info]: ------------------------------------------- + svt-av1 preset 12 q=35: 79122 B, 43.22 dB, 0.7s +Svt[info]: ------------------------------------------- +Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v3.1.2 +Svt[info]: SVT [build] : GCC 16.0.1 20260115 (Red Hat 16.0.1-0) 64 bit +Svt[info]: ------------------------------------------- +Svt[warn]: Preset M12 is mapped to M10. +Svt[info]: Level of Parallelism: 1 +Svt[info]: Number of PPCS 42 +Svt[info]: [asm level on system : up to avx512icl] +Svt[info]: [asm level selected : up to avx512icl] +Svt[info]: ------------------------------------------- +Svt[info]: SVT [config]: main profile tier (auto) level (auto) +Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 1920 / 768 / 24 / 1 +Svt[info]: SVT [config]: bit-depth / color format : 8 / YUV420 +Svt[info]: SVT [config]: preset / tune / pred struct : 10 / PSNR / random access +Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 161 / 16 / key frame +Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 45 +Svt[info]: SVT [config]: AQ mode / Variance Boost : 2 / 0 +Svt[info]: SVT [config]: sharpness / luminance-based QP bias : 0 / 0 +Svt[info]: ------------------------------------------- + svt-av1 preset 12 q=45: 47737 B, 41.41 dB, 0.8s +Svt[info]: ------------------------------------------- +Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v3.1.2 +Svt[info]: SVT [build] : GCC 16.0.1 20260115 (Red Hat 16.0.1-0) 64 bit +Svt[info]: ------------------------------------------- +Svt[warn]: Preset M12 is mapped to M10. +Svt[info]: Level of Parallelism: 1 +Svt[info]: Number of PPCS 42 +Svt[info]: [asm level on system : up to avx512icl] +Svt[info]: [asm level selected : up to avx512icl] +Svt[info]: ------------------------------------------- +Svt[info]: SVT [config]: main profile tier (auto) level (auto) +Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 1920 / 768 / 24 / 1 +Svt[info]: SVT [config]: bit-depth / color format : 8 / YUV420 +Svt[info]: SVT [config]: preset / tune / pred struct : 10 / PSNR / random access +Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 161 / 16 / key frame +Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 55 +Svt[info]: SVT [config]: AQ mode / Variance Boost : 2 / 0 +Svt[info]: SVT [config]: sharpness / luminance-based QP bias : 0 / 0 +Svt[info]: ------------------------------------------- + svt-av1 preset 12 q=55: 27093 B, 39.35 dB, 0.5s + +| encoder preset | 4-point ladder (B / dB) | BD-rate vs rav1e speed 6 | wall, 4 points (s) | fps | +|---|---|---|---|---| +| rav1e speed 6 | 200390/46.29, 89922/44.10, 37953/40.76, 14006/36.48 | +0.0% | 26.8 | 1.79 | +| rav1e speed 8 | 201034/46.16, 89657/43.99, 37937/40.70, 14050/36.45 | +2.1% | 19.4 | 2.48 | +| rav1e speed 10 | 218498/46.07, 97345/43.85, 41333/40.53, 16567/36.29 | +16.9% | 10.2 | 4.73 | +| libaom cpu-used 6 | 509017/48.21, 146653/46.13, 70638/44.07, 41202/42.05 | -20.7% | 18.8 | 2.55 | +| libaom cpu-used 8 | 509017/48.21, 146653/46.13, 70638/44.07, 41202/42.05 | -20.7% | 19.9 | 2.42 | +| svt-av1 preset 8 | 159747/45.62, 78490/43.79, 48265/41.98, 27240/39.74 | -3.9% | 3.5 | 13.80 | +| svt-av1 preset 10 | 164568/45.21, 79122/43.22, 47737/41.41, 27093/39.35 | +10.9% | 2.3 | 20.78 | +| svt-av1 preset 12 | 164568/45.21, 79122/43.22, 47737/41.41, 27093/39.35 | +10.9% | 2.7 | 17.70 | +RC=0 diff --git a/lanes/pareto.md b/lanes/pareto.md new file mode 100644 index 00000000..d03852ff --- /dev/null +++ b/lanes/pareto.md @@ -0,0 +1,24 @@ +[libaom-av1 @ 0x559d99e953c0] Value 9.000000 for parameter 'cpu-used' out of range [0 - 8] +[libaom-av1 @ 0x559d99e953c0] Error setting option cpu-used to value 9. +[vost#0:0/libaom-av1 @ 0x559d99e94d40] Error applying encoder options: Numerical result out of range +Error opening output file t.ivf. +Error opening output files: Numerical result out of range +libaom cpu-used 9: FAILED Command '['ffmpeg', '-y', '-hide_banner', '-loglevel', 'error', '-r', '24', '-i', 'filmA.y4m', '-threads', '1', '-c:v', 'libaom-av1', '-cpu-used', '9', '-b:v', '0', '-crf', '5', '-row-mt', '0', '-tiles', '1x1', '-f', 'ivf', 't.ivf']' returned non-zero exit status 222. +[libaom-av1 @ 0x55be68d713c0] Value 10.000000 for parameter 'cpu-used' out of range [0 - 8] +[libaom-av1 @ 0x55be68d713c0] Error setting option cpu-used to value 10. +[vost#0:0/libaom-av1 @ 0x55be68d70d40] Error applying encoder options: Numerical result out of range +Error opening output file t.ivf. +Error opening output files: Numerical result out of range +libaom cpu-used 10: FAILED Command '['ffmpeg', '-y', '-hide_banner', '-loglevel', 'error', '-r', '24', '-i', 'filmA.y4m', '-threads', '1', '-c:v', 'libaom-av1', '-cpu-used', '10', '-b:v', '0', '-crf', '5', '-row-mt', '0', '-tiles', '1x1', '-f', 'ivf', 't.ivf']' returned non-zero exit status 222. + +| encoder preset | 4-point ladder (B / dB) | BD-rate vs rav1e speed 6 | wall, 4 points (s) | fps | +|---|---|---|---|---| +| rav1e speed 6 | 200390/46.29, 89922/44.10, 37953/40.76, 14006/36.48 | +0.0% | 26.8 | 1.79 | +| rav1e speed 8 | 201034/46.16, 89657/43.99, 37937/40.70, 14050/36.45 | +2.1% | 19.4 | 2.48 | +| rav1e speed 10 | 218498/46.07, 97345/43.85, 41333/40.53, 16567/36.29 | +16.9% | 10.2 | 4.73 | +| libaom cpu-used 6 | 509017/48.21, 146653/46.13, 70638/44.07, 41202/42.05 | -20.7% | 18.8 | 2.55 | +| libaom cpu-used 8 | 509017/48.21, 146653/46.13, 70638/44.07, 41202/42.05 | -20.7% | 19.9 | 2.42 | +| svt-av1 preset 8 | 159747/45.62, 78490/43.79, 48265/41.98, 27240/39.74 | -3.9% | 3.5 | 13.80 | +| svt-av1 preset 10 | 164568/45.21, 79122/43.22, 47737/41.41, 27093/39.35 | +10.9% | 2.3 | 20.78 | +| svt-av1 preset 12 | 164568/45.21, 79122/43.22, 47737/41.41, 27093/39.35 | +10.9% | 2.7 | 17.70 | +RC=0 diff --git a/lanes/pareto.py b/lanes/pareto.py new file mode 100644 index 00000000..4872b3c0 --- /dev/null +++ b/lanes/pareto.py @@ -0,0 +1,59 @@ +import subprocess, time, json, os, sys, re +import numpy as np +S=os.path.dirname(os.path.abspath(__file__)) +man=open('REPO/fixtures/real-library-manifest.tsv').read().splitlines() +src=None +for l in man[1:]: + f=l.split('\t') + if len(f)>4 and f[2]=='av1' and f[3]=='1920' and os.path.exists(f[0]): src=f[0]; break +assert src, 'no film A' +y4m=os.path.join(S,'filmA.y4m') +if not os.path.exists(y4m): + subprocess.run(['ffmpeg','-y','-hide_banner','-loglevel','error','-ss','00:35:00','-i',src, + '-frames:v','12','-vf','crop=1920:768','-pix_fmt','yuv420p','-r','24',y4m],check=True) +def run(cfg,q,out): + a=['ffmpeg','-y','-hide_banner','-loglevel','error','-r','24','-i',y4m,'-threads','1']+cfg(q)+['-f','ivf',out] + t=time.time(); subprocess.run(a,check=True); return time.time()-t +def psnr(out): + p=subprocess.run(['ffmpeg','-hide_banner','-r','24','-i',out,'-r','24','-i',y4m,'-lavfi','psnr','-f','null','-'], + capture_output=True,text=True) + m=re.search(r'average:([0-9.]+)',p.stderr) or re.search(r'psnr_avg:([0-9.]+)',p.stderr) + y=re.search(r' y:([0-9.]+)',p.stderr) + return float(y.group(1)) if y else float(m.group(1)) +def rav1e(sp): return lambda q:['-c:v','librav1e','-rav1e-params',f'speed={sp}:quantizer={q}:tile_cols=1:tile_rows=1:threads=1'] +def aom(cu): return lambda q:['-c:v','libaom-av1','-cpu-used',str(cu),'-b:v','0','-crf',str(q),'-row-mt','0','-tiles','1x1'] +def svt(pr): return lambda q:['-c:v','libsvtav1','-preset',str(pr),'-crf',str(q),'-svtav1-params','lp=1'] +configs=[('rav1e speed 6',rav1e(6),[50,100,150,200]),('rav1e speed 8',rav1e(8),[50,100,150,200]), + ('rav1e speed 10',rav1e(10),[50,100,150,200]), + ('libaom cpu-used 6',aom(6),[5,20,35,45]),('libaom cpu-used 8',aom(8),[5,20,35,45]), + ('libaom cpu-used 9',aom(9),[5,20,35,45]),('libaom cpu-used 10',aom(10),[5,20,35,45]), + ('svt-av1 preset 8',svt(8),[20,35,45,55]),('svt-av1 preset 10',svt(10),[20,35,45,55]), + ('svt-av1 preset 12',svt(12),[20,35,45,55])] +res={} +for name,cfg,qs in configs: + pts=[]; wall=0.0 + for q in qs: + out=os.path.join(S,'t.ivf') + try: + w=run(cfg,q,out) + except Exception as e: + print(f'{name}: FAILED {e}',flush=True); pts=None; break + wall+=w; b=os.path.getsize(out); p=psnr(out); pts.append((b,p)) + print(f' {name} q={q}: {b} B, {p:.2f} dB, {w:.1f}s',flush=True) + if pts: res[name]=(pts,wall) +def bd(a,b): + # BD-rate of b vs anchor a: percent bits change at equal PSNR + ra=np.log10([p[0] for p in a]); pa=[p[1] for p in a] + rb=np.log10([p[0] for p in b]); pb=[p[1] for p in b] + pa,ra=zip(*sorted(zip(pa,ra))); pb,rb=zip(*sorted(zip(pb,rb))) + ca=np.polyfit(pa,ra,3); cb=np.polyfit(pb,rb,3) + lo=max(min(pa),min(pb)); hi=min(max(pa),max(pb)) + ia=np.polyval(np.polyint(ca),hi)-np.polyval(np.polyint(ca),lo) + ib=np.polyval(np.polyint(cb),hi)-np.polyval(np.polyint(cb),lo) + return (10**((ib-ia)/(hi-lo))-1)*100 +anchor=res['rav1e speed 6'][0] +print('\n| encoder preset | 4-point ladder (B / dB) | BD-rate vs rav1e speed 6 | wall, 4 points (s) | fps |') +print('|---|---|---|---|---|') +for name,(pts,wall) in res.items(): + lad=', '.join(f'{b}/{p:.2f}' for b,p in pts) + print(f'| {name} | {lad} | {bd(anchor,pts):+.1f}% | {wall:.1f} | {4*12/wall:.2f} |') diff --git a/lanes/seq-done b/lanes/seq-done new file mode 100644 index 00000000..c8e8a135 --- /dev/null +++ b/lanes/seq-done @@ -0,0 +1 @@ +DONE diff --git a/lanes/seq-film-s0.log b/lanes/seq-film-s0.log new file mode 100644 index 00000000..75dec8d3 --- /dev/null +++ b/lanes/seq-film-s0.log @@ -0,0 +1,22 @@ + +running 1 test +test encode::tests::bd_rate_screen_native ... +native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | +|---|---|---|---|---| +bars 1080p: sequence, pyramid requested Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) effective Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) +bars 1080p: pricer armings default=17 real=183 +bars 1080p: motion_mode 32x32 SIMPLE=77834 OBMC=0 WARP=160 | 16x16 SIMPLE=3194 OBMC=0 WARP=261 | 8x8 SIMPLE=13280 OBMC=0 WARP=1286 (0.0% OBMC / 1.8% WARP of 96015 eligible) +bars 1080p: inter var-tx depths of 11770 blocks -- leaf single 0=1311 1=691 (34.5% split) | leaf compound 0=1242 1=694 (35.8% split) | 32x32 single 0=968 1=2080 (68.2% split) | 32x32 compound 0=2438 1=2346 (49.0% split) +bars 1080p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +| bars 1080p 1920x1024 | 44.33 dB/231472 B, 47.88 dB/335912 B, 51.16 dB/455594 B, 53.97 dB/581469 B | +4.5% | -11.9% | 62.8s:14.0s:32.4s | +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) effective Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) +film A (1080p source): pricer armings default=20 real=215 +film A (1080p source): motion_mode 32x32 SIMPLE=63139 OBMC=0 WARP=1928 | 16x16 SIMPLE=29459 OBMC=0 WARP=2496 | 8x8 SIMPLE=10643 OBMC=0 WARP=2368 (0.0% OBMC / 6.2% WARP of 110033 eligible) +film A (1080p source): inter var-tx depths of 113436 blocks -- leaf single 0=19392 1=4907 (20.2% split) | leaf compound 0=40221 1=11645 (22.5% split) | 32x32 single 0=9387 1=6484 (40.9% split) | 32x32 compound 0=12925 1=8475 (39.6% split) +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +| film A (1080p source) 1920x768 | 43.49 dB/73005 B, 45.38 dB/121644 B, 46.83 dB/218606 B, 47.98 dB/398152 B | +53.2% | +23.4% | 102.9s:19.6s:25.0s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 583 filtered out; finished in 269.01s + diff --git a/lanes/seq-film-s10.log b/lanes/seq-film-s10.log new file mode 100644 index 00000000..d7722f56 --- /dev/null +++ b/lanes/seq-film-s10.log @@ -0,0 +1,22 @@ + +running 1 test +test encode::tests::bd_rate_screen_native ... +native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | +|---|---|---|---|---| +bars 1080p: sequence, pyramid requested Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) effective Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) +bars 1080p: pricer armings default=12 real=132 +bars 1080p: motion_mode 32x32 SIMPLE=0 OBMC=0 WARP=0 | 16x16 SIMPLE=0 OBMC=0 WARP=0 | 8x8 SIMPLE=0 OBMC=0 WARP=0 (0.0% OBMC / 0.0% WARP of 0 eligible) +bars 1080p: inter var-tx depths of 0 blocks -- leaf single 0=0 1=0 (0.0% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% split) +bars 1080p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +| bars 1080p 1920x1024 | 40.32 dB/364421 B, 43.66 dB/617084 B, 47.12 dB/881763 B, 50.16 dB/1123559 B | +224.7% | +159.1% | 16.9s:13.1s:28.2s | +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) effective Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) +film A (1080p source): pricer armings default=12 real=132 +film A (1080p source): motion_mode 32x32 SIMPLE=0 OBMC=0 WARP=0 | 16x16 SIMPLE=0 OBMC=0 WARP=0 | 8x8 SIMPLE=0 OBMC=0 WARP=0 (0.0% OBMC / 0.0% WARP of 0 eligible) +film A (1080p source): inter var-tx depths of 0 blocks -- leaf single 0=0 1=0 (0.0% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% split) +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +| film A (1080p source) 1920x768 | 42.47 dB/84245 B, 44.45 dB/147286 B, 46.02 dB/278281 B, 47.37 dB/502506 B | +158.8% | +104.9% | 16.9s:18.3s:24.2s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 583 filtered out; finished in 128.67s + diff --git a/lanes/seq-film-s3.log b/lanes/seq-film-s3.log new file mode 100644 index 00000000..ec6bd85e --- /dev/null +++ b/lanes/seq-film-s3.log @@ -0,0 +1,22 @@ + +running 1 test +test encode::tests::bd_rate_screen_native ... +native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | +|---|---|---|---|---| +bars 1080p: sequence, pyramid requested Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) effective Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) +bars 1080p: pricer armings default=13 real=145 +bars 1080p: motion_mode 32x32 SIMPLE=0 OBMC=0 WARP=0 | 16x16 SIMPLE=0 OBMC=0 WARP=0 | 8x8 SIMPLE=0 OBMC=0 WARP=0 (0.0% OBMC / 0.0% WARP of 0 eligible) +bars 1080p: inter var-tx depths of 12841 blocks -- leaf single 0=1366 1=626 (31.4% split) | leaf compound 0=1604 1=1110 (40.9% split) | 32x32 single 0=1045 1=2395 (69.6% split) | 32x32 compound 0=2381 1=2314 (49.3% split) +bars 1080p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +| bars 1080p 1920x1024 | 42.95 dB/297079 B, 46.77 dB/449084 B, 50.28 dB/608660 B, 53.41 dB/762532 B | +54.6% | +32.1% | 44.5s:11.7s:27.6s | +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) effective Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) +film A (1080p source): pricer armings default=16 real=176 +film A (1080p source): motion_mode 32x32 SIMPLE=0 OBMC=0 WARP=0 | 16x16 SIMPLE=0 OBMC=0 WARP=0 | 8x8 SIMPLE=0 OBMC=0 WARP=0 (0.0% OBMC / 0.0% WARP of 0 eligible) +film A (1080p source): inter var-tx depths of 119112 blocks -- leaf single 0=21418 1=5522 (20.5% split) | leaf compound 0=42215 1=11812 (21.9% split) | 32x32 single 0=9656 1=6811 (41.4% split) | 32x32 compound 0=13202 1=8476 (39.1% split) +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +| film A (1080p source) 1920x768 | 43.43 dB/72643 B, 45.35 dB/121536 B, 46.78 dB/216616 B, 47.93 dB/395615 B | +55.1% | +24.7% | 63.3s:16.3s:23.5s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 583 filtered out; finished in 198.37s + diff --git a/lanes/seq-film-s6.log b/lanes/seq-film-s6.log new file mode 100644 index 00000000..8b1f2e6c --- /dev/null +++ b/lanes/seq-film-s6.log @@ -0,0 +1,22 @@ + +running 1 test +test encode::tests::bd_rate_screen_native ... +native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | +|---|---|---|---|---| +bars 1080p: sequence, pyramid requested Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) effective Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) +bars 1080p: pricer armings default=13 real=154 +bars 1080p: motion_mode 32x32 SIMPLE=0 OBMC=0 WARP=0 | 16x16 SIMPLE=0 OBMC=0 WARP=0 | 8x8 SIMPLE=0 OBMC=0 WARP=0 (0.0% OBMC / 0.0% WARP of 0 eligible) +bars 1080p: inter var-tx depths of 0 blocks -- leaf single 0=0 1=0 (0.0% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% split) +bars 1080p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +| bars 1080p 1920x1024 | 42.11 dB/304336 B, 46.22 dB/504679 B, 49.95 dB/683650 B, 52.93 dB/878062 B | +84.3% | +55.6% | 37.3s:11.2s:27.4s | +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) effective Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) +film A (1080p source): pricer armings default=15 real=176 +film A (1080p source): motion_mode 32x32 SIMPLE=0 OBMC=0 WARP=0 | 16x16 SIMPLE=0 OBMC=0 WARP=0 | 8x8 SIMPLE=0 OBMC=0 WARP=0 (0.0% OBMC / 0.0% WARP of 0 eligible) +film A (1080p source): inter var-tx depths of 0 blocks -- leaf single 0=0 1=0 (0.0% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% split) +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +| film A (1080p source) 1920x768 | 43.31 dB/72027 B, 45.25 dB/122366 B, 46.72 dB/218897 B, 47.87 dB/398691 B | +60.9% | +29.1% | 41.3s:16.0s:23.4s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 583 filtered out; finished in 167.40s + diff --git a/lanes/seq-screen-s0.log b/lanes/seq-screen-s0.log new file mode 100644 index 00000000..4b58b76b --- /dev/null +++ b/lanes/seq-screen-s0.log @@ -0,0 +1,16 @@ + +running 1 test +test encode::tests::bd_rate_screen_native ... +native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | +|---|---|---|---|---| +screen capture (2026-07-25 02-09-04.mkv): sequence, pyramid requested Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) effective None +screen capture (2026-07-25 02-09-04.mkv): pricer armings default=163 real=0 +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=82240 OBMC=0 WARP=2277 | 16x16 SIMPLE=4348 OBMC=0 WARP=761 | 8x8 SIMPLE=932 OBMC=0 WARP=912 (0.0% OBMC / 4.3% WARP of 91470 eligible) +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 18584 blocks -- leaf single 0=2139 1=2291 (51.7% split) | leaf compound 0=2057 1=1756 (46.1% split) | 32x32 single 0=2500 1=4622 (64.9% split) | 32x32 compound 0=1214 1=2005 (62.3% split) +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 10142 chroma 1148; intrabc blocks 0 (searched 0 / valid 0 / won 0) +| screen capture (2026-07-25 02-09-04.mkv) 1920x1024 | 46.08 dB/44742 B, 48.81 dB/57550 B, 51.22 dB/73560 B, 53.49 dB/96091 B | +49.3% | -16.0% | 35.3s:14.5s:21.5s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 583 filtered out; finished in 75.79s + diff --git a/lanes/seq-screen-s10.log b/lanes/seq-screen-s10.log new file mode 100644 index 00000000..dec5df8a --- /dev/null +++ b/lanes/seq-screen-s10.log @@ -0,0 +1,16 @@ + +running 1 test +test encode::tests::bd_rate_screen_native ... +native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | +|---|---|---|---|---| +screen capture (2026-07-25 02-09-04.mkv): sequence, pyramid requested Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) effective None +screen capture (2026-07-25 02-09-04.mkv): pricer armings default=144 real=0 +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=0 OBMC=0 WARP=0 | 16x16 SIMPLE=0 OBMC=0 WARP=0 | 8x8 SIMPLE=0 OBMC=0 WARP=0 (0.0% OBMC / 0.0% WARP of 0 eligible) +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 0 blocks -- leaf single 0=0 1=0 (0.0% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% split) +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 6348 chroma 1512; intrabc blocks 0 (searched 0 / valid 0 / won 0) +| screen capture (2026-07-25 02-09-04.mkv) 1920x1024 | 44.94 dB/61530 B, 47.52 dB/81876 B, 49.48 dB/111008 B, 51.22 dB/153976 B | +174.5% | +41.8% | 11.8s:8.8s:11.5s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 583 filtered out; finished in 34.93s + diff --git a/lanes/seq-screen-s3.log b/lanes/seq-screen-s3.log new file mode 100644 index 00000000..6abb98e4 --- /dev/null +++ b/lanes/seq-screen-s3.log @@ -0,0 +1,16 @@ + +running 1 test +test encode::tests::bd_rate_screen_native ... +native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | +|---|---|---|---|---| +screen capture (2026-07-25 02-09-04.mkv): sequence, pyramid requested Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) effective None +screen capture (2026-07-25 02-09-04.mkv): pricer armings default=163 real=0 +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=0 OBMC=0 WARP=0 | 16x16 SIMPLE=0 OBMC=0 WARP=0 | 8x8 SIMPLE=0 OBMC=0 WARP=0 (0.0% OBMC / 0.0% WARP of 0 eligible) +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 24027 blocks -- leaf single 0=3010 1=3181 (51.4% split) | leaf compound 0=2626 1=2078 (44.2% split) | 32x32 single 0=3051 1=6437 (67.8% split) | 32x32 compound 0=1287 1=2357 (64.7% split) +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 7280 chroma 1256; intrabc blocks 0 (searched 0 / valid 0 / won 0) +| screen capture (2026-07-25 02-09-04.mkv) 1920x1024 | 45.89 dB/45757 B, 48.67 dB/58149 B, 51.08 dB/75412 B, 53.35 dB/97886 B | +54.3% | -13.2% | 34.9s:9.9s:12.4s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 583 filtered out; finished in 61.00s + diff --git a/lanes/seq-screen-s6.log b/lanes/seq-screen-s6.log new file mode 100644 index 00000000..49577da3 --- /dev/null +++ b/lanes/seq-screen-s6.log @@ -0,0 +1,16 @@ + +running 1 test +test encode::tests::bd_rate_screen_native ... +native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | +|---|---|---|---|---| +screen capture (2026-07-25 02-09-04.mkv): sequence, pyramid requested Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) effective None +screen capture (2026-07-25 02-09-04.mkv): pricer armings default=167 real=0 +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=0 OBMC=0 WARP=0 | 16x16 SIMPLE=0 OBMC=0 WARP=0 | 8x8 SIMPLE=0 OBMC=0 WARP=0 (0.0% OBMC / 0.0% WARP of 0 eligible) +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 0 blocks -- leaf single 0=0 1=0 (0.0% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% split) +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 7116 chroma 1385; intrabc blocks 0 (searched 0 / valid 0 / won 0) +| screen capture (2026-07-25 02-09-04.mkv) 1920x1024 | 45.90 dB/45989 B, 48.65 dB/58535 B, 50.97 dB/76682 B, 53.18 dB/98823 B | +57.7% | -11.7% | 17.1s:10.7s:13.1s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 583 filtered out; finished in 43.76s + diff --git a/lanes/wall-done b/lanes/wall-done new file mode 100644 index 00000000..c8e8a135 --- /dev/null +++ b/lanes/wall-done @@ -0,0 +1 @@ +DONE diff --git a/lanes/wall-filter_stage_wall_1080p-s0.log b/lanes/wall-filter_stage_wall_1080p-s0.log new file mode 100644 index 00000000..6c55eff1 --- /dev/null +++ b/lanes/wall-filter_stage_wall_1080p-s0.log @@ -0,0 +1,20 @@ + +running 1 test +test encoder::tests::filter_stage_wall_1080p ... +1920x1080, 8 frames, 4x2 tiles, 8 tile threads: 6.04s wall, 1.32 fps +| stage | ms | ms/frame | % of wall | +| tile search | 3986 | 498.3 | 66.0% | +| tile write | 94 | 11.7 | 1.6% | +| filter: deblock replay | 349 | 43.7 | 5.8% | +| filter: cdef replay | 481 | 60.2 | 8.0% | +| filter: sse | 136 | 17.0 | 2.2% | +| filter search (total) | 1412 | 176.5 | 23.4% | +| capture decode | 0 | 0.0 | 0.0% | +| lr search | 131 | 16.4 | 2.2% | +| filter: plane copies | 406 | 50.8 | 6.7% | +| filter: first decode | 193 | 24.1 | 3.2% | +accounted 93.1% of wall; outside the tile search 34.0% +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 583 filtered out; finished in 6.44s + diff --git a/lanes/wall-filter_stage_wall_1080p-s10.log b/lanes/wall-filter_stage_wall_1080p-s10.log new file mode 100644 index 00000000..a12fe7f2 --- /dev/null +++ b/lanes/wall-filter_stage_wall_1080p-s10.log @@ -0,0 +1,20 @@ + +running 1 test +test encoder::tests::filter_stage_wall_1080p ... +1920x1080, 8 frames, 4x2 tiles, 8 tile threads: 1.27s wall, 6.29 fps +| stage | ms | ms/frame | % of wall | +| tile search | 674 | 84.3 | 53.0% | +| tile write | 49 | 6.1 | 3.9% | +| filter: deblock replay | 106 | 13.3 | 8.3% | +| filter: cdef replay | 6 | 0.7 | 0.4% | +| filter: sse | 31 | 3.9 | 2.4% | +| filter search (total) | 401 | 50.2 | 31.5% | +| capture decode | 0 | 0.0 | 0.0% | +| lr search | 0 | 0.0 | 0.0% | +| filter: plane copies | 143 | 17.9 | 11.3% | +| filter: first decode | 156 | 19.5 | 12.2% | +accounted 88.4% of wall; outside the tile search 47.0% +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 583 filtered out; finished in 1.47s + diff --git a/lanes/wall-filter_stage_wall_1080p-s3.log b/lanes/wall-filter_stage_wall_1080p-s3.log new file mode 100644 index 00000000..f9df128c --- /dev/null +++ b/lanes/wall-filter_stage_wall_1080p-s3.log @@ -0,0 +1,20 @@ + +running 1 test +test encoder::tests::filter_stage_wall_1080p ... +1920x1080, 8 frames, 4x2 tiles, 8 tile threads: 4.99s wall, 1.60 fps +| stage | ms | ms/frame | % of wall | +| tile search | 3150 | 393.8 | 63.1% | +| tile write | 102 | 12.8 | 2.0% | +| filter: deblock replay | 300 | 37.5 | 6.0% | +| filter: cdef replay | 504 | 63.0 | 10.1% | +| filter: sse | 146 | 18.2 | 2.9% | +| filter search (total) | 1505 | 188.1 | 30.1% | +| capture decode | 0 | 0.0 | 0.0% | +| lr search | 0 | 0.0 | 0.0% | +| filter: plane copies | 364 | 45.5 | 7.3% | +| filter: first decode | 202 | 25.3 | 4.0% | +accounted 95.2% of wall; outside the tile search 36.9% +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 583 filtered out; finished in 5.38s + diff --git a/lanes/wall-filter_stage_wall_1080p-s6.log b/lanes/wall-filter_stage_wall_1080p-s6.log new file mode 100644 index 00000000..c116ef88 --- /dev/null +++ b/lanes/wall-filter_stage_wall_1080p-s6.log @@ -0,0 +1,20 @@ + +running 1 test +test encoder::tests::filter_stage_wall_1080p ... +1920x1080, 8 frames, 4x2 tiles, 8 tile threads: 4.36s wall, 1.83 fps +| stage | ms | ms/frame | % of wall | +| tile search | 2478 | 309.7 | 56.8% | +| tile write | 64 | 8.1 | 1.5% | +| filter: deblock replay | 366 | 45.7 | 8.4% | +| filter: cdef replay | 501 | 62.6 | 11.5% | +| filter: sse | 146 | 18.2 | 3.3% | +| filter search (total) | 1561 | 195.2 | 35.8% | +| capture decode | 0 | 0.0 | 0.0% | +| lr search | 0 | 0.0 | 0.0% | +| filter: plane copies | 434 | 54.3 | 9.9% | +| filter: first decode | 204 | 25.5 | 4.7% | +accounted 94.0% of wall; outside the tile search 43.2% +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 583 filtered out; finished in 4.73s + diff --git a/lanes/wall-filter_stage_wall_4k-s0.log b/lanes/wall-filter_stage_wall_4k-s0.log new file mode 100644 index 00000000..192618f7 --- /dev/null +++ b/lanes/wall-filter_stage_wall_4k-s0.log @@ -0,0 +1,34 @@ + +running 1 test +test encoder::tests::filter_stage_wall_4k ... +3840x1608, 4 frames, 4x2 tiles, 8 tile threads: 8.07s wall, 0.50 fps +| stage | ms | ms/frame | % of wall | +| tile search | 4913 | 1228.3 | 60.9% | +| tile write | 238 | 59.6 | 3.0% | +| filter: deblock replay | 591 | 147.8 | 7.3% | +| filter: cdef replay | 676 | 169.0 | 8.4% | +| filter: sse | 138 | 34.4 | 1.7% | +| filter search (total) | 2230 | 557.6 | 27.6% | +| capture decode | 12 | 2.9 | 0.1% | +| lr search | 251 | 62.9 | 3.1% | +| filter: plane copies | 696 | 174.0 | 8.6% | +| filter: first decode | 269 | 67.2 | 3.3% | +accounted 94.7% of wall; outside the tile search 39.1% + +3840x1608, 4 frames, 4x2 tiles, 12 tile threads: 8.31s wall, 0.48 fps +| stage | ms | ms/frame | % of wall | +| tile search | 5804 | 1451.0 | 69.9% | +| tile write | 240 | 60.1 | 2.9% | +| filter: deblock replay | 474 | 118.5 | 5.7% | +| filter: cdef replay | 467 | 116.8 | 5.6% | +| filter: sse | 135 | 33.6 | 1.6% | +| filter search (total) | 1684 | 420.9 | 20.3% | +| capture decode | 18 | 4.4 | 0.2% | +| lr search | 242 | 60.6 | 2.9% | +| filter: plane copies | 567 | 141.8 | 6.8% | +| filter: first decode | 268 | 66.9 | 3.2% | +accounted 96.2% of wall; outside the tile search 30.1% +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 583 filtered out; finished in 16.80s + diff --git a/lanes/wall-filter_stage_wall_4k-s10.log b/lanes/wall-filter_stage_wall_4k-s10.log new file mode 100644 index 00000000..dd7fc191 --- /dev/null +++ b/lanes/wall-filter_stage_wall_4k-s10.log @@ -0,0 +1,34 @@ + +running 1 test +test encoder::tests::filter_stage_wall_4k ... +3840x1608, 4 frames, 4x2 tiles, 8 tile threads: 1.21s wall, 3.32 fps +| stage | ms | ms/frame | % of wall | +| tile search | 568 | 142.0 | 47.1% | +| tile write | 30 | 7.4 | 2.4% | +| filter: deblock replay | 85 | 21.4 | 7.1% | +| filter: cdef replay | 8 | 2.1 | 0.7% | +| filter: sse | 27 | 6.7 | 2.2% | +| filter search (total) | 453 | 113.2 | 37.5% | +| capture decode | 0 | 0.0 | 0.0% | +| lr search | 0 | 0.0 | 0.0% | +| filter: plane copies | 139 | 34.7 | 11.5% | +| filter: first decode | 188 | 47.0 | 15.6% | +accounted 87.0% of wall; outside the tile search 52.9% + +3840x1608, 4 frames, 4x2 tiles, 12 tile threads: 0.97s wall, 4.14 fps +| stage | ms | ms/frame | % of wall | +| tile search | 473 | 118.4 | 49.1% | +| tile write | 27 | 6.8 | 2.8% | +| filter: deblock replay | 90 | 22.6 | 9.3% | +| filter: cdef replay | 7 | 1.9 | 0.8% | +| filter: sse | 26 | 6.4 | 2.6% | +| filter search (total) | 342 | 85.4 | 35.4% | +| capture decode | 0 | 0.0 | 0.0% | +| lr search | 0 | 0.0 | 0.0% | +| filter: plane copies | 126 | 31.4 | 13.0% | +| filter: first decode | 148 | 36.9 | 15.3% | +accounted 87.3% of wall; outside the tile search 50.9% +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 583 filtered out; finished in 2.49s + diff --git a/lanes/wall-filter_stage_wall_4k-s3.log b/lanes/wall-filter_stage_wall_4k-s3.log new file mode 100644 index 00000000..c09e9e93 --- /dev/null +++ b/lanes/wall-filter_stage_wall_4k-s3.log @@ -0,0 +1,34 @@ + +running 1 test +test encoder::tests::filter_stage_wall_4k ... +3840x1608, 4 frames, 4x2 tiles, 8 tile threads: 5.59s wall, 0.72 fps +| stage | ms | ms/frame | % of wall | +| tile search | 2710 | 677.5 | 48.5% | +| tile write | 94 | 23.6 | 1.7% | +| filter: deblock replay | 572 | 143.1 | 10.2% | +| filter: cdef replay | 706 | 176.6 | 12.6% | +| filter: sse | 178 | 44.5 | 3.2% | +| filter search (total) | 2422 | 605.5 | 43.4% | +| capture decode | 0 | 0.0 | 0.0% | +| lr search | 0 | 0.0 | 0.0% | +| filter: plane copies | 690 | 172.6 | 12.4% | +| filter: first decode | 288 | 71.9 | 5.1% | +accounted 93.6% of wall; outside the tile search 51.5% + +3840x1608, 4 frames, 4x2 tiles, 12 tile threads: 4.54s wall, 0.88 fps +| stage | ms | ms/frame | % of wall | +| tile search | 2379 | 594.7 | 52.4% | +| tile write | 84 | 20.9 | 1.8% | +| filter: deblock replay | 437 | 109.4 | 9.6% | +| filter: cdef replay | 515 | 128.7 | 11.3% | +| filter: sse | 145 | 36.2 | 3.2% | +| filter search (total) | 1818 | 454.4 | 40.0% | +| capture decode | 0 | 0.0 | 0.0% | +| lr search | 0 | 0.0 | 0.0% | +| filter: plane copies | 535 | 133.8 | 11.8% | +| filter: first decode | 242 | 60.6 | 5.3% | +accounted 94.3% of wall; outside the tile search 47.6% +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 583 filtered out; finished in 10.56s + diff --git a/lanes/wall-filter_stage_wall_4k-s6.log b/lanes/wall-filter_stage_wall_4k-s6.log new file mode 100644 index 00000000..bd30b2bc --- /dev/null +++ b/lanes/wall-filter_stage_wall_4k-s6.log @@ -0,0 +1,34 @@ + +running 1 test +test encoder::tests::filter_stage_wall_4k ... +3840x1608, 4 frames, 4x2 tiles, 8 tile threads: 2.66s wall, 1.50 fps +| stage | ms | ms/frame | % of wall | +| tile search | 1249 | 312.2 | 46.9% | +| tile write | 57 | 14.2 | 2.1% | +| filter: deblock replay | 209 | 52.4 | 7.9% | +| filter: cdef replay | 248 | 61.9 | 9.3% | +| filter: sse | 72 | 17.9 | 2.7% | +| filter search (total) | 1186 | 296.6 | 44.5% | +| capture decode | 0 | 0.0 | 0.0% | +| lr search | 0 | 0.0 | 0.0% | +| filter: plane copies | 290 | 72.4 | 10.9% | +| filter: first decode | 147 | 36.6 | 5.5% | +accounted 93.5% of wall; outside the tile search 53.1% + +3840x1608, 4 frames, 4x2 tiles, 12 tile threads: 2.72s wall, 1.47 fps +| stage | ms | ms/frame | % of wall | +| tile search | 1433 | 358.2 | 52.7% | +| tile write | 63 | 15.7 | 2.3% | +| filter: deblock replay | 259 | 64.7 | 9.5% | +| filter: cdef replay | 305 | 76.2 | 11.2% | +| filter: sse | 94 | 23.5 | 3.5% | +| filter search (total) | 1072 | 268.0 | 39.5% | +| capture decode | 0 | 0.0 | 0.0% | +| lr search | 0 | 0.0 | 0.0% | +| filter: plane copies | 340 | 84.9 | 12.5% | +| filter: first decode | 175 | 43.8 | 6.4% | +accounted 94.5% of wall; outside the tile search 47.3% +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 583 filtered out; finished in 5.80s +