Skip to content

Deinterlacing

Harry Munday edited this page May 19, 2023 · 12 revisions

The Joy of Analouge Commpression

Interlacing was orignally intended and is to this still to this day of writing the first edition, still used for analouge & digital TV transmission systems as it takes half the signal and data bandwith to trasmit or encode interlaced then full progressive video frames this is why 1080i is still common even in the 2020s with HDTV 1440x1080i for example.

Is there somthing I'm missing?

In proper editing and mastering suits you need to set your display to NTSC/PAL correctly even in PAL land any pannel you buy will be 60hz in the digital era.

So ensure your display is set to 50hz PAL and 60hz NTSC (100hz/120hz for high refresh rate monitors) to have accurate playback of media this goes for progressive content too.

If you cant do this on your computer display you need to use a TV or a CRT display ideally for checking as all modern TV's have support for native interlaced signals and progressive ones.

PC you need to adjust this on Nvida/AMD or Intels control pannel.

Apple also has support for this and modes like inverse telecine for basic hardware de-interlacing there new Macbook Pro models support standard displayrate modes.

Acronyms

i = Interlaced

p = Progressive

fps = Frames Per Second

Hz = Rate of update of frames per second e.g 50hz is 50fps etc etc

What is interlacing?

Analouge video on tape is a buch of lines like a paper shreader in laymans terms, ware as interlaced video is like a printing press making exact cuts of the paper, this is called a field and you need 2 of them to make a single frame of image information on your display.

Now interlaced media is normally 25 fps PAL and 29.97 fps NTSC but commonly you will read it as 50i & 59.97i this is confusing becouse you have consumer naming and broadcast naming.

25 frames a second, displayed at 50 interlaced fields per second.

29.97 frames a second, displayed at 59.97 interlaced fields per second.

Example 1080i to 625i Composite

Interlaced Image (4:3 Anamorphic - White lines are WSS)

De-Interlaced (De-Squeesed 16:9)

1920x1080i (HDMI Output from HDV 1440x1080 Tape Scorce)

Exurb

Digital Video and HD Algorithms and Interfaces 2nd Edition (Charles Poynton 2012-02-07) (PDF Page 173)

What is a de-interlacer?

Its a processing mode or ''filter'' that combines the half frames to make whole progressive video frames.

This is done via combining both fields together, and for motion accurate de-interlacing this also interlpolates the frames dubbling the framerate this is how you get smooth 50p and 59.97p images.

But for film content you want to get an 24fps motion accurate image or 12fps

What decides the de-interlacer I use?

Consumer Video is 25i PAL (50i) 29.97i NTSC (59.94i)

Broadcast Airing is 25i PAL (50i) 29.97i NTSC (59.94i)

Film Content 24p wraped in 25i/29.97i etc

Anime Falls between 12-24fps wraped in 25i/29.97i etc

Movies are always 24fps wraped in 25i/29.97i (Edge cases of modern 48fps etc)

What de-intleracers are there today?

QTGMC via StaxRip or Avisynth+ tools. (to 50p/59.94p)

IVTC / AnimeIVTC via StaxRip or Avisynth+ tools (to 24p/18p etc)

BWDIF/W3DIF via FFmpeg or any FFmpeg based tool. (to 50p/59.94p)

Davinchi Resolves "Nueral Engine" de-interlacer. (still causes vertical artifacts)

Topaz - Just uses BWDIF.

NOTE Weave Mode is Interlaced or Interlacing depending on context (i.g recording or encoding) & tinterlace filter in FFmpeg encodes 50p to 25i interlaced for example.

Shout out to Andrew Swan's posts about QTGMC with Avisynth Who started me down the QTGMC rabbit hole 3 years ago before StaxRip - Harry

Film Frame Rates

Silent films - 16fps

8mm film - 16/18fps (Normally 18fps)

16mm film - 24fps

35mm film - 24fps

70mm film - 24fps

Clone this wiki locally