Mixing More Than Two Videos Together?!?

Apr 23, 2013 at 3:34pm

Mixing More Than Two Videos Together?!?

Hi,
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.

MissMax

Here it is…

– Pasted Max Patch, click to expand. –
#67903
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:

http://cycling74.com/toolbox/jit-gl-hap/

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

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

#244138

You must be logged in to reply to this topic.