Log in

View Full Version : How to deinterlace from DVD source?


diego gr
4th June 2008, 16:55
I've been reading that VirtualDub's blend deinterlace filter is not the best in quality.
What softwares should I use to deinterlace the VOB video before compressing it to Xvid?

Irakli
4th June 2008, 17:22
What softwares should I use to deinterlace the VOB video before compressing it to Xvid?

AviSynth. I would suggest trying Yadif or Yadifmod+nnedi for relatively fast deinterlacing, MCBob for slow but hq deinterlacing.

HymnToLife
4th June 2008, 17:25
Also, you'll have to make sure your source is really pure interlaced material, and not telecined or a hybrid of the two.

diego gr
4th June 2008, 19:14
Also, you'll have to make sure your source is really pure interlaced material, and not telecined or a hybrid of the two.

how do I see it?
I need some software that shows me the audio delay in vob files too...

Adub
4th June 2008, 20:22
DGindex.

diego gr
4th June 2008, 20:25
What's the best quality AVISynth deinterlace filters for each type of interlacement? (encoding time doesn't matter to me)

HymnToLife
4th June 2008, 20:32
If it's pure interlaced, here's what I use, which is giving pretty decent results, but is awfully slow :

DGDecode_mpeg2source("blah.d2v")
AssumeTFF()
interp = separatefields().EEDI2(field=-2)
tdeint(mode=1,edeint=interp)
SelectEven()

diego gr
5th June 2008, 15:03
Thanks!!
In DGIndex how do I see:
1) Type of interlacement?
2) Audio delay?

HymnToLife
5th June 2008, 16:57
To see whether your source is pure interlaced or just telecined, just open your D2V with mpeg2source with no filtering in VirtualDub. Then look arond in the source: if you see some combing (like this (http://itsuki.fkraiem.org/stuff/SkyGirlsCombing.png)) on every frame, your source is pure interlaced. However, if you only have it in 3 frames out of 5, then it's telecined and can be losslessly reverted (unlike pure interlaced where only half the information is there, and the deinterlacer just "guesses" the other half).

Guest
5th June 2008, 17:25
if you only have it in 3 frames out of 5 Correct is 2 interlaced out for 5 for 3:2 pulldown.

diego gr
5th June 2008, 18:14
HymnToLife
Thanks again! Awesome information!

I have only one movie pure interlaced, so I will deinterlace it with that AVISynth filter and compare to VirtualDub's deinterlace, and post the results here.

EDIT:
I forgot something:
So, when my source is just telecined, I can use VirtualDub's blend deinterlace with good results?

HymnToLife
5th June 2008, 18:15
Correct is 2 interlaced out for 5 for 3:2 pulldown.

It is indeed, thanks for correcting ;)


I forgot something:
So, when my source is just telecined, I can use VirtualDub's blend deinterlace with good results?

No, pure interlaced and telecined are different, and classic deinterlacers, which are meant to be used on pure interlaced material, will give awful results when used on telecined stuff. You'll have to use an IVTC (for InVerse TeleCine) method, just search the forum for this, you'll find lots of information about it.

foxyshadis
8th June 2008, 00:43
To see whether your source is pure interlaced or just telecined, just open your D2V with mpeg2source with no filtering in VirtualDub. Then look arond in the source: if you see some combing (like this (http://itsuki.fkraiem.org/stuff/SkyGirlsCombing.png)) on every frame, your source is pure interlaced. However, if you only have it in 3 frames out of 5, then it's telecined and can be losslessly reverted (unlike pure interlaced where only half the information is there, and the deinterlacer just "guesses" the other half).

The reason this method isn't recommended is because it's too easy to mistake field-shifted progressive for interlaced. Instead, use separatefields() and examine each field individually to see the real cadence. (or remove the first field and reweave if you want full frames)