Log in

View Full Version : My VHS script: Comments/Criticisms?


xiaNaix
8th October 2003, 14:20
I'm an Avisynth newbie and am in the process of converting some of my old VHS tapes to DVD-R. I've experimented with alot of scripts posted here and at various forums. Combining bits and pieces and reading lots of posts has lead to the following script.


AviSynth_plugin_directory="C:\Program Files\AviSynth 2.5\plugins\"

LoadPlugin(AviSynth_plugin_directory+"ChromaShift.dll")
LoadPlugin(AviSynth_plugin_directory+"Cnr2.dll")
LoadPlugin(AviSynth_plugin_directory+"FluxSmooth.dll")
LoadPlugin(AviSynth_plugin_directory+"GuavaComb.dll")
LoadPlugin(AviSynth_plugin_directory+"PeachSmoother.dll")
LoadPlugin(AviSynth_plugin_directory+"Undot.dll")

AVISource("filename.avi")

Undot()
ChromaShift(L=-2)
GuavaComb(Mode="NTSC", Recall=75, MaxVariation=5, Activation=90)
SeparateFields()
PeachSmoother()
Weave()
FluxSmooth(2,-1)
Cnr2("xxx",4,5,255)
Limiter()
LanczosResize(352,480)


My test encodes have resulted in great looking output but, before comitting the script to final usage, I'd like to know what others here think. As I said, I'm pretty green when it comes to this stuff. :D

Guest
8th October 2003, 17:11
I think that you are suffering from typical newbie "filteritis". :)

xiaNaix
8th October 2003, 21:22
What would you recommend I remove from my diet? ;)

Wilbert
8th October 2003, 21:23
FluxSmooth and CNR2, and try to tweak the settings of Peach a bit.

Boulder
9th October 2003, 06:30
Yep, I'd be very careful with CNR2 - in fact I wouldn't use it at all. It seems to bomb unexpectedly, causing random errors in TMPGEnc and CCE.

Maybe someone could fix it, IIRC the source code is available. There's always a need for a good chroma-only denoiser for us analog capture freaks. Don? :)

JuanC
9th October 2003, 06:48
This is my suggestion: AVISource("filename.avi")
SeparateFields()
GuavaComb(Mode="NTSC", Recall=75, MaxVariation=5, Activation=90)
PeachSmoother()
Weave()
Limiter()
LanczosResize(352,480)
You don't need to load your plug-ins if they are already in the autoload directory

GuavaComb & PeachSmoother are aware of interlaced / field-separated video and work better when applied before any other filter.

I assume your source is interlaced and the original heigth is 480, and you want to keep it that way. Then you must be careful of the filters you use. Undot and fluxsmooth must be used on progressive material. I don't know about CNR.

For better results you could tweak Guava & Peach parameters