Mixing More Than Two Videos Together?!?

    Apr 23 2013 | 3:34 pm
    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.
    Here it is...

    • Apr 23 2013 | 5:55 pm
      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: https://cycling74.com/tools/jit-gl-hap/
    • Apr 24 2013 | 8:30 pm
      Thanks for your help. I'll have a play around with your patch, it looks great! MissMax :)
    • Apr 28 2014 | 8:42 pm
      the patch above mixing 3 videaos is great stuff for me, thanks, but I'm having a problem with image quality which seems to be falling very, very low
      I'll be really thankfull for any indication
    • Apr 28 2014 | 9:11 pm
      set @adapt 1 on each of the qt.movie objects to tell it to output frames at the resolution of the input file.
    • May 03 2014 | 10:36 pm
      sorry for another stupid question: can you help with saving the resulting video mix on disk with, eg, jit.qt.record or any other video recording object?
      thx a lot
    • May 04 2014 | 3:13 am
    • May 04 2014 | 7:43 am
      thank you very much for this indication: if I may, I don't know where to position this in the patch. Should I replace the jit.qt.record with it? I'm afraid I don't really understand what I doing... sorry
    • May 05 2014 | 5:03 am
      what wrong with cascading jit.op or jit.alphablend?
    • May 05 2014 | 11:23 am
      tanks a lot, Roman, for these excellent propositons for mixing video; however I still have two problems: image quality in fulscreen mode and getting results on disk properely
    • May 06 2014 | 11:05 am
      i am not sure if they are excellent, maybe it gets tricky with 19 sources. with 16 or 32, however, it seems the most straightforward solution.
      about CPU consumption, no idea.
      and of course it will all only work when the frames are in sync. and if they are not, i would suggest to change that per channel _before mixing.
    • May 06 2014 | 3:37 pm
      just throw an gl.asyncread in your patch, and add it to the context you want to readback from. it will output a matrix for every draw-frame.
      you will also have to disable @fsaa on your jit.window, if it's enabled.
      many people capturing render contexts will advise using a 3rd party software, like iShowU. the Syphon recorder is a free one that works quite well, when used with the syphon externals.
      searching the forum for syphon will yield plenty of examples of its usage.
    • May 07 2014 | 2:19 pm
      thank you so much, dear Rob and Roman, your quick replies are highly appreciated however, I'h having a hard time understanding you guys - the patch I'm working on was primarily musical, and I now understand that I need to learn quite lot on jitter, quicktime, gl
      'hope I'll manage
      can you explaine the -110 signature?