View Full Version : Basic Help with New Plugin Development
jmac698
10th November 2011, 17:55
I am, I'm on the first chapter going through examples. I'll make a prediction though; while I may get the concepts, I still don't think the book will be practical enough. I doubt that I'll be able to finish a single plugin after reading the first chapter. I will have to continue to ask these simple questions because, I believe that there's a lot of trivia you learn that's not written in books, and you just sort of assume these things but really, everyone had to learn them somewhere.
Like when I tried compiling a plugin and it wouldn't take spaces in filenames. I managed to problem solve that one; and I also included it in my article under troubleshooting. That's the kind of practical advice I'm looking for.
Chikuzen
10th November 2011, 18:02
Here is Doom9's forum.
not Stack Overflow...
amtm
10th November 2011, 18:07
I was talking about the primer I mentioned which covers the basics are covered in 8 chapters. And, yes, you will still need to ask questions because you are still learning. The primer isn't going to teach you everything. The point is you should know the basics before attempting to write non-trivial programs in the language. But its your time to waste if you want to have to expend all that effort constantly revising code due to making beginner's mistakes.
amtm
10th November 2011, 18:09
Here is Doom9's forum.
not Stack Overflow...
True but there is a section on the forum related to programming questions so it's not necessarily out of scope for the forum.
jmac698
10th November 2011, 19:33
The point is you should know the basics before attempting to write non-trivial programs in the language. But its your time to waste if you want to have to expend all that effort constantly revising code due to making beginner's mistakes.
Keep in context here, that I only need the minimum amount to modify a plugin source, to adapt to my desired parameters, to check them, and finally writing my image processing function. Writing the processing is quite easy to me, once the other stuff is out of the way.
So, it turns out there were exactly 2-3 things that I was stuck on, and I'm happy to report that I've just made my own plugin.
I now know enough to make any plugin that operates on any frame, even temporally. I'm now writing a correlation plugin that works line-by-line.
Maybe I'll finish learning C++ someday, but I want to work on my Dejitter algorithms right now.
Thanks for the help, it wasn't actually that hard.
StainlessS
11th December 2014, 19:02
Now it's not going to teach you where every little macro is defined in the standard library (most books won't) but it'll give you a good grounding that you are desperately lacking.
This guy P.J. Plauger: http://en.wikipedia.org/wiki/P._J._Plauger
has a couple of books out on the Standard C and Standard CPP libraries (I've got the C one, might have the CPP one, not sure).
It/They, go into the details of the libraries including an implementation of the libraries (ie source). Lots of background stuff including things like why a particular function is implemented.
Think he was chairman of the C ISO committee and so probably knows his stuff.
C: http://www.amazon.co.uk/The-Standard-Library-P-J-Plauger/dp/0131315099
CPP: http://www.amazon.com/Draft-Standard-C-Library-The/dp/0131170031
CPP Template library: http://www.amazon.co.uk/The-C-Standard-Template-Library/dp/0134376331
TheFluff
11th December 2014, 19:39
helpful advice, it's just that it's over three years too late
seriously, what the christ is with this forum and bumping ancient threads that are only tangentially related to what you want to discuss? a thread is a conversation, and I don't really think you walk up to someone you haven't met in several years and expect to resume talking where you left off, do you?
StainlessS
11th December 2014, 19:41
Yep but as its pointed to via the Wiki, it will (unlike you or me) never grow old.
EDIT to yours: What is with you ? Have you considered seeking professional help for your problem ?
Dont often see much conversation from you, usually only a series of gripes and whinges.
I don't really think you walk up to someone you haven't met in several years and expect to resume talking where you left off, do you?
Yeh well I do actually and have yet to find some passer-by tap me on the shoulder and start whinging and whining about it :)
GMJCZP
12th December 2014, 06:06
It is interesting to create a plugin, shame they did not have knowledge of C language, so I thank all those who make a great effort to enrich Avisynth :) .
jmac698
2nd January 2015, 09:48
I still need to learn C++ and coincidentally I just finished -two- courses in Python, including object oriented programming. So I'd like to re-visit C++ now that I know the concepts. So thanks for the links, it is very timely indeed :)
Problem though, I might just do everything in vapoursynth now since it's so much easier.
MrPete
6th January 2015, 20:48
Good old posts never die... believe me.
(In 1988 I wrote Article 17745 in comp.sys.ibm.pc ... I *still* get the occasional followup :) )
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.