View Full Version : intelligent brightness VDF in avs script
fenomeno83
17th May 2017, 23:20
Hi.
Is there a way to use this virtualdub plugin in avisynth script?
thanks
http://www.infognition.com/brightness/
johnmeyer
18th May 2017, 02:20
LoadVirtualdubPlugin
fenomeno83
18th May 2017, 19:52
yes I know..but I don't understand what function call and what parameters.
Can you give me an example working with this plugin?
Thanks
johnmeyer
18th May 2017, 21:46
I don't have time to explore that particular VD plugin. However, this FAQ should give you what you need:
FAQ using virtualdub plugins inside of AVISynth (http://avisynth.nl/index.php/FAQ_using_virtualdub_plugins)
The key thing to note in that FAQ is the "trick" to figure out how to specify the settings when called from AVISynth. As the FAQ describes, you load the plugin in VirtualDub and configure it as you would if you wanted to use it normally inside of VD. Then, save the settings. This will create a VCF file. This file is a text file. Open it in Notepad. As the FAQ states, "The order of the arguments [in the VCF file] is the one that has to be used in AviSynth."
Once you know the order of the arguments, you can tune the settings in AVISynth, just as you would for any native AVISynth plugin.
fenomeno83
19th May 2017, 00:11
thanks! that guide explain how to find used parameters..but my main problem is that I don't know which is the function name used by that script..
so, now I know default parameters but I don't know just function name.
johnmeyer
19th May 2017, 00:49
I can't explain everything ... The FAQ gives you the answer right there in the first code sample. I don't know what else I can add. (Hint: you give it whatever name you want).
StainlessS
19th May 2017, 03:41
thanks! that guide explain how to find used parameters..but my main problem is that I don't know which is the function name used by that script..
so, now I know default parameters but I don't know just function name.
From the linked post
LoadVirtualdubplugin("d:\bob.vdf", "VD_SmartBob", 1)
VD_SmartBob(1, 0, 10, 1) # parameters taken from the .vcf file
(If I understand what you are saying) , then the function name is the one that YOU give it, eg in BLUE above.
Choose whatever name you want.
johnmeyer
19th May 2017, 05:28
(If I understand what you are saying) , then the function name is the one that YOU give it, eg in BLUE above.
Choose whatever name you want.Exactly.
fenomeno83
19th May 2017, 08:28
From the linked post
LoadVirtualdubplugin("d:\bob.vdf", "VD_SmartBob", 1)
VD_SmartBob(1, 0, 10, 1) # parameters taken from the .vcf file
(If I understand what you are saying) , then the function name is the one that YOU give it, eg in BLUE above.
Choose whatever name you want.
Yes! I need function name(Blue) used by that plugin.
I didn't understand where and how find it.
Can i put any name?
StainlessS
19th May 2017, 17:04
fenomeno83,
If you like the name "TomAndJerry", then
LoadVirtualdubplugin("d:\bob.vdf", "TomAndJerry", 1)
TomAndJerry(1, 0, 10, 1) # parameters taken from the .vcf file
If you like the name "BillAndMonika", then
LoadVirtualdubplugin("d:\bob.vdf", "BillAndMonika", 1)
BillAndMonika(1, 0, 10, 1) # parameters taken from the .vcf file
If you like the name "Fenomeno83_SuperDuperAllPurposeVirtualDubFunctionName", then
LoadVirtualdubplugin("d:\bob.vdf", "Fenomeno83_SuperDuperAllPurposeVirtualDubFunctionName", 1)
Fenomeno83_SuperDuperAllPurposeVirtualDubFunctionName(1, 0, 10, 1) # parameters taken from the .vcf file
Can you see a pattern emerging :)
EDIT: Can i put any name?
Choose whatever name you want.
Yes.
johnmeyer
19th May 2017, 17:43
Can you see a pattern emerging :)Mutt & Jeff
Abbott & Costello
Tweedle Dee & Tweedle Dum
Mairzy Doats & Dozy Doats
OK, one of those doesn't fit ...
StainlessS
19th May 2017, 18:30
Come on John, now you're just being silly, can have neither SPACE's [' '] nor Ampersand ['&'] in function names. :)
EDIT:
Function names, (like variable names) can start with '_' or alphabetic character ['a'->'z' or 'A'->'Z'],
and after first character can additionally contain digits ['0'->'9'].
johnmeyer
19th May 2017, 19:18
Come on John, now you're just being silly, can have neither SPACE's [' '] nor Ampersand ['&'] in function names. :)
EDIT:
Function names, (like variable names) can start with '_' or alphabetic character ['a'->'z' or 'A'->'Z'],
and after first character can additionally contain digits ['0'->'9'].It was pseudo code.
StainlessS
19th May 2017, 22:54
It was pseudo code.
It was pseudo comment :)
EDIT: To below.
Pseudo beer, I'm guessin. :)
raffriff42
19th May 2017, 23:12
StainlessS, beer's on me the next time I see you. (which might not be never...)
fenomeno83
20th May 2017, 15:07
Thanks all! :D
LemMotlow
21st May 2017, 03:45
Mairzy Doats & Dozy Doats ...The original lyric goes:
mares eat oats & doe's eat oats
& little lambs eat ivy...
Whatever.
StainlessS
21st May 2017, 10:24
Thanks for the explanation LemMotlow, most informative.
From Wikipedia [EDIT:- https://en.wikipedia.org/wiki/Mairzy_Doats ]
Milton Drake, one of the writers, said the song had been based on an English nursery rhyme. According to this story,
Drake's four-year-old daughter came home singing, "Cowzy tweet and sowzy tweet and liddle sharksy doisters".
You can visit wikipedia for an explanation of the "Cowsy" line (if necessary). :)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.