Chromakey anyone? (new sequencer plugin pair)

After a summer break from coding I got down again and made this sequencer chromakey plugin pair. Hope you like it :slight_smile: and creative suggestions are always welcome.
http://users.utu.fi/jhkarh/prog/jkey.html

or straight to the files:
jKEY: source win dll
jMERGE: source win dll

Thanks so much !
Some time ago I tried doing some chromakeying with Blender, and I couldn’t manage to get a satisfying result with the plugin I had. I haven’t tried your plugin (yet) but it really seems good, even the hair !
And for once we even get a good tutorial with it :slight_smile:

For me, thi’s the best chroma key plugin for the Blender Sequencer :cool:
Thanks! :wink:

I compiled this plugin but it didn’t work. I select one scene or one movie, then I add the plugin but the error is:

Error
in plugin: /<fullpath>/jKEY.so

And nothing happens.

I’m using Linux GNU/Debian etch x86.

I not try now,but W:eek:W!!! serious magic blender.

The source is C++ and requires a C include. For doing this just prefix extern “C” before C function name.

My personal patch:

diff -u jKEY.cpp jKEY.cpp.old

``` --- jKEY.cpp.old 2006-11-09 14:05:53.000000000 +0100 +++ jKEY.cpp 2006-11-09 14:09:20.000000000 +0100 @@ -10,7 +10,10 @@

#include <stdio.h>
#include <math.h>
+
+extern “C” {
#include “plugin.h”
+}

#define MAX(a,b) (((a) > (b)) ? (a) : (b))

@@ -74,9 +77,7 @@
float spillb;
} Parameters;

-#ifdef __cplusplus
-//export “C” {
-#endif
+extern “C” {

/* main routines: /
int plugin_seq_getversion(void);
@@ -85,9 +86,7 @@
/
callback: /
void plugin_seq_doit(Parameters
, float, float, int, int, ImBuf*, ImBuf*, ImBuf*, ImBuf*);

-#ifdef __cplusplus
-//}
-#endif
+}

float cfra = 0;

<b>

diff -u jMERGE.cpp.old jMERGE.cpp 

</b>

— jMERGE.cpp.old 2006-11-09 14:23:12.000000000 +0100
+++ jMERGE.cpp 2006-11-09 14:23:05.000000000 +0100
@@ -10,7 +10,10 @@

#include <stdio.h>
#include <math.h>
+
+extern “C” {
#include “plugin.h”
+}

#define MAX(a,b) (((a) > (b)) ? (a) : (b))

@@ -76,9 +79,7 @@
long lblur2;
} Parameters;

-#ifdef __cplusplus
-//export “C” {
-#endif
+extern “C” {

/* main routines: /
int plugin_seq_getversion(void);
@@ -87,9 +88,7 @@
/
callback: /
void plugin_seq_doit(Parameters
, float, float, int, int, ImBuf*, ImBuf*, ImBuf*, ImBuf*);

-#ifdef __cplusplus
-//}
-#endif
+}

float cfra = 0;

Thanks, I had just downloaded these sources yeasterday and had a suspicion that I would run into C/C++ issues trying to compile them.