Log in

View Full Version : Need help with delphi source avisynth plugin


pieter1976
18th March 2004, 19:31
Can someone help me with a simple Delphi(5) example of a avisynth plugin?

This because I like to make my own filter in Delphi.

esby
19th March 2004, 03:11
Last time I checked,
there was no avs delphi plugins existing.

And i don't think it changed...

And since you would, probably, need to wrap the avisynth.h
structure into delphi code, before doing anything...

So far, it's easier to learn c++ or c,
and follow the filter examples...

esby

MrTibs
19th March 2004, 08:20
I'm sorry to say that I haven't done this but I think it is worth a try. Personally, Delphi's dynamic form creation is one reason to give it a go.

Of course you will have to use the C plugin interface because C++ objects are compiler specific. However, to begin, I would try using the Free Pascal h2pas utility to convert the avisynth.h file. (http://www.freepascal.org/tools/tools.html).

Next you will have to learn to make a C compatible Delphi DLL. A lot of info is out there on the web about that.

Keep us posted on your progress. I have a runtime form editor that would be a great way to add GUIs to existing filters.

Unfortunately, right now I am working pretty heavily on C++ filters.

Good luck.

P.S. Vhelp expressed interest in this kind of thing.
http://kvcd.net/forum/viewforum.php?f=32&sid=ceda920aca5a82ad0b48fa7d24cdbfa8