The first ten frames decide whether a video face swap reads as real
A face swap on a still photo is a one-shot decision. On video it is a decision the model makes again on every frame, and the first ten frames are where that decision gets locked in. I have been running short clips through face swaps and looking at where they fall apart, and the pattern is consistent: if the opening second is clean, the rest usually holds. If it is not, no amount of fixing later…
The opening frames of a video face swap play a crucial role in determining whether it appears realistic. On a still photo, the decision is made once, but in video, the model has to make those decisions every single frame. The first ten frames are especially important, as they set the anchor for the face and everything that follows is measured against this anchor.
If the first few frames are clean and steady, the rest of the video usually follows suit. However, if the opening frames are messy, no amount of editing later frames can salvage the overall effect.
Several factors can cause the opening frames to be problematic: a cut within the first second, occlusion caused by a blink or a hand covering the face, or a mismatch between keyframes. These issues can lead to what is called "identity drift" - a discrepancy between the original face and the swapped face that becomes more noticeable over time.
To avoid this, it's recommended to start with a still image to ensure a settled face before anyone starts speaking. Additionally, it's best to avoid cutting inside the first second and to check for any movement in the first ten frames at a slower speed. Ensuring a constant frame rate and re-encoding the video can also help prevent issues.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to