Skip to content

Why is a keyframe-only preview a poor way to approve every swapped facial expression?

A keyframe-only sample contains encoder-selected intra pictures. Those positions serve compression and seeking, so they need not coincide with blinks, crossings or the first faulty expression.

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

Generate the intra-only inspection and note how many frames remain. Find a moment where the actor turns between those samples, then replay that full-rate interval before judging continuity.

shell
ffmpeg -i duo-result-silent.mp4 -filter_complex "[0:v:0]select='eq(pict_type,I)',showinfo[proof]" -map "[proof]" -fps_mode passthrough -c:v ffv1 inspection.mkv

Read the result

A face that appears sound in every retained keyframe may still break in intervening pictures. Keyframe positions also change when a file is re-encoded, even with the same visible action.

With the returned living-room dance, the local FFmpeg run decoded 1 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

Use full decoding for approvals or for an allegation that particular frames are corrupt. Treat the keyframe sample as a quick navigation aid.

Sources

Review the result in context.

Compare the recorded example and its documented limitations.

See the recorded example