Mixing More Than Two Videos Together?!?

Apr 23, 2013 at 3:34pm

Mixing More Than Two Videos Together?!?

Been working on this patch, but I now wanna mix/overlap 6 videos, instead of 2.
Is this possible, if so, does anyone know how?

As always, thanks in advance for any help/advice.


Here it is…

– Pasted Max Patch, click to expand. –
Apr 23, 2013 at 5:55pm

i’m assuming you mean 6 simultaneous video feeds overlaid on top of each other.
the easiest way to do this is with an opengl context, and blending multiple jit.gl.videoplanes

the patch below gets you started with 3. you should probably turn the qt.movie -> jit.gl.videoplane into an abstraction, for easy editing and duplicating.

if your framerate is low, you will have to make some optimizations. searching the forum for “video optimizations” or something similar will yield much information.

also, check out the jit.gl.hap external, for an efficient video playback alternative:


– Pasted Max Patch, click to expand. –
Apr 24, 2013 at 8:30pm

Thanks for your help.
I’ll have a play around with your patch, it looks great!
MissMax :)


You must be logged in to reply to this topic.