06-20-2003, 05:38 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi,
I just want to remind you that AVS2.5x has a "autoload" feature for the plugins.
Don't bother yourself anymore with all these "LoadPlugIn" lines, just put all the dll under the "plugin" directory of avisynth. That's it !
I will simplify greatly all your scripts, and the work will also be easier to convert them to dvd2svcd (hi Jorel )
I do it since a long time.
|
Someday, 12:01 PM
|
|
Site Staff / Ad Manager
|
|
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
06-20-2003, 06:46 AM
|
Free Member
|
|
Join Date: Apr 2002
Posts: 356
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Dialhot
Hi,
I just want to remind you that AVS2.5x has a "autoload" feature for the plugins.
Don't bother yourself anymore with all these "LoadPlugIn" lines, just put all the dll under the "plugin" directory of avisynth. That's it !
I will simplify greatly all your scripts, and the work will also be easier to convert them to dvd2svcd (hi Jorel )
I do it since a long time.
|
Great DialHot !
But how exectly u are doing that ?
(script example will be good here)
bman
|
06-20-2003, 07:14 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by bman
Great DialHot !
But how exectly u are doing that ?
(script example will be good here)
bman
|
As I just told in my post "Don't bother yourself anymore with all these "LoadPlugIn" lines, just put all the dll under the "plugin" directory of avisynth"
In other words : put the all the dll in "C:\Program Files\Avisynth252\Plugins" (it"s just an example, adapt it to your proper situation), and remove all "loadplugin" line from the script.
For every filter used in the script, avisynth first tries to see if there is a "LoadPlugin" line with the name of a dll including the wanted filter. If not, it reads all the dll found in the "plugins" directory and automaticaly loads the accurate plugin.
|
06-20-2003, 07:55 AM
|
Invalid Email / Banned / Spammer
|
|
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Dialhot
Quote:
Originally Posted by bman
Great DialHot !
But how exectly u are doing that ?
(script example will be good here)
bman
|
As I just told in my post "Don't bother yourself anymore with all these "LoadPlugIn" lines, just put all the dll under the "plugin" directory of avisynth"
In other words : put the all the dll in "C:\Program Files\Avisynth252\Plugins" (it"s just an example, adapt it to your proper situation), and remove all "loadplugin" line from the script.
For every filter used in the script, avisynth first tries to see if there is a "LoadPlugin" line with the name of a dll including the wanted filter. If not, it reads all the dll found in the "plugins" directory and automaticaly loads the accurate plugin.
|
hey Dialhot.
you did a post for me:
"Don't bother yourself anymore with all these "LoadPlugIn" lines, ..."
but please,post a script for sample...
i "see" better details in scripts.
thanks.
|
06-20-2003, 08:47 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by jorel
but please,post a script for sample...
i "see" better details in scripts.
thanks.
|
Okay okay, if you insist.
There is the actual optimal script I use :
Code:
MaxTreshold = 1.50
scd_trigger = 30 # Scene change trigger value.
nf = 0 # Current frame.
Mpeg2Source("Your_D2V_Source_Here")
undot()
Limiter()
asharp(2, 4)
GripCrop(Your_GripCrop_Parameters_Here)
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(MaxTreshold))
MergeLuma(blur(0.2))
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf > 2.5 ? asharp(-(fmin((nf/30), 1)), 0 ) : TemporalSoften(2,7,7,3,2) ")
conditionalfilter( last, asharp(-2,0), last, "nf", ">", "scd_trigger" )
GripBorders()
Limiter()
function fmin(float f1, float f2) { return (f1<f2) ? f1 : f2 }
You see ? No more "LoadPlugin" lines.
Simple, isn't it ?
|
06-20-2003, 09:31 AM
|
Invalid Email / Banned / Spammer
|
|
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
working
yeah,very very simple..... for who knows... like you my friend!
thank you Phil, you're great too.
|
06-20-2003, 03:08 PM
|
Free Member
|
|
Join Date: Apr 2002
Posts: 356
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Cool tip MAN !
Thanks DialHot
bman
|
All times are GMT -5. The time now is 05:26 PM — vBulletin © Jelsoft Enterprises Ltd
|