Hi, it's the first time i develop a custom port type so probably I'm missing something. I defined a "TimeCodedImage" port type that is simply a struct like:

typedef struct
{
    VuoImage timecodedimage;
    VuoTime timecodeoftheimage;
} CremTimecodeImage;

and then I implemented some simple node that treat this, like SetTimecodedImage , JoinTimecodeAndImage , GetImageFromTimecodedImage, GetTimecodeFromTimecodedImage, that do these quite intuitive stuff. I then packed everything in a .vuonode file and put in my Modules folder. Everything works, but when i try to connect the output of SetTimecodedImage node to the input of an Enqueue node, it simply doesn't connect.

I'm probably missing some step so I'd love some tips to be able to work with my new port type.

Attached you can find the code of nodes and types.

Comments

I just discovered "frame"

cremaschi's picture
Submitted by

I just discovered "frame" port type, "make video frame" node and all the others that makes my job absolutely useless as it's already implemented in Vuo.
But I'd like anyway to understand my mistake, to be able to deal with that in the future.