mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-14 18:01:20 +08:00
b3128666fa
Ubuntu ffmpeg 6.1.1 does not auto-expand TV-swing (limited-range) H.264 pixels to full-range when writing PNG frames. This leaves luma/chroma in the [16,235]/[16,240] swing, producing a systematic ~16-unit Y offset against the Playwright screenshots (which are already full-range sRGB). Add scale=in_range=tv:out_range=pc to the render frame extraction filter to force full-range output on all platforms.