Log in

View Full Version : How to Deinterlace AVI?


Snollygoster
12th March 2003, 00:25
Hi people, I am sorry if this has been replied before, I went through some older threads and I did not find any accurate and not-outdated information. My time is limited so quickie question for you gurus.

When I was young and DivX was young I didn't deinterlace properly some PAL Friends DVD-Rip Episodes, so I have these annoying horizontal lines in my AVI files. Is there anyway, any filter that I can use (I prefer AviSynth v2.50) to get rid of these thing?

Thank you in advance, I really appreciate any answer.

DJ Bobo
12th March 2003, 00:29
BlendFields()

You may use unfilter after it to sharpen the image, as deinterlacing blurs the image quite a bit.
Good values are unfilter(50) to (80)

Snollygoster
12th March 2003, 00:35
Originally posted by DJ Bobo
BlendFields()

You may use unfilter after it to sharpen the image, as deinterlacing blurs the image quite a bit.
Good values are unfilter(50) to (80)

Is Blend fields implemented in AviSynth or I need to download a filter? What about unfilter?

Thank you so much for the quick reply.

DJ Bobo
12th March 2003, 01:20
unfilter is an external plugin

blendfields is included within mpeg2dec.dll

If you don't use mpeg2dec.dll (mpeg2dec3.dll instead for example), you'll have to use an alternative which is the decomb plugin.
Within the decomb plugin you have the function

FieldDeinterlace(full=true)

Which will deinterlace like blendfields()

Snollygoster
12th March 2003, 01:25
ah ok this is what I am using (decomb) but it doesn't seem to completely get rid of the vertical lines. I also have some "ghost" like scenes.

DJ Bobo
12th March 2003, 01:53
deinterlacing must be done before resizing, that's very important.

Ghosting is normal, you've gotta live with it (or buy the NTSC version :D)

Snollygoster
12th March 2003, 02:45
Thank you so much for the replies.

I don't do any resize. Clips have been resized the first time I encoded them.

DJ Bobo
12th March 2003, 02:54
That's bad, once you converted them to DivX, it's difficult to deinterlace afterwards, as the clip is not field based anymore.

If you're not satisfied with the results, you may try the deinterlace filter in VirtualDub (keep it on blend)