View Full Version : beginners-question: avisynth filter programming
hanfrunz
8th February 2003, 19:17
Hello everyone,
i'd like to start developing avisynth-filters. Where can I find the best tutorials, faqs, howtos etc.? Is it okay to use delphi or would it be better in any case to use c(++)?
Thank you
hanfrunz
neuron2
15th February 2003, 16:19
Use Microsoft Visual C++. Anything else will make your life difficult.
Go to www.avisynth.org.
vhelp
15th February 2003, 23:16
hi hanfrunz,
I will SECOND that, that neuron2 stated, that it "will make your
life difficult" IT HAS and IS doing just that.
I can't seem to compile any of the AVIsynth files, but then again,
I'm pretty new to C++ and have lots to learn. Coming from a Delphi
background.
At the moment though, I'm in the middle of writing DLL passing excercises..
between Delphi and C++ and vis-versa, but these excercises so far, have
NOT ben able to work yet. I'm using Borland C++ Builder 6
well, from a newbie point of view, I can agree w/ above poster !!
Yes, I will get it sooner or later, but not w/out lots of trial and
error. But, until I can pass (use) other DLLs created by other languages
i.e., Delphi and C++, I will not move any further than that.
I can create DLLs in Delphi and share them w/ either Delphi or Visual
Basic and VBA but so far, not C++
I have no "short and easy" examples in C++ - - darn :mad:
Too bad ALL my C++ books say nothing about this DLL sharing business.
I'm exhausted w/ searching my books/libraries, and not to mention my
exhaustive struggle searching via the internet. But, I'll keep on
trying. I'll find the answere to sharing DLLs (not talking about w/
AVIsynth) So far, it's nothing but a BIG headacke!! :mad:
Anyways, have a good eveing.
-vhelp
Belgabor
16th February 2003, 14:44
Coding Avisynth filters in anything else but MSVC is for all practical matters impossible (read hellish complicated). See here (http://forum.doom9.org/showthread.php?threadid=41827).
vhelp
16th February 2003, 17:17
Morning.
If I may ask the stupid question.. Why was MSVC choosen for the
compilation in the first place (like it really matters, or not)
and.. C is C, or is it ?? I don't get it (yet)
But it sounds like C is not C then, if you HAVE to use another
C i.e., MSVC instead of BC++Builder, every time someone creates an
app in MSVC ?? From a begginer's point of view (BPOI) this tells
me that C (C/C++) is NOT portable or standard and can be compiled
w/ any C compiler !! :mad:
Well, with respect to the above para, I have not ben able to compile
any AVIsynth versions, Filters for, and vdub and filter etc.
If you have to use a specific one compiler i.e., MSVC, then its NOT
portable !! :mad: I don't see this problem w/ Delphi (Pascal)
So, please, fill in the gap, if the above in false. Thanks.
Have a good day.
-vhelp
gabest
16th February 2003, 19:21
In case of c/c++ binary code was never portable, only the source. You need to recompile avisynth.dll as well...
neuron2
17th February 2003, 06:51
It's probably not *impossible* to use other compilers, but it is hellishly difficult, as the esteemed Belgabor observed.
When I first started writing VirtualDub filters I tried to use C++ Builder, thinking I could use the component library. Avery warned me against it but I was stubborn. OK, I got it working but it was such a pain in the you-know-what that I broke down and bought VC++.
vhelp
17th February 2003, 07:15
All I can say is, it is definately hellishly difficult at the moment.
I'm still searching for answers. It's long and drewling, but I did
come across something interesting to read, though the subject is w/
reference to sharing DLL's w/ Visual C++ and C++ Builder:
http://www.bridgespublishing.com/articles/issues/0012/Using_Visual_C++_DLLs_with_C++Builder.htm
It's a little lengthy but may help others here, depending on their
issues, if any.
I only wish that creating DLL's w/ C++ (any version) was as easy as
it is in Delphi. If I ever do figure out how to create DLL's in C++ and then manage to share them in my Delphi apps, I'll be so happy.
I think I'm starting to get the hint now.. MSVC.. another item to add
to my searching.
-vhelp
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.