CraftApril 15, 2026 · 5 min read

How we loop 4K video seamlessly

A loop that stutters at the join breaks the illusion in an instant. The eye is very good at catching the jump. Making it disappear is less about clever code and more about discipline in the source.

Match the first and last frame

Every Nocturne loop is authored so the closing frame flows into the opening one. We cross-check motion vectors at the boundary and nudge the cut until nothing moves across it that should not.

If you can see where it repeats, we have not finished.

Encode without a keyframe scar

HEVC encoders like to place a heavy keyframe at the start of the file. Played on repeat, that frame can flash brighter than the rest. We tune the GOP structure so the loop point carries no visual weight.