What is Deinterlacing?
Deinterlacing converts interlaced video, which stores each frame as two half-pictures, into full frames. Without it, moving objects show comb-like horizontal lines on modern screens.
How Deinterlacing works
Interlaced video splits every frame into two fields: one with the odd rows and one with the even rows, recorded a fraction of a second apart. Old TVs drew them in turn. Phones and computer screens draw whole frames, so the two fields have to be merged. Where something moved between the fields, simply weaving them together leaves jagged edges, so a deinterlacer fills in the missing rows from neighboring rows and frames.
Key facts
- The “i” in formats such as 1080i, 576i and 480i means interlaced, and the “p” in 1080p means progressive.
ffmpeg -i input.mts -vf yadif output.mp4deinterlaces with FFmpeg’s widely used yadif filter.- A deinterlacer can output one frame per pair of fields, giving 25 or 30 frames per second, or one frame per field, giving smoother 50 or 60.
When Deinterlacing matters
Deinterlace footage from broadcast TV, DVDs and older camcorders before publishing it online. Video from phones and current cameras is already progressive and should be left alone.