12-02-2005, 09:37 PM
|
Free Member
|
|
Join Date: Aug 2004
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hey everyone, I've just started to learn avisynth scripting as i've seen the results and they are :P :P :P  (Freaking great). So anyway i checked out http://www.kvcd.net/forum/viewtopic....990ab1e4cf0317 (Dialhot's Optimal Avisynth Scripts section). I saw
Quote:
AviSource("PATH\NAME.avi",false)
BlindPP(cpu=4)
Blockbuster(method="noise",detail_min=1,detail_max =3,variance=0.1,seed=1)
Convolution3D(1, 6, 12, 6, 8, 2.8, 0)
GripCrop(WIDTH, HEIGHT, overscan=1, source_anamorphic=false)
GripSize(resizer="LanczosResize")
Undot()
TemporalSoften(2,7,7,3,2)
DCTFilter(1,1,1,1,1,1,0.5,0)
#Blockbuster(method="noise",detail_min=1,detail_ma x=10,variance=0.3,seed=5623)
GripBorders()
|
I am wondering whether I should place the above code in the one below from the optimal scripts section. (It says use for DVD or clean material). I'am wondering because I saw the below script in a guide to convert Avi to kvcd. Or is the above script a fully seperate one from below? Thanx for all your help
Quote:
## DLL Section ##
#
LoadPlugin("C:\Filters25\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\GripFit_YV12.dll")
LoadPlugin("C:\Filters25\STMedianFilter.dll")
LoadPlugin("C:\Filters25\asharp.dll")
LoadPlugin("C:\Filters25\unfilter.dll")
LoadPlugin("C:\Filters25\undot.dll")
#
####
## Main section and static filters ###
#
Mpeg2Source("Your_D2V_Source_Here")
#
undot()
asharp(1, 4)
GripCrop(Your_GripCrop_Parameters_Here)
GripSize(resizer="BicubicResize")
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))
#
#
## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual )
# This will apply variable temporalsoften
# and variable blur.
# Both filters are active at all times, and work inversely proportional to the
# activity, measured from current frame to next frame.
ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ")
#
#
#
GripBorders()
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!
#
#
## Functions ###
function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}
#
####
|
|
Someday, 12:01 PM
|
|
Site Staff / Ad Manager
|
|
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
12-02-2005, 10:21 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi kvcdman,
They are two very different scripts. One for AVI material, and the other one for DVD material.
Also, one uses motion adaptive filtering, and the other one doesn't.
-kwag
|
12-02-2005, 10:50 PM
|
Free Member
|
|
Join Date: Aug 2004
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Oh I see what you mean. One is specifically used for avi's while the other for dvd's. Alright man thanx for clearing it up.
|
12-02-2005, 10:59 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Just remember that the MA script, the second one, is really a general purpose motion adaptive filtering template, and can be well optimized by removing/tweaking/adding changes 
So use it as a starting point, and customize it to your needs.
-kwag
|
12-03-2005, 02:25 PM
|
Free Member
|
|
Join Date: Aug 2004
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Alright man thanx
|
All times are GMT -5. The time now is 07:56 AM — vBulletin © Jelsoft Enterprises Ltd
|