Every "why does my face swap flicker" thread ends in the same place: the model. It usually is not the model. It is the frame rate of the file you fed it.

What actually happens

A phone clip is often variable frame rate (VFR). The container says 30 fps, but individual frames are 28.7, 31.2, 29.9 ms apart. A per-frame pipeline that assumes a constant step will drift against the audio, and after a minute the mouth is visibly out of sync - which people read as "the swap is bad".

Two more consequences:

  • Re-detection cadence. If landmarks are recomputed on a fixed frame stride, a VFR clip recomputes them at irregular real times. Fast head turns land between detections and the jaw lags for a frame or two.
  • Seam shimmer. When the mask is regenerated per frame, small differences in the detected face box make the blend edge breathe. On a constant-rate clip this is stable; on VFR it pulses.

The check that takes 20 seconds

ffprobe -v error -select_streams v:0 \ -show_entries stream=r_frame_rate,avg_frame_rate,nb_frames \ -of default=nw=1 input.mp4 

If r_frame_rate and avg_frame_rate differ, the file is VFR. nb_frames tells you the true count, which is what you should compare against after processing.

If you are doing the swap yourself, convert to constant frame rate first:

ffmpeg -i input.mp4 -vsync cfr -r 30 -c:v libx264 -crf 18 out.mp4 

Then the rest of the pipeline can assume a fixed step, and the seam stops pulsing.

What to look for in a hosted tool

If you are using a browser tool rather than a local pipeline, the same question applies, you just cannot run ffprobe on the intermediate. Ask whether the tool normalises to CFR before per-frame work, and test with a screen recording - screen captures are the most VFR-heavy input most people have.

I work on FaceSwapAI, which takes videos up to 10 minutes and group photos up to 10 faces, HD, no watermark. The frame-rate question is the first thing worth testing on any clip you care about.