How to Check Interlaced Clips Before Merging Videos
If moving edges look like comb teeth, check the suspect clip for interlacing before you merge videos online. Deinterlace that clip first if your output is meant for progressive playback, then preview motion around the join.
Explore Clipy’s online video tools (affiliate link)
Measured results
We generated two seconds of moving test footage at 60 progressive frames per second and combined alternating lines from consecutive images into top-field-first frames. The resulting MPEG-2 file decoded to 60 frames. FFmpeg's multi-frame detector classified all 60 as top-field-first and zero as progressive.
- Original: 60 output frames, 0 classified progressive.
- One frame per input frame: 60 output frames, 56 classified progressive.
- One frame per input field: 120 output frames, 114 classified progressive.
Both deinterlacing passes used the same source and the same detector. The frame-rate pass classified four frames as top-field-first, while the field-rate pass classified six that way. These are detector votes on the resulting pictures. When the scores disagree with the output settings, step through movement and inspect the edges before drawing a conclusion from the votes.
In this test, changing the deinterlacing mode doubled the frame count without doubling the clip length. If your other clips are 30 fps and you want that cadence throughout the edit, start with the one-frame-per-input-frame pass. If motion detail is the priority, preview the field-rate version and check that your merger exports at the frame rate you want.
Repeat the check
Download the Node.js reproduction script and run it in an empty folder with FFmpeg on your path. It creates the test MPEG and writes the three detector summaries. For your own clip, run ffmpeg -i input.mpg -vf idet -an -f null - and read the multi-frame totals.