Skip to content

How can I recognize color-channel misregistration before repainting hair around a replacement?

Make a deliberately displaced chroma example. Misregistered color can leave opposite colored fringes on unchanged high-contrast edges even if the luma outline is in the right place.

PLAN AN EXTERNAL VIDEO REPAIRAISwapLab team · Editorial methodPublished 2 min read
See the recorded exampleExplore 67 Image SkillsIndependent finishing · Check the actual file

Set up the edit

Apply a small opposite shift to the chroma components. Inspect both hair against the wall and a hard line far from the actor. Compare each with the untouched file.

shell
ffmpeg -i neon-result-v1.mp4 -filter_complex "[0:v:0]chromashift=cbh=2:crh=-2[proof]" -map "[proof]" -fps_mode passthrough -c:v ffv1 inspection.mkv

Read the result

When the actual fault affects distant background lines too, investigate the color pipeline. A fringe confined to the actor deserves local matte inspection.

With the returned neon dance, the local FFmpeg run decoded 158 video frames at 1920 × 1080 pixels. Use the linked file to reproduce the example. This was an offline edit of the existing public clip.

If the first pass falls short

The example introduces a fault to teach its appearance. Avoid shifting channels globally until several unchanged edges agree on the direction and amount.

Sources

Review the result in context.

Compare the recorded example and its documented limitations.

See the recorded example