Quantcast Avisynth: Filters Autoload? - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #1  
06-20-2003, 05:38 AM
Dialhot Dialhot is offline
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.
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
06-20-2003, 06:46 AM
bman bman is offline
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
Reply With Quote
  #3  
06-20-2003, 07:14 AM
Dialhot Dialhot is offline
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.
Reply With Quote
  #4  
06-20-2003, 07:55 AM
jorel jorel is offline
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.
Reply With Quote
  #5  
06-20-2003, 08:47 AM
Dialhot Dialhot is offline
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 ?
Reply With Quote
  #6  
06-20-2003, 09:31 AM
jorel jorel is offline
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.
Reply With Quote
  #7  
06-20-2003, 03:08 PM
bman bman is offline
Free Member
 
Join Date: Apr 2002
Posts: 356
Thanks: 0
Thanked 0 Times in 0 Posts
Cool tip MAN !
Thanks DialHot
bman
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Need clip filter & dust filters for avisynth nighthawk Avisynth Scripting 3 01-31-2004 12:24 PM
Avisynth: SiwalterS filters for Avisynth and VirtualDub jorel Avisynth Scripting 0 04-13-2003 10:04 AM
Avisynth: Sound Filters in Avisynth? jamesp Avisynth Scripting 1 03-07-2003 05:01 AM
Avisynth: Good filters and plugin for Avisynth 1.05 ? GORI Avisynth Scripting 2 02-10-2003 05:27 PM
Avisynth: How to use virtualdub filters in avisynth? Smoochie3 Avisynth Scripting 1 07-18-2002 12:03 AM




 
All times are GMT -5. The time now is 05:26 PM  —  vBulletin © Jelsoft Enterprises Ltd