Skip to content

How do I make a true side-by-side swap comparison when my original and generated MP4 have different frame rates?

Give both viewing copies a common picture height and playback time base, align their starts, and stop at the shorter stream. Retain the native files for checking original pixels and timing.

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

This recipe fits both tracks to the same small review raster at 24 fps before joining them. Verify an obvious gesture after alignment. A shared start does not guarantee the generated performance follows the source precisely.

shell
ffmpeg -i studio.mp4 -i duo-result-silent.mp4 -filter_complex "[0:v:0]setpts=PTS-STARTPTS,fps=24,scale=384:216,setsar=1[a];[1:v:0]setpts=PTS-STARTPTS,fps=24,scale=384:216,setsar=1[b];[a][b]hstack=shortest=1[proof]" -map "[proof]" -fps_mode passthrough -c:v ffv1 inspection.mkv

Read the result

If one dancer reaches a pose earlier, keep that difference visible and report it. Matching frame rate alone cannot align two performances that move differently.

With the synchronized viewing copies of the original and returned living-room clip, the local FFmpeg run decoded 144 video frames at 768 × 216 pixels. The recipe resets timestamps and fits both streams to the same 384 × 216 viewing raster at 24 fps before applying the comparison.

If the first pass falls short

For detailed quality inspection, reopen each original at its native resolution. A small side-by-side export is good for role assignment and timing, not a final sharpness comparison.

Sources

Review the result in context.

Compare the recorded example and its documented limitations.

See the recorded example