Skip to content

Can I cover the thin exposed edges after stabilizing a face-swap comparison without enlarging the picture?

A narrow edge extension may hide a few empty border pixels when the outer image is simple. Evaluate a copy at full size because smear fill repeats edge colors and can stretch a person touching the frame.

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

Use the sample to extend eight pixels at each side and four vertically. Inspect a plain wall first, then inspect the same edges where a sleeve or face approaches them during playback.

shell
ffmpeg -i studio.mp4 -filter_complex "[0:v:0]fillborders=left=8:right=8:top=4:bottom=4:mode=smear[proof]" -map "[proof]" -fps_mode passthrough -c:v ffv1 inspection.mkv

Read the result

On textureless walls the repair can be unobtrusive. Repeated stripes along hair or fingers reveal that the filled strip is visible. Document the filled area in the handoff.

With the original living-room dance, the local FFmpeg run decoded 150 video frames at 1280 × 720 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

Choose a slight crop or reframe when important detail touches the edge. A fill creates padding and cannot recover the camera image outside the source.

Sources

Review the result in context.

Compare the recorded example and its documented limitations.

See the recorded example