Log in

View Full Version : How to deinterlace?


t49lnh3ybt
21st October 2006, 16:18
Hi, I want to deinterlace a football match(the source is PAL and MPEG2 file) but, I'm totally new to deinterlacing.

I found that screenshots from the football match looks diffrent on windows media player and virtual dub.

WMP -> http://img215.imageshack.us/my.php?image=1463663371102012260mpg000147720rj0.jpg
Virtualdub -> http://img92.imageshack.us/my.php?image=vdqv6.png

The picture looks better on WMP but, I'm not satisfied with the picture.
If it is deinterlaced, would I get better picture? This is the whole point that I want to deinterlace it.

I've tried to find a tutorial for deinterlacing using avisynth on this forum but, I couldn't find it. I can't access to avisynth.org as well. Is there any tutorial for me?

Thanks.

Awatef
21st October 2006, 18:12
Say, does it have to be converted?
If not, try playing it in WinDVD 7, it has very good deinterlacing techniques.

Else, if you have to convert it, you process it like you would process a VOB file from a DVD.
The Avisynth script will then look like this:

...
MPEG2Source("xxx.d2v")
TomsMoComp(yyy)
...

Here I use the TomsMoComp plug-in. There are methods that may be better for your source. Make a search for "deinterlacing" here, you may find other good plug-ins.

Notice that the deinterlacer comes directly after the MPEG2Source line to avoid any modifications before it kicks in.

t49lnh3ybt
25th October 2006, 20:11
MPEG2Source("xxx.d2v") doesn't work for me.. The avs produces an error when I open it with Virtualdub.

The error message is
Avisynth open failure:
Script error: there is no function named "MPEG2Source"

I've found that there wasn't "mpeg2dec.dll" in the avisynth folder. Where can I download proper avisynth which has mpeg2dec.dll?

TomsMoComp(yyy) What should I input instead of y?

niann
25th October 2006, 21:13
What version of AviSynth are you using?

t49lnh3ybt
25th October 2006, 21:40
it's 2.5. I downloaded avisynth 2.56 from http://sourceforge.net/project/showfiles.php?group_id=57023
but, mpeg2dec.dll wasn't in it.

Guest
26th October 2006, 00:16
I've found that there wasn't "mpeg2dec.dll" in the avisynth folder. Where can I download proper avisynth which has mpeg2dec.dll? You can get the mpeg2source() filter in the DGDecode DLL contained in the DGMPGDec package:

http://neuron2.net/dgmpgdec/dgmpgdec.html

Read the quick start guide to get up to speed quickly.

t49lnh3ybt
26th October 2006, 10:39
Thanks it's working fine. Now let's move on to deinterlacers.

TomsMoComp(yyy) What should I input instead of y?

Do I have to download it? If I have to, where can I download it?
And How can I save the deinterlaced file on Virtualdubmod?

Blue_MiSfit
26th October 2006, 11:42
You need to do some research my friend :)
http://www.avisynth.org/warpenterprises/ is a good resource for most plugins.

Read the documentation :)

~MiSfit