Log in

View Full Version : Deinterlace filter in script.....?


dvwannab
30th September 2004, 02:17
Gang,

A little help for an AviSynth newby. I want to clean up a VHS tape of noise and deinterlace also (bottom field first) and then encode to DivX/XviD in VDMod. I am not sure where to place my KernelDeint or TomsMoComp filter in the chain. Could someone point me where to place? Also, am I on the right track with this script below for what I am trying to do? Anything else needed? Thanks. Script below:

LoadPlugin("Convolution3d.dll")
LoadPlugin("Reinterpolate411.dll")
avisource("D:\2002 Florida\florida1.avi")
ConverttoYUY2(interlaced=true)
ReInterpolate411()
crop(8,2,-8,-14)
SeparateFields()
odd=SelectOdd.Convolution3D (0, 6, 10, 6, 8, 2.8, 0)
evn=SelectEven.Convolution3D (0, 6, 10, 6, 8, 2.8, 0)
Interleave(evn,odd)
Weave()
DoubleWeave.SelectOdd()
AddBorders(0,8,0,8 )
LanczosResize(384x288)
CovertToRGB(interlaced=false)

dvwannab
30th September 2004, 20:39
can anyone coach me up.

Video Dude
30th September 2004, 20:56
Originally posted by dvwannab
can anyone coach me up.


I modified the script you posted.


LoadPlugin("Convolution3d.dll")
LoadPlugin("Reinterpolate411.dll")
AviSource("C:\video.avi")
ConvertToYUY2(interlaced=true)
ReInterpolate411()
KernelDeint(order=0) # or TomsMoComp
Crop(8,2,-8,-14)
AddBorders(0,8,0,8)
Convolution3D (0, 6, 10, 6, 8, 2.8, 0)
LanczosResize(384,288)
ConvertToRGB24(interlaced=false)



You don't need SeparateFields(), Weave(), etc, since deinterlacing makes it progressive. They are only used when you keep it interlaced.

joshbm
1st October 2004, 05:02
I know it's opinion, but try TDeint ;).

dvwannab
1st October 2004, 20:50
Video Dude,
Thanks Video Dude, that is much appreciated.

Joshbm,

What is TDeint?

DarkNite
2nd October 2004, 08:25
Another motion adaptive deinterlacer and smart bobber.

http://forum.doom9.org/showthread.php?s=&threadid=82264

dvwannab
13th October 2004, 17:58
Thanks DarkNite!!!!!!