| 1 | # lane h264bd: ec-h264 BD-rate vs x264 veryfast |
| 2 | |
| 3 | ## Result |
| 4 | |
| 5 | No encoder change. Re-measured on the server (host a) at main (3fdbad41): the <= +20% target already holds, |
| 6 | so no RD-tool change was made. The "+20 to +42%" figure in the brief is stale (it is from h264x264-r2); |
| 7 | lanes h264encbd and h264encspeed2 already closed it. Same conclusion as `lanes/h264encbd.report.md`. |
| 8 | |
| 9 | ## BD-rate (before = after, yuv metric, anchor x264 veryfast -bf 0, gate config, QP 22/26/30/34) |
| 10 | |
| 11 | |
| 12 | |
| 13 | | 1080p library fixture (h264-1080p-23.976-8bit.mp4), `scripts/h264-bd.sh` | +12.46% | bits per QP: +7.3, +4.0, +1.3, -2.2% | |
| 14 | | synthetic 352x288 (gate default) | -6.8% (h264encbd; rerun gave bits at or below x264 above QP 30) | | |
| 15 | | film 3840x1608, skip 900 (h264encbd, not available here) | -12.9% | | |
| 16 | |
| 17 | No testsrc2 / mandelbrot / Xiph clips were added: nothing contradicted the target, and the gate method is unchanged. |
| 18 | |
| 19 | ## Fps |
| 20 | |
| 21 | Not re-measured (no code change). Last numbers (h264encspeed2, server shared): 5.58/7.31/8.45/8.54 fps at 1/2/4/6 |
| 22 | threads; local 12.33/18.16/34.83/41.72 fps (1080p, 4 threads: 34.8 fps, above realtime). |
| 23 | |
| 24 | ## Tests, pins |
| 25 | |
| 26 | No source change, so gates are unaffected, no hash pins moved, and the edith pin |
| 27 | (crates/engine/tests/export_default_bytes.rs) does not need to move. |