What the lines are
An interlaced frame is made of two fields. One field holds the odd lines of the picture, the other holds the even lines, and the camera captures them a fraction of a second apart. On an old tube TV that worked well, because the screen drew one field and then the other.
Phones, computers and modern TVs draw the whole frame at once. Anything still looks fine, but anything that moved between the two fields appears twice, offset by a few pixels, on alternating lines. That is the comb or "zipper" effect along edges, most visible on people walking, panning shots and text.
It is not damage. The information is all there; it just needs to be put back together.
Which cameras record interlaced video
- Standard-definition camcorders, 480i and 576i: JVC Everio .MOD, DVD camcorders (.VOB) and MiniDV tapes. Our Everio sample is 720 × 480, top field first.
- HD camcorders, 1080i: most AVCHD (.MTS) models from roughly 2006 to 2011, plus HDV tape camcorders. Our Sony HDR-CX6, Canon HG10 and Panasonic HDC-SD5 samples are all interlaced, top field first. See the AVCHD guide.
- Usually not compact digital cameras: the Motion JPEG AVI and MOV clips from 2000s point-and-shoots in our video formats guide are progressive. If a digicam clip has lines, check the file before assuming it is interlaced.
You can check a file yourself. ffprobe -v error -select_streams v -show_entries stream=field_order -of csv=p=0 clip.MTS prints tt or bb for interlaced video (top or bottom field first) and progressive for progressive video.
What we measured
We converted a 24-second 1080i clip from a Canon HG10 three ways with ffmpeg 9.0.1 on an Apple M3 Mac, using the same quality setting each time, and ran ffmpeg's interlace detector (idet) on each result.
| Conversion | Frames per second out | Frames still detected as interlaced | File size | Time to convert |
|---|---|---|---|---|
| No deinterlace filter | 25 | 600 of 600 | 39.0 MB | 16 s |
| yadif (default) | 25 | 4 of 600 | 29.2 MB | 17 s |
| bwdif (default) | 50 | 4 of 1,200 | 31.4 MB | 25 s |
Three things stand out. Without a filter, ffmpeg labelled the output as progressive, yet every frame still had the lines. Deinterlacing made the file about a quarter smaller at the same quality setting, because the comb pattern is expensive to compress. And bwdif, by default, turns each field into its own frame, so the 25 fps clip became 50 fps with smoother motion; yadif keeps the original frame rate unless you ask otherwise. On our JVC Everio clip, yadif took the count from 495 of 495 interlaced frames to 6 of 495.
Remove the lines free with ffmpeg
For 1080i AVCHD footage:
ffmpeg -i clip.MTS -vf "bwdif=deint=interlaced,scale=1920:1080,setsar=1" -c:v libx264 -crf 20 -pix_fmt yuv420p -c:a aac -ac 2 -b:a 192k -movflags +faststart clip.mp4
For standard-definition 16:9 footage such as Everio MOD files:
ffmpeg -i MOV001.MOD -vf "bwdif=deint=interlaced,scale=854:480,setsar=1" -c:v libx264 -crf 20 -pix_fmt yuv420p -c:a aac -b:a 192k -movflags +faststart MOV001.mp4
- Swap
bwdifforyadifif you want the original frame rate (25 or 30 fps) and a slightly smaller, faster file. deint=interlacedtells the filter to leave frames alone unless they are marked interlaced, so it won't soften a progressive clip by mistake.- Both filters read the field order from the file, so you don't need to know whether it is top or bottom field first.
- Use 640:480 instead of 854:480 for 4:3 footage, and 1024:576 for 16:9 PAL footage.
yadif or bwdif?
Both are free filters built into ffmpeg, and both did the job on our clips. yadif is the older, very widely used one. bwdif is newer; FFmpeg's documentation describes it as motion-adaptive deinterlacing based on yadif with extra interpolation. Our results differed mainly in frame rate, because of their defaults. For family footage with lots of movement, the 50 or 60 fps output from bwdif looks closer to how it looked on a TV at the time. For a smaller file, use yadif.
HandBrake and VLC
HandBrake has the same filters behind buttons. In the Filters tab, set Deinterlace to Yadif or Bwdif (older versions call the smart option Decomb). We did not run HandBrake for this article.
VLC can deinterlace while it plays: on a computer, open the Video menu and turn Deinterlace on, and choose a mode such as Yadif. That only changes what you see. The file keeps its lines, so anything else you open it in will still show them.
On iPhone: Camport does it automatically
Our free iPhone app Camport converts old camcorder and camera files (MOD, MTS, M2TS, AVI, MOV and others) to MP4 on the phone. It checks each clip's field order and deinterlaces interlaced video during the conversion, so there is nothing to switch on. The free version converts 3 videos a day with a small Camport mark; a one-time purchase removes both.
When not to deinterlace
If the footage is progressive (ffprobe says progressive), forcing a deinterlacer on every frame can soften fine detail for no gain. Some camcorders also recorded progressive pictures inside an interlaced stream, which ffprobe may still report as interlaced; if a deinterlaced copy of such a clip looks softer than the original on a still frame, try converting without the filter and compare. The deint=interlaced option covers the common case where only some frames are marked.
Deinterlace once, when you convert from the original file. Doing it again later in an editor, on an already converted file, can't recover what the first conversion lost.
How we tested
Files: 1080i AVCHD clips from a Canon HG10, Sony HDR-CX6 and Panasonic HDC-SD5, and a 480i JVC Everio MOD clip, all from public sample archives. Tools: ffmpeg and ffprobe 9.0.1 on macOS, 26 November 2026; "interlaced frames" counts are ffmpeg's idet multi-frame detection. Times are for one Apple M3 Mac and will vary. Not tested: HandBrake, MiniDV and HDV tape captures.
FAQ
How do I get rid of lines in a video?
If the lines appear on moving things in old camcorder footage, the video is interlaced. Convert it with a deinterlace filter turned on: yadif or bwdif in ffmpeg, Deinterlace in HandBrake, or let Camport do it on iPhone.
Why does my video have lines in it?
Older camcorders recorded interlaced video, two half-pictures per frame taken a moment apart. Modern screens show both halves together, so moving edges look combed.
Should I turn off deinterlacing?
Only for progressive footage. For interlaced camcorder video (MOD, 1080i MTS, MiniDV), leave it on when you convert. Using the deint=interlaced option in ffmpeg makes the filter skip frames that aren't interlaced.
Does deinterlacing reduce quality?
It rebuilds a full frame from two fields, so a still frame can look slightly softer than a perfect progressive picture. Moving scenes look much better without the comb lines, and in our test the file was smaller too.
Is 1080i worse than 1080p?
Not by itself. 1080i records 50 or 60 fields a second, which captures motion smoothly, but it needs deinterlacing to look right on today's screens.
Next step: run the ffprobe check on one clip. If it says tt or bb, convert that clip with the bwdif command and compare a moving scene before and after. For format-specific steps, see the AVCHD (.MTS) guide and the JVC Everio MOD guide.