Fixing Frame-Join Flicker in Long AI-Generated Videos with Per-Join Histogram Regrading

Rehablyte · reddit · 2026-12-02

A Reddit user details a pipeline for fixing brightness flicker at section joins in long AI-generated videos (H3), where the second new frame after each join renders brighter (+5 luma at top, +30 on road). The fix: detect flash frames by comparing mean luma against both neighbors with a threshold of 1; build per-RGB-channel histogram-matching curves instead of plain gain (which turned clipped whites cream due to color temperature); apply the curve non-uniformly using a blurred local-brightness map so roads get corrected more than sky. The flashed frame went from 136.3 to 122.4 luma, matching neighbors at 121.3/123.2. Slow color drift across many sections remains unsolved.

Original post →

More from Multimodal

Multimodal channel →