Log in

View Full Version : Use exteral filters from delphi program?


kovi
24th March 2005, 10:24
Is there a way how I can use the virtualdub/Avisyth filters from my delphi programs? I need a fast resample function, but the one I found for delphi is quite slow. Asm filters would be much faster.

Thanks

esby
29th March 2005, 00:59
1- if you need a fast resampler, you can try (if you haven't already tried) the ones from the Andreas Moser lib.

2- you might try to use asif.dll (search other thread) to interface delphi with avisynth.


For 1-, if you cannot find the code on the net, you can still pick what I used for batchresizer, since it s build using it. (follow my link atfer signature)

For 2- you can get a very basic sample code here:
http://esby.free.fr/perso/asif+demo.code.rar
The asif code & the two pas files are from Fredrik Mellbin(yatta author).
The Sample code is partially mine, as I asked him some basic information about how to get it working.

esby

kovi
29th March 2005, 15:20
I've been using Anders Melander's resample, but compared to the VirtualDub filters, it's very slow. And it doesn't give always good results... So this is the "only" Delphi resample pas on the net...

But anyway thanks for asif!