mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-14 13:27:13 +00:00
Separate rendering from encoding for maximum render throughput: - render_animated_raw_then_encode: paint→I420→file, then FFmpeg batch - render_only benchmark: pure paint+convert speed without any encode Benchmark (macOS, 30 frames, 1080p, CPU raster): render only (paint+I420): 153ms (5.1ms/frame) raw render + FFmpeg batch: 308ms (10.3ms/frame) native openh264 in-process: 331ms (11.0ms/frame) FFmpeg VideoToolbox pipe: 348ms (11.6ms/frame) Render-only is 2.7-7.8x faster than Chrome CDP (14-40ms).