mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-14 18:01:20 +08:00
9f73d15807
Per-frame in-memory alpha compositing: Chrome screenshots DOM with transparent background (PNG alpha), FFmpeg extracts native HLG/PQ frames as 16-bit PNG. DOM pixels (sRGB RGBA8) composited over HDR (rgb48le) via 256-entry sRGB-to-HLG/PQ LUT. Pure Node.js PNG decoder, single-pass FFmpeg extraction, native HDR detection before SDR conversion. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>