PDA

View Full Version : How can I call internal functions and execute *.avs script


dum
23rd November 2007, 17:44
Hi, several more questions, if you please:

1) How can call internal AnySynth function from my own filter? For example I want to call AVISource. I checked - theses functions are not purely exported by avisynth.dll. What is the approach?

2) Can I (from the filter) call the AviSynth function, which is described in the script? Or can I just execute the script from the filter (the same question as calling 1 - if I'll be able to call internal function Import I'll do it)?

tsp
23rd November 2007, 18:42
1) use IScriptEnvironment->Invoke("AVISource",AVSValue("c:\test.avs"),0) in avisynth.h
and read the filter SDK: http://avisynth.org/mediawiki/Filter_SDK/Internal_functions
2) same as 1)

dum
23rd November 2007, 19:02
Great. Many thanks