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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 25th August 2003, 15:56   #21  |  Link
Si
Simply me
 
Si's Avatar
 
Join Date: Aug 2002
Location: Lancashire, England
Posts: 610
@Kevin
Ta- makes sense now
Simon
Si is offline   Reply With Quote
Old 25th August 2003, 17:02   #22  |  Link
stickboy
AviSynth Enthusiast
 
Join Date: Jul 2002
Location: California, U.S.
Posts: 1,267
Quote:
Originally posted by siwalters
Can I ask why you raised the question?
Why not?

It isn't clear what the answer is, the answer can affect adoption of the API, and it's better to get it figured out sooner rather than later.
stickboy is offline   Reply With Quote
Old 25th August 2003, 19:31   #23  |  Link
Si
Simply me
 
Si's Avatar
 
Join Date: Aug 2002
Location: Lancashire, England
Posts: 610
Quote:
Why not?
Thank you for concise and informative answer.

And to return the favour
Quote:
It isn't clear what the answer is
.. it is to me.

regards
Simon
Si is offline   Reply With Quote
Old 25th August 2003, 20:23   #24  |  Link
stickboy
AviSynth Enthusiast
 
Join Date: Jul 2002
Location: California, U.S.
Posts: 1,267
Quote:
Originally posted by siwalters
Thank you for concise and informative answer.
I don't see the harm in asking a simple, legit question. I have no hidden agenda or ulterior motives if that's what you're wondering. I am not trying to troll.
Quote:
.. it is [clear] to me.
Without kevina20723's response, no, it's not clear. The FSF's stance is that programs that use GPL'd (not LGPL'd) dynamically-linked libraries also be released under the GPL or a GPL-compatible license. However, their opinion is not necessarily binding, and AFAIK the use of GPL'd DLLs is debatable and subject to some interpretation.

I'm not against the GPL, but I just wanted to make sure that whatever licensing issues there are with the Avisynth C API are clear in advance. You don't want a situation where people who want to write good, closed-source plug-ins are discouraged unnecessarily, and you also don't want a situation where people think that closed-source plugins are okay and then discover later that they're not.

Last edited by stickboy; 25th August 2003 at 20:30.
stickboy is offline   Reply With Quote
Old 25th August 2003, 21:31   #25  |  Link
Si
Simply me
 
Si's Avatar
 
Join Date: Aug 2002
Location: Lancashire, England
Posts: 610
There's no harm in asking a simple legit question .. I think'll you'll find we both did

Thank you for replying to mine.

I understand Kevin's position because of his answers to your question.



regards
Simon
Si is offline   Reply With Quote
Old 26th August 2003, 14:37   #26  |  Link
deXtoRious
Registered User
 
Join Date: Feb 2003
Location: Riga, Latvia
Posts: 192
I'm a non-expercienced Delphi programmer and I wanted to know if anyone has written a unit for using AviSynth... The prospect of writing all these functions myself isn't a very appealing one...
deXtoRious is offline   Reply With Quote
Old 9th September 2003, 14:49   #27  |  Link
deXtoRious
Registered User
 
Join Date: Feb 2003
Location: Riga, Latvia
Posts: 192
Could anybody please give any links to the syntax of invoking the AviSynth dll, any examples, docs, anything???
deXtoRious is offline   Reply With Quote
Old 9th September 2003, 19:28   #28  |  Link
MfA
Registered User
 
Join Date: Mar 2002
Posts: 1,075
It is not entirely clear wether using header files constitutes copying. TO be safe GPL projects which want to allow use through dynamic linking by non GPL programs should just dual license the header files IMO ... BSD and GPL, then there is no problem. You would not be using GPL'd source in your plugins, so as long as you dont distribute your plugins with Avisynth you wont be bound by the GPL (the moment you distribute them together you are though).

libs are less of an issue since the information can just be extracted from the DLL itself, using them doesnt represent copying IMO.

Last edited by MfA; 9th September 2003 at 19:33.
MfA is offline   Reply With Quote
Old 9th September 2003, 21:07   #29  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally posted by deXtoRious
I'm a non-expercienced Delphi programmer and I wanted to know if anyone has written a unit for using AviSynth... The prospect of writing all these functions myself isn't a very appealing one...
http://aquaplaning.20m.com/ might be of interest, depending on what your goals are.

Last edited by Guest; 9th September 2003 at 21:10.
Guest is offline   Reply With Quote
Old 10th September 2003, 05:24   #30  |  Link
kevina
Registered User
 
Join Date: Jun 2003
Posts: 71
Now up to Version 0.14

I am now up to version 0.14. Get it at http://kevin.atkinson.dhs.org/avisynth_c/ .

I would really appreciate it if some people will start trying it out so I can get some feedback on the interface.
kevina is offline   Reply With Quote
Old 10th September 2003, 08:16   #31  |  Link
Si
Simply me
 
Si's Avatar
 
Join Date: Aug 2002
Location: Lancashire, England
Posts: 610
I'm just repeating my suggestion to produce a "conversion" (with lots of comments unfortunately ) of one of the SimpleSamples.

Or 2nd'ly - lots of comments in your examples.c - but 1st suggestion would be better(for me at least )

Then everyone could see the sort of changes needed to use your interface.

Obviously, the experts can already but I imagine they have super douper MS VC++ programming enviroments with lots of tools and a heavy learning investment.

Us camp followers don't but we need leading

And your main possible "customers" will be newbies with little/no C/C++ programming skills/complier but a strong wish to implement their brilliant idea for an Avisynth filter

regards
Simon
Si is offline   Reply With Quote
Old 12th September 2003, 08:29   #32  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
I added v0.14 to the new CVS binary.
__________________
Regards, sh0dan // VoxPod
sh0dan is offline   Reply With Quote
Old 12th September 2003, 08:39   #33  |  Link
kevina
Registered User
 
Join Date: Jun 2003
Posts: 71
Thanks did you make any changes?

Also do you really want to keep my interface in a seperate DLL?

In order to use the exported symbol GetEnvironment (or something like that), avisynth.lib is required. In order to get it I had to recompile avisynth. That lib should be made easilly available. Avisynth_c.lib is required for my interface, so why not just combine them all into avisynth.lib and avoid the extra DLL avisynth_c.dll? I hope this is making sense to you.
kevina is offline   Reply With Quote
Old 12th September 2003, 09:05   #34  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
I think keeping it separate until the API is more "final" is a good idea - it's easier to maintain.

Only change is "return !!res;" instead of "return res;" somewhere. I'm a bit concerned about "D:\dev\avisynth2\avisynth\avisynth_c.cpp(301) : warning C4700: local variable 'val' used without having been initialized" in "AVSValue __cdecl create_c_video_filter".


I get unload crashes, when placing "Smartdecimate" in the plugin directory. "examples.dll" work fine, when autoloaded as a plugin. Loading smartdecimate using "Loadplugin" works fine though.
__________________
Regards, sh0dan // VoxPod

Last edited by sh0dan; 12th September 2003 at 09:12.
sh0dan is offline   Reply With Quote
Old 12th September 2003, 09:13   #35  |  Link
kevina
Registered User
 
Join Date: Jun 2003
Posts: 71
Ok thats fine. Don't know what why SmartDecimate is crashing on unload. Are you using version 0.21 or better?
kevina is offline   Reply With Quote
Old 12th September 2003, 09:17   #36  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
I'm using 0.22.

It crahes in ~AtExiter(), calling the shutdownfunc.

PS. I might have edited the post above while you were ansering
__________________
Regards, sh0dan // VoxPod
sh0dan is offline   Reply With Quote
Old 12th September 2003, 09:25   #37  |  Link
kevina
Registered User
 
Join Date: Jun 2003
Posts: 71
Ok I will look into it.
kevina is offline   Reply With Quote
Old 12th September 2003, 22:39   #38  |  Link
deXtoRious
Registered User
 
Join Date: Feb 2003
Location: Riga, Latvia
Posts: 192
neuron2 and MfA

Thanks, that really helped!

all

Any chance of a Delphi/Pascal API appearing? Not all people no C very well, you know
deXtoRious is offline   Reply With Quote
Old 12th September 2003, 22:51   #39  |  Link
kevina
Registered User
 
Join Date: Jun 2003
Posts: 71
Quote:
Originally posted by sh0dan
I'm a bit concerned about "D:\dev\avisynth2\avisynth\avisynth_c.cpp(301) : warning C4700: local variable 'val' used without having been initialized" in "AVSValue __cdecl create_c_video_filter".
I am 99.9% sure that VC++ is getting confused and there is nothing wrong with the code. If there was something wrong with create_c_video_filter I would of noticed by now as every filter uses that function.

If you can figure out how to get VC++ to shut up please let me know.
kevina is offline   Reply With Quote
Old 13th September 2003, 10:36   #40  |  Link
Bidoche
Avisynth 3.0 Developer
 
Join Date: Jan 2002
Location: France
Posts: 639
Well you can use that :
#pragma warning (disable:4700)

But that's not really curing the problem, and besides sometimes you are happy to see those warnings.
Bidoche is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:24.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.