PDA

View Full Version : How to reuse internal filters in my own filter?


Dee
18th November 2004, 05:51
I'm a newbee in avisynth filters development, please give me a right direction in further investigations.
I need a following thing: my filter gets two clip arguments and generates a new clip with frames containing resized frames from both source clips + some additional information. Final effect must look like this combination:
StackHorizontal( A.SomeResize(...), B.SomeResize(...) ).Subtitle(...)

Of course, I don't want to re-implement a wheel, so how can I reuse resizers already implemented in Avisynth (for ex BilinearResize) in my own filter?
Maybe I need to look at sources of some filter that use similar technique?

tritical
18th November 2004, 06:25
This should help: http://www.avisynth.org/EnvInvoke.
Searching this forum for "invoke" should also bring up some useful info. Hope that helps.

Dee
19th November 2004, 03:45
tritical
Thanks! That's it :)