Skip to content

How do I find stretches that may have frozen during my returned face-swap video?

Run a freeze detector with a duration threshold and inspect its time reports. It can identify passages with very little change; a deliberately held pose may trigger it too.

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

Set the duration to a pause a viewer would notice, such as a quarter second for this test. Review the detection log and look at the face, background and clothing around each reported span.

shell
ffmpeg -i duo-result-silent.mp4 -filter_complex "[0:v:0]freezedetect=n=-50dB:d=0.25[proof]" -map "[proof]" -fps_mode passthrough -c:v ffv1 inspection.mkv

Read the result

An actual playback freeze typically holds the entire decoded picture while the action should continue. A still actor with moving background is a different case and may require a tighter region of interest.

With the returned living-room dance, the local FFmpeg run decoded 158 video frames at 864 × 480 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

If thresholds flag every quiet pose, tighten sensitivity or lengthen the minimum duration. If the log stays empty, inspect any known complaint by hand before ruling it out.

Sources

Review the result in context.

Compare the recorded example and its documented limitations.

See the recorded example