PDA

View Full Version : Vhs-dvd recorder-Xvid:which filters?


boombastic
29th July 2005, 11:42
I'm trying to convert a dvd recorded from a vhs with a DVD recorder into avi with xvid.
I need to
1) deinterlace
2)correct chroma
3)denoise

reading the guide and the forum i think to use:
1)TomsMoComp
2)GuavaComb & ChromaShift
3)PeachSmoother

This is my script:

LoadPlugin("F:\PROGRA~1\ARCALC~1\dgmpgdec\DGDecode.dll")
LoadPlugin("F:\Programmi\AviSynth 2.5\plugins\ChromaShift.dll")
LoadPlugin("F:\Programmi\AviSynth 2.5\plugins\GuavaComb")
LoadPlugin("F:\Programmi\AviSynth 2.5\plugins\TomsMoComp.dll")
LoadPlugin("F:\Programmi\AviSynth 2.5\plugins\PeachSmoother.dll")
Mpeg2Source("D:\temp\Stargate\stargate.d2v")

Crop(8,8,-8,-8)
TomsMoComp (1,5,1)
ConvertToYUY2(interlaced=false)
PeachSmoother()
GuavaComb(Mode = "PAL", Recall = 75, MaxVariation = 25, Activation = 40)
ChromaShift(C=6)
BicubicResize(640,464,0,0.75)

I attached two images taken directly from the unprocessed vob.
What do you think about it?Any advice for the choice of the filters and their settings?

neuron2
29th July 2005, 14:38
Please read and follow forum rules, specifically rule 9. Thank you.
:readrule:

Are you sure that the video is interlaced and not telecined? The answer would affect whether you should deinterlace versus field match/IVTC.

boombastic
29th July 2005, 15:50
Sorry for the title...
I think that the video is interlaced because dgindex say so.Can you help me?

boombastic
29th July 2005, 18:43
After a lot of searches and readings i found two possible scripts,this is the first one:

LoadPlugin("F:\PROGRA~1\ARCALC~1\dgmpgdec\DGDecode.dll")
#LoadPlugin("F:\Programmi\AviSynth 2.5\plugins\ChromaShift.dll")
LoadPlugin("F:\Programmi\AviSynth 2.5\plugins\GuavaComb.dll")
LoadPlugin("F:\Programmi\AviSynth 2.5\plugins\cnr2.dll")
#LoadPlugin("F:\Programmi\AviSynth 2.5\plugins\TDeint.dll")
#LoadPlugin("F:\Programmi\AviSynth 2.5\plugins\TomsMoComp.dll")
#LoadPlugin("F:\Programmi\AviSynth 2.5\plugins\PeachSmoother.dll")
Mpeg2Source("D:\temp\Stargate\stargate.d2v")


#Deinterlacer

#TDeint(type=0) # slower?
FieldDeinterlace()
#TomsMoComp (1,5,1)


Crop(16,16,-16,-16,)

#Denoiser II

#PeachSmoother()
Cnr2("xxx", 4, 5, 255)
#DeDot() #Where can i download?
ConvertToYUY2(interlaced=false)
GuavaComb(Mode = "PAL", Recall = 50, MaxVariation = 25, Activation = 40)

#TemporalCleaner()


#Resize

BicubicResize(640,464,0,0.75)

#Color correction
#ChromaShift(C=2)
Tweak (Hue=0.0, Sat=1, Bright=-30.0, Cont=1.2)


in the second i'd like to use removegrain and restoreMotionBlocks but i don't know which setting give to RestoreMotionBlocks:
LoadPlugin("F:\PROGRA~1\ARCALC~1\dgmpgdec\DGDecode.dll")
LoadPlugin("F:\Programmi\AviSynth 2.5\plugins\RemoveGrain.dll")
LoadPlugin("F:\Programmi\AviSynth 2.5\plugins\RemoveDirt.dll")
LoadPlugin("F:\Programmi\AviSynth 2.5\plugins\TomsMoComp.dll")
#LoadPlugin("F:\Programmi\AviSynth 2.5\plugins\TDeint.dll")
Mpeg2Source("D:\temp\Stargate\stargate.d2v")

#Deinterlacer

#TDeint(type=0) # slower?
FieldDeinterlace()
#TomsMoComp (1,5,1)

#Denoiser I

RemoveGrain(mode=2)

Crop(16,16,-16,-16,align= true) # align=true is required by removedirt

#Denoiser II
RestoreMotionBlocks(????)

#Resize
BicubicResize(640,464,0,0.75)

#Color correction
#ChromaShift(C=2)
Tweak (Hue=0.0, Sat=1, Bright=-30.0, Cont=1.2)