PDA

View Full Version : Help needed for deinterlacing PAL source...


zymbalist
22nd December 2002, 12:32
hi all,
I have an interlaced PAL source. What is the best avisynth plugin to deinterlace it?
I use
Avisynth 2.5 latest alpha
Mpeg2Dec3 v.0.94
and I load a DVD2AVI 1.76 d2v project file into avisynth...

I tried FieldDeinterlace from latest Decomb, but when I tried to load the avs file into Windows Media Player, Windows would run out of memory and crash ( I have a P4 2.4 Ghz with 512 MB of Ram of Win XP Pro SP1)....Please let me know of the best de interlacer for PAL sources...Many thanks!

iago
22nd December 2002, 13:12
Somebody asking for "the best" again! :D

Hoox
22nd December 2002, 15:32
I also got a problem doing the same thing.

I tryed alot of different combinations but none of them has worked.

Some I tryed was:

LoadPlugin("MPEG2Dec3.dll")
LoadPlugin("UnDot.dll")
LoadPlugin("SmoothDeinterlacer.dll")
InputVideo = MPEG2Source("E:\4.3.d2v")
SmoothDeinterlace(tff=true, doublerate=true)
Crop(11,0,700,574)
LanczosResize(640,480)
UnDot()


When I try to use SmoothDeinterlace in any combination, vdub just closes itself after I loaded the avs. Alsp tryed TomsMoComp, SeperateFields() and VerticalReduceBy2 but nothing seems to work right. Does anyone know what Im doing wrong?

manono
22nd December 2002, 15:42
Hi-

You have to include the path to those various .dlls. To make it easier for you until you get the hang of it, you might try using GKnot to create the basic .avs for you, and then edit it to add those specialized filters.

Hoox
22nd December 2002, 16:51
I have done that, just edited the code for you to make it more simple :D

Randolf Flag
22nd December 2002, 17:11
Try replacing :- InputVideo = MPEG2Source("E:\4.3.d2v")

With :- MPEG2Source("E:\4.3.d2v") :)

Hoox
22nd December 2002, 18:56
Tryed that. Doesnt work either :(

Wilbert
22nd December 2002, 19:00
As you can see in the YV12 faq, smoothdeinterlacer isn't a v2.5 plugin.

zymbalist
22nd December 2002, 19:49
thanks for the replies, but all these posts have not answered my original question....what is the best deinterlacer I can use with the configuration I have described above?

Randolf Flag
22nd December 2002, 20:16
There is no "the best", only your eyes will tell you the method that
works "best" for you.

Try:-

VerticalReduceBy2() or
SeparateFields().SelectEven() or
TomsMoComp(1,5,0)(these parameters may work,its best to read up on TomsMoComp)
Finally because I'm a well balanced individual, you could try
FieldDeinterlace() (read up on Decomb and check to see that it works
in 2.5 I use 2.7) :)

edited.
(I removed the reference to GreedyHMA as I don't think this works in
2.5 yet)

Note:- These methods are in no particular order ;)

edited again.
Just noticed, when cropping, use even values i.e. Crop(12,0,700,574)

jang0
22nd December 2002, 20:41
Another great possibility is to leave the video stream interlaced (use xvid and activate interlaced to do so. of course don't use any deinterlacer before encoding) and deinterlace it during playback which is possible with the ffdshow filter. The latest alpha releases let you choose between various deinterlacing methods. i've just tested that with an example clip and the results were pretty nice :)
if you want to filter the video before encoding, put SeparateFields() at the beginning and Weave() at the end of your filter chain (could degrade encoding speed a bit though)

neuron2
23rd December 2002, 04:20
Originally posted by zymbalist
I tried FieldDeinterlace from latest Decomb, but when I tried to load the avs file into Windows Media Player, Windows would run out of memory and crash ( I have a P4 2.4 Ghz with 512 MB of Ram of Win XP Pro SP1 That should not be happening. Please post the script that fails and tell me what versions of Decomb and Avisynth you are using.

zymbalist
23rd December 2002, 10:25
Thanks all for your replies.
I used FieldDeinterlace() with Avisynth 2.07 and Mpeg2Dec2 and everything worked fine. I use CCE to encode, therefore XViD is of little use to me...
What are the optimal setting to include in the FieldDeinterlace brackets for an interlaced PAL source? Is the default fine? I tried Smooth deinterlace, but that's significantly slower than decomb during encoding and did not produce better images...

neuron2, the script is very basic:
LoadPlugin(MPEG2DEC3)
LoadPlugin(DECOMB)
Mpeg2Source=(TEST.D2V)
FieldDeinterlace()
ConvertToYUY2 (I am using Avisynth 2.5 latest alpha) and Mpeg2Dec3 v.0.94 and of course Decomb 4.01

I have checked all paths of course....