Log in

View Full Version : VirtualDubMod + AVS Script


n0an
3rd August 2009, 21:05
Hello,

I am experimenting with VirtualDubMod plugins in AVS scripts. I made a script with ColorMill() values in the AVS script and loaded the AVS script Vdubmod, but it didn't show the change. Or probably the change wasn't visible to the eye.

> So, in short, do AVS plugins work with VirtualDub like the vdub plugins work in AVS scripts?

> How to determine the syntax of a vdub plugin to use in an AVS script? I know ChannelMixer has ChannelMixer(), HotSpot has HotSpot(), but how to determine for other plugins with names like "Contrast/Brightness Balance"? I thought it's the name from "plugin.vdf" file, but doesn't work with ColorEqualizer(COLOREQU.vdf) ir some of the other ones.

> One last thing is, how to get the vdf files for the internal vdub plugins? Couldn't find them anywhere in the vdub dir.

Thanks!

Gavino
4th August 2009, 19:07
How to determine the syntax of a vdub plugin to use in an AVS script? I know ChannelMixer has ChannelMixer(), HotSpot has HotSpot(), but how to determine for other plugins with names like "Contrast/Brightness Balance"? I thought it's the name from "plugin.vdf" file, but doesn't work with ColorEqualizer(COLOREQU.vdf) ir some of the other ones.
Are you asking what name to use when calling the plugin?
You can use any name you like, since you tell Avisynth what name you are going to use in the LoadVirtualDubPlugin (http://avisynth.org/mediawiki/Plugins) command.
One last thing is, how to get the vdf files for the internal vdub plugins? Couldn't find them anywhere in the vdub dir.
AFAIK you can't, the internal ones are built-in and not 'extractable'.

n0an
5th August 2009, 06:45
Hmm... interesting. You didn't answer the first question - Does vDub read all AVISynth plugins - DLLs as well as AVS?

Gavino
5th August 2009, 09:44
Does vDub read all AVISynth plugins - DLLs as well as AVS?
If you mean, can you use any Avisynth plugin in a script that you load into VDub, then the answer is of course yes. It would be pretty useless otherwise.

It's not VDub that reads the DLLs - that's all handled inside Avisynth, so it works just the same whether Avisynth is running inside VDub, MPC, WMP or anything else.

n0an
7th August 2009, 10:11
Oh ohk. Thanks for the answers.