Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
4th August 2003, 08:13 | #1 | Link |
Registered User
Join Date: Jun 2003
Posts: 71
|
AVISynth C API Now Available
I have just released a compiler neutral C Interface to AviSynth in the forum of a plugin. You can find it at http://kevin.atkinson.dhs.org/avisynth_c/. The current version is 0.14.
I would really appreate it if some AVISynth developers could look it over and give me some feedback. I am hoping that eventually it can become part of AVISynth. It currently is designed for AVISynth 2.5. Enjoy. Last edited by kevina; 10th September 2003 at 05:22. |
5th August 2003, 14:28 | #3 | Link |
Retired AviSynth Dev ;)
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
|
I took a few minutes and made an attempt at integrating it into the core. I tried to implement it, so it would work seamless, and results look promising.
avisynth_c.dll seems to be required for other plugins to load - no problem - it can be included in the installation package. It does however not have to be loaded as a plugin when it is part of the core. LoadPlugin automatically remaps C-plugins to "LoadCPlugin", if a C-plugin is detected. I get a bunch of errors like "D:\dev\avisynth2\avisynth\avisynth_c.cpp(58) : warning C4273: 'avs_release_video_frame' : inconsistent dll linkage. dllexport assumed." Are you interested in having C-plugins put into the core?? It seems to work very nicely!
__________________
Regards, sh0dan // VoxPod |
5th August 2003, 15:15 | #4 | Link |
Registered User
Join Date: Jun 2003
Posts: 71
|
Yes I am interested in integrating it into the core. It has not been tested very well, so for right now I rather have it as a plugin since it makes updating it easier....
I am not sure why you are getting those errors. You might need to define AVISYNTH_C_EXPORTS. If it is integrated in the core avisynth_c.dll should not be needed. However a .lib file will be needed to compile plugins since, unlike with the VC++ API, plugins need to use several symbols from avisynth_c.dll. I hope I am making sence to you. |
5th August 2003, 15:23 | #5 | Link |
Retired AviSynth Dev ;)
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
|
Not much
But I assume it would only be a lib for avisynth_c. Shouldn't be much of a problem. I'm committing my temp work now - I'll get back with binary, libraries, etc. Edit: Do you have CVS access??
__________________
Regards, sh0dan // VoxPod Last edited by sh0dan; 5th August 2003 at 22:43. |
6th August 2003, 16:34 | #7 | Link |
Registered User
Join Date: Sep 2002
Location: France
Posts: 432
|
I didn't take time to explore this, but if it means C-only code can be used to generate plugins and/or other compilers than MS VC++ can be used without much hassle, then that's definetely a good thing, which should be put forward even further (once it's stable, I guess).
|
6th August 2003, 17:22 | #10 | Link |
Registered User
Join Date: Sep 2002
Location: France
Posts: 432
|
Great!
Though, I'm so much used to current Avisynth framework I would take an awful time to switch to another one (even for the better, be it 3.0 or C-code - arhg, and asm syntax would change if I use another compiler ). But not having to compile with VC++ is a big step forward into the direction of "free software". Last edited by Kurosu; 6th August 2003 at 17:28. |
12th August 2003, 23:24 | #11 | Link |
Registered User
Join Date: Jun 2003
Posts: 71
|
New Version Available
Version 0.11 is now available at http://kevin.atkinson.dhs.org/avisynth_c/.
Minor API Changes, Bug Fixes, and enhanced examples to work with YV12. |
23rd August 2003, 02:21 | #12 | Link |
Registered User
Join Date: Jun 2003
Posts: 71
|
Version 0.12 is now available at http://kevin.atkinson.dhs.org/avisynth_c/ .
Added some missing function to the API. |
24th August 2003, 21:59 | #13 | Link |
Simply me
Join Date: Aug 2002
Location: Lancashire, England
Posts: 610
|
SimpleCSample?
Kevin,
I was wondering if you'd consider doing a LoadCPlugin conversion of SimpleSample (just a conversion of SimpleSample13a would do ) I believe your plugin could entice more people (hopefully with good ideas) into writing Avisynth filters. regards Simon
__________________
http://www.geocities.com/siwalters_uk/fnews.html |
25th August 2003, 15:32 | #19 | Link | |
Simply me
Join Date: Aug 2002
Location: Lancashire, England
Posts: 610
|
@stickboy
Can I ask why you raised the question? @kevin COuld you explain your answer Quote:
regards Simon
__________________
http://www.geocities.com/siwalters_uk/fnews.html |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|