Skip to content

How can I distinguish gradient banding from a moving seam on a swapped face?

Create an exaggerated banding reference by quantizing luma on a review copy. Banding follows tone contours across a surface, while a compositing seam often follows the boundary of a moving subject.

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

The demonstration groups nearby luma levels in steps of sixteen. Look at a neon wall and compare those deliberately visible contours with the shape of the suspected fault.

shell
ffmpeg -i neon-result-v1.mp4 -filter_complex "[0:v:0]format=yuv420p,lutyuv=y='floor(val/16)*16'[proof]" -map "[proof]" -fps_mode passthrough -c:v ffv1 inspection.mkv

Read the result

Patterns spreading across the wall as lighting changes suggest grading or compression. A line anchored to hair deserves a separate check of the actor outline.

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

Never use the demonstration quantization as a repair. Compare the native download and the platform transcode at equal size before changing the source or requesting another generation.

Sources

Review the result in context.

Compare the recorded example and its documented limitations.

See the recorded example