four videos into one full screen


    Dec 12 2006 | 4:02 pm
    Hi
    Can anyone tell me what tutorials I need to look at to suss out how to make more than one video go full screen? I have a patch with four video windows of equal size 2 up 2 down i.e making up a rectangle. I guess I have to mix and position them into one window first as only one matrix can go full screen. At the moment they are just positioned by moving them in the right place relatively, and so only one movie can go full screen.

    • Dec 12 2006 | 4:07 pm
      Ahhhhh jit.glue!;-) super smashing great
    • Dec 12 2006 | 4:50 pm
      If you want things to be even faster, you can use OpenGL (it really
      is much faster)
      Set up your for movies to output named textures, and then do
      something like.. bah, here is the whole patch.
      I bet this will be quite faster than jit.glue :)
      On Dec 12, 2006, at 11:07 AM, Carl Rohumaa wrote:
      >
      > Ahhhhh jit.glue!;-) super smashing great
      > --
      > Some links to my stuff n that :-) http://zappa.tvu.ac.uk/~crohumaa/
      > CV/cv.php
      v a d e //
      www.vade.info
      abstrakt.vade.info
    • Dec 12 2006 | 5:14 pm
      Quote: vade wrote on Tue, 12 December 2006 17:50
      ----------------------------------------------------
      > If you want things to be even faster, you can use OpenGL (it really
      > is much faster)
      >
      > Set up your for movies to output named textures, and then do
      > something like.. bah, here is the whole patch.
      > I bet this will be quite faster than jit.glue :)
      >
      That's a nice and efficient patch! But couldn't you -at least- align your objects? ;)
      [OT] Still I do wonder how it can be that patches I see from other users are without exception not aligned. I really can't work without straight patch cords. Even if my patch only contains two objects they will always be aligned. Am I.. different?
      Warm and happy christmas greetings :p,
      Mattijs
      Ps. is it only in holland that they start playing christmas songs in supermarkets around the beginning of december?
    • Dec 12 2006 | 5:24 pm
      in the US, they start those fucking songs late Nov, right after
      thanksgiving. If there is one thing I hate the most, it is the
      holidays in NYC with all the tourists, shopping sprees and crowds..
      BTW, I usually do align my objects, but im running a little late and
      was rushed :P
      On Dec 12, 2006, at 12:14 PM, Mattijs Kneppers wrote:
      >
      > Quote: vade wrote on Tue, 12 December 2006 17:50
      > ----------------------------------------------------
      >> If you want things to be even faster, you can use OpenGL (it really
      >> is much faster)
      >>
      >> Set up your for movies to output named textures, and then do
      >> something like.. bah, here is the whole patch.
      >> I bet this will be quite faster than jit.glue :)
      >>
      >
      > That's a nice and efficient patch! But couldn't you -at least-
      > align your objects? ;)
      >
      > [OT] Still I do wonder how it can be that patches I see from other
      > users are without exception not aligned. I really can't work
      > without straight patch cords. Even if my patch only contains two
      > objects they will always be aligned. Am I.. different?
      >
      > Warm and happy christmas greetings :p,
      > Mattijs
      >
      > Ps. is it only in holland that they start playing christmas songs
      > in supermarkets around the beginning of december?
      > --
      > SmadSteck - http://www.smadsteck.nl
      > Interactive audiovisual sampling soft- and hardware
      >
      v a d e //
      www.vade.info
      abstrakt.vade.info
    • Dec 12 2006 | 5:25 pm
      Thanks,
      Faster sounds good to me! but I can't open your patch :(
      what I normally do is cut n past into text edit make it plain text and name it .pat is this right? Max window says "object dose not exist"
      I will have a go at OpenGL now I know there is a better way. Thought I had sussed it with jit.glue! It works is easy but now you have told me about a faster way I will have to explore that.
      I am on a Mac
      Carl
    • Dec 12 2006 | 5:32 pm
      On 12/12/06, Carl Rohumaa wrote:
      >
      > Thanks,
      > Faster sounds good to me! but I can't open your patch :(
      > what I normally do is cut n past into text edit make it plain text and name it .pat is this right?
      No. For this you can just open a new blank patch and paste directly
      in it. All objects will appear like magic.
      wes
    • Dec 12 2006 | 5:43 pm
      >[OT] Still I do wonder how it can be that patches I see from other
      >users are without exception not aligned. I really can't work without
      >straight patch cords. Even if my patch only contains two objects
      >they will always be aligned. Am I.. different?
      This is perhaps better discussed with your therapist. :-)
      In my experience, there is a subset of Max users who appear to view
      non-straightened patches as some sort of outward and visible sign of
      their inward creativity. One often encounters them in the course of
      attempting to debug a rat's nest of a patch, and it's also not too surprising
      to discover that some very large number of them haven't bothered to
      look at those bits in the tutorials where position and order of operations
      are discussed, and that they are thus mystified as to why their obviously
      visionary-looking badboy Max patch doesn't work properly when they
      shove stuff around.
      Of course, this doesn't describe *all* cases where the rat's nest
      rules, and it's not always the case that such patching approaches
      are *necessarily* strongly linked to the an attitude toward "creativity"
      that privileges concept over detail and execution.
      Usually, it's a phase, like adolescence. Some people remain
      adolescents longer than others, that's all.
      My official workshop mantra about patch neatness is the same
      as commenting patches: It is a way of writing love notes to your
      future self. And I am by no means anything approaching a "neat
      person." Ask anyone.
      The other main source of ratsnestery is sequential patching, where
      a subsection of a patch is jiggled and nonaligned because it was
      added later and the patcher just never got around to cleaning the
      campsite. I do that all the time, and have suffered for it more than once.
      >Ps. is it only in holland that they start playing christmas songs in
      >supermarkets around the beginning of december?
      It's after Hallowe'en here.
      --
      on the floor there's a long wooden table/on the table there's an open book/
      on the page there's a detailed drawing/and on the drawing is the name I took
      Gregory Taylor http://www.rtqe.net
    • Dec 12 2006 | 5:43 pm
      copy the code; open a new patch in max ; paste.
      here is vade's patch with uyvy2argb colormode slab, it saves some cycles
      and i aligned the cords.
      max v2;
      On 12/12/06, Carl Rohumaa wrote:
      >
      >
      > Thanks,
      > Faster sounds good to me! but I can't open your patch :(
      > what I normally do is cut n past into text edit make it plain text and
      > name it .pat is this right? Max window says "object dose not exist"
      >
      > I will have a go at OpenGL now I know there is a better way. Thought I had
      > sussed it with jit.glue! It works is easy but now you have told me about a
      > faster way I will have to explore that.
      >
      > I am on a Mac
      >
      > Carl
      > --
      > Some links to my stuff n that :-)
      > http://zappa.tvu.ac.uk/~crohumaa/CV/cv.php
      >
    • Dec 12 2006 | 6:32 pm
      Why use the slab when you can set the colormode of the texture to uyvy?
      On Dec 12, 2006, at 12:43 PM, yair reshef wrote:
      > copy the code; open a new patch in max ; paste.
      > here is vade's patch with uyvy2argb colormode slab, it saves some
      > cycles
      >
      > and i aligned the cords.
      > max v2;
      > #N vpatcher 137 390 1067 917;
      > #P origin -688 -177;
      > #P button 400 60 15 0;
      > #P window setfont "Sans Serif" 9.;
      > #P window linecount 3;
      > #P newex 660 127 134 9109513 jit.gl.slab v001 @file
      > cc.uyvy2rgba.jxs @dimscale 2. 1.;
      > #B color 5;
      > #P window linecount 1;
      > #P message 665 87 30 9109513 read;
      > #P newex 660 177 166 9109513 jit.gl.texture v001g @name movie4;
      > #P newex 660 105 135 9109513 jit.qt.movie @colormode uyvy;
      > #P window linecount 3;
      > #P newex 490 127 134 9109513 jit.gl.slab v001 @file
      > cc.uyvy2rgba.jxs @dimscale 2. 1.;
      > #B color 5;
      > #P window linecount 1;
      > #P message 499 88 30 9109513 read;
      > #P newex 490 177 166 9109513 jit.gl.texture v001g @name movie3;
      > #P newex 490 105 135 9109513 jit.qt.movie @colormode uyvy;
      > #P window linecount 3;
      > #P newex 319 127 134 9109513 jit.gl.slab v001 @file
      > cc.uyvy2rgba.jxs @dimscale 2. 1.;
      > #B color 5;
      > #P window linecount 1;
      > #P message 328 87 30 9109513 read;
      > #P newex 319 177 166 9109513 jit.gl.texture v001g @name movie2;
      > #P newex 319 105 135 9109513 jit.qt.movie @colormode uyvy;
      > #P window linecount 3;
      > #P newex 149 127 134 9109513 jit.gl.slab v001 @file
      > cc.uyvy2rgba.jxs @dimscale 2. 1.;
      > #B color 5;
      > #P window linecount 1;
      > #P message 162 86 30 9109513 read;
      > #P newex 5 203 85 9109513 jit.window v001g;
      > #P toggle 4 22 15 0;
      > #P newex 4 172 92 9109513 jit.gl.render v001g;
      > #P newex 149 177 166 9109513 jit.gl.texture v001g @name movie1;
      > #P newex 149 105 135 9109513 jit.qt.movie @colormode uyvy;
      > #P newex 4 121 58 9109513 t b b erase;
      > #P newex 4 50 51 9109513 qmetro 2;
      > #P message 167 318 196 9109513 texture movie4 , position 0.5 -0.5
      > 0 , bang;
      > #P message 181 296 201 9109513 texture movie3 , position -0.5 -0.5
      > 0 , bang;
      > #P message 195 274 196 9109513 texture movie2 , position -0.5 0.5
      > 0 , bang;
      > #P message 209 252 191 9109513 texture movie1 , position 0.5 0.5 0
      > , bang;
      > #P newex 167 223 53 9109513 t b b b b;
      > #P window linecount 2;
      > #P newex 292 344 325 9109513 jit.gl.videoplane v001g @scale 1. 1.
      > 1. @depth_enable 0 @blend_enable 1 @automatic 0 @dim 2 2 @scale 0.5
      > 0.5 0.5 @depth_enable 0;
      > #P connect 11 0 6 0;
      > #P connect 6 0 7 0;
      > #P connect 7 0 10 0;
      > #P connect 7 2 10 0;
      > #P fasten 6 0 8 0 9 87 154 87;
      > #P connect 13 0 8 0;
      > #P connect 8 0 14 0;
      > #P connect 14 0 9 0;
      > #P connect 27 0 13 0;
      > #P connect 7 1 1 0;
      > #P connect 1 0 5 0;
      > #P connect 1 1 4 0;
      > #P connect 1 2 3 0;
      > #P connect 1 3 2 0;
      > #P connect 5 0 0 0;
      > #P connect 4 0 0 0;
      > #P connect 2 0 0 0;
      > #P connect 3 0 0 0;
      > #P fasten 6 0 15 0 9 87 324 87;
      > #P connect 17 0 15 0;
      > #P connect 15 0 18 0;
      > #P connect 18 0 16 0;
      > #P connect 27 0 17 0;
      > #P fasten 6 0 19 0 9 87 495 87;
      > #P connect 21 0 19 0;
      > #P connect 19 0 22 0;
      > #P connect 22 0 20 0;
      > #P connect 27 0 21 0;
      > #P fasten 6 0 23 0 9 87 665 87;
      > #P connect 25 0 23 0;
      > #P connect 23 0 26 0;
      > #P connect 26 0 24 0;
      > #P connect 27 0 25 0;
      > #P pop;
      >
      >
      > On 12/12/06, Carl Rohumaa wrote:
      >
      > Thanks,
      > Faster sounds good to me! but I can't open your patch :(
      > what I normally do is cut n past into text edit make it plain text
      > and name it .pat is this right? Max window says "object dose not
      > exist"
      >
      > I will have a go at OpenGL now I know there is a better way.
      > Thought I had sussed it with jit.glue! It works is easy but now you
      > have told me about a faster way I will have to explore that.
      >
      > I am on a Mac
      >
      > Carl
      > --
      > Some links to my stuff n that :-) http://zappa.tvu.ac.uk/~crohumaa/
      > CV/cv.php
      >
      v a d e //
      www.vade.info
      abstrakt.vade.info
    • Dec 12 2006 | 6:35 pm
    • Dec 12 2006 | 6:44 pm
      On Dec 12, 2006, at 10:32 AM, vade wrote:
      > Why use the slab when you can set the colormode of the texture to
      > uyvy?
      Faster on XP. XP drivers don't support a uyvy texture datatype as
      they do on OS X, so the conversion is done on the CPU for
      jit.gl.texture under XP. Using a shader in this fashion is also more
      flexible, with color correction, chroma smoothing, and anything else
      you want to add to the shader "for free" on both platforms.
      -Joshua
    • Dec 12 2006 | 6:59 pm
    • Dec 12 2006 | 7:00 pm
      Ah.
      Oh XP, how you always throw a wrench at me. Thats good to know, as I
      would have hit a brickwall on this in a few days when I move some
      things to XP. Thanks.
      Does this shader manage the 16-235 to 0 255 chroma shift from YUV to
      ARGB?
      On Dec 12, 2006, at 1:44 PM, Joshua Kit Clayton wrote:
      >
      > On Dec 12, 2006, at 10:32 AM, vade wrote:
      >
      >> Why use the slab when you can set the colormode of the texture to
      >> uyvy?
      >
      > Faster on XP. XP drivers don't support a uyvy texture datatype as
      > they do on OS X, so the conversion is done on the CPU for
      > jit.gl.texture under XP. Using a shader in this fashion is also
      > more flexible, with color correction, chroma smoothing, and
      > anything else you want to add to the shader "for free" on both
      > platforms.
      >
      > -Joshua
      >
      >
      v a d e //
      www.vade.info
      abstrakt.vade.info
    • Dec 12 2006 | 7:32 pm
      Just soaking all this up, thanks for such a generous thread. I don't get this treatment on the QC dev list! ;) I will try Vades original patch as I am on a Mac right?
      Do straight patch chords make the patch go faster? ;)
      Seriously though as this is my second attempt at learning MAX (after a rest of a year) this time with jitter I am sub patch crazy. I am putting every little nugget in a sub patch, is this the way forward or dose sub patching too much cost cpu cycles?
    • Dec 12 2006 | 7:45 pm
      This is purely a matter of personal style.
      Some people like encapsulation of their various modules, others like to
      see it all on one page.
      Choose whatever format you like.
      Cheers,
      Andrew B.
    • Dec 12 2006 | 8:15 pm
      On Dec 12, 2006, at 11:00 AM, vade wrote:
      > Does this shader manage the 16-235 to 0 255 chroma shift from YUV
      > to ARGB?
      Just peek inside cc.uyvy2rgba.jxs and the exp and lite variants.
      They're pretty well commented, and have lots of tweakable controls
      for getting just the color correction you'd like to see.
      -Joshua
    • Dec 13 2006 | 10:59 am
      Quote: yair r. wrote on Tue, 12 December 2006 18:43
      ----------------------------------------------------
      > and i aligned the cords.
      Noooo nononono! All wrong!! This is how it should be!
      (true, there are limits.. ;)
    • Dec 13 2006 | 11:58 am
      Is this the same patch with just the cables tidied? Anyway all I get is a white screen. I only have a Mac to try it on. What is different?
    • Dec 13 2006 | 12:08 pm
      Quote: CarlR wrote on Wed, 13 December 2006 12:58
      ----------------------------------------------------
      > Is this the same patch with just the cables tidied? Anyway all I get is a white screen. I only have a Mac to try it on. What is different?
      Yeah, it's the same patch. White screen? If you paste the text into a patcher window? Are you sure you copied the text correctly?
      I'm on a mac too.
    • Dec 13 2006 | 12:22 pm
      still no luck with this. Vades original patch works fine, I quit open up the tidied version and I get a black (not white) screen after loading the movs.
    • Dec 13 2006 | 12:25 pm
      sometimes the patch is pasted with an offset, scroll the patch bars left and
      up.
      as for tiding i have seen nesa use this and i like
      max v2;
      On 12/13/06, Mattijs Kneppers wrote:
      >
      >
      > Quote: CarlR wrote on Wed, 13 December 2006 12:58
      > ----------------------------------------------------
      > > Is this the same patch with just the cables tidied? Anyway all I get is
      > a white screen. I only have a Mac to try it on. What is different?
      >
      > Yeah, it's the same patch. White screen? If you paste the text into a
      > patcher window? Are you sure you copied the text correctly?
      >
      > I'm on a mac too.
      >
      >
      > --
      > SmadSteck - http://www.smadsteck.nl
      > Interactive audiovisual sampling soft- and hardware
      >
      >
    • Dec 13 2006 | 3:55 pm
      Quote: yair r. wrote on Wed, 13 December 2006 13:25
      ----------------------------------------------------
      > as for tiding i have seen nesa use this and i like
      Yeah, this is even better from an educational point of view. I started doing this at first (I did quite some courses involving basic computer logic gate schemes at the technical university in Delft), but in max it is not something you're going to hold on to. It takes too much time.
      Mattijs
    • Dec 13 2006 | 4:14 pm
      > too much time.
      exactly.
    • Dec 13 2006 | 4:29 pm
      So....can you explain this picture attached? So its ok to patch like this if you are C74? ;)))))))
    • Dec 13 2006 | 4:57 pm
      It looks like it was patched by Jit
    • Dec 14 2006 | 10:47 pm
      kind of looks like jeremy b's patchwork. ;)
      you could tell if it was luke's, because the image would be 5000
      pixels across.
      j
      On Dec 13, 2006, at 4:29 PM, Carl Rohumaa wrote:
      > So....can you explain this picture attached? So its ok to patch
      > like this if you are C74? ;)))))))
      > --
      > Some links to my stuff n that :-) http://zappa.tvu.ac.uk/~crohumaa/
      > CV/cv.php
      >
    • Feb 26 2007 | 10:30 pm
      Hi there,
      I was trying to get the patch to work but I get nothing in the render screen, the max window is showing an error
      jit.gl.shader : cant find file cc.uyvy2rgba.jxs@dimscale
      I checked and the file does exist in the jitter shaders/color folder is this the right place or can anybody tell me why the patch doesn't work?
      I'm on a macbook pro if that effects anything
      Cheers
      Jack
    • Feb 26 2007 | 11:05 pm
      it looks like you don't have a space after .jxs, so its interpreting
      @dimscale as part of the filename
      -deKam
      >
      > Hi there,
      >
      > I was trying to get the patch to work but I get nothing in the
      > render screen, the max window is showing an error
      >
      > jit.gl.shader : cant find file cc.uyvy2rgba.jxs@dimscale
      >
      > I checked and the file does exist in the jitter shaders/color
      > folder is this the right place or can anybody tell me why the patch
      > doesn't work?
      >
      > I'm on a macbook pro if that effects anything
      >
      > Cheers
      >
      > Jack
      >
      >
    • Feb 27 2007 | 7:17 pm
      Hmm, removed the spaces and still got the same problem , It looks like other people had the same problem earlier in the thread. I dont get any errors anymore but I still don't get anything showing on the screen
      Heres what the patch looks like with the spaces removed.
      max v2;
      Thanks for your help
      Jack
    • Feb 28 2007 | 11:28 am
      hi
      just add "g" to the v001 on the slabs i.e jit.gl.slab v001g @file cc.uyvy2rgba.jxs @dimscale 2. 1.
      Carl
    • Feb 28 2007 | 11:48 am
      or take out the "g" in the texture names and the videoplane
      I hope this is what you mean, pretty new to this but doing these things works for me
      Anybody give me a clue as to what to plumb in to be able to record the output of the videoplane with audio? I have tried render node but my patch won't come up in the render window just the preview.
      I guess I need to mix the audio from the qt objects via four spigots and somehow render the video into something that jit.qt.record can understand.
      Not getting any results so far but will keep trying.
      Had a go with jit.qt.videoout to record to DV and although a connection is established successfully the DV deck or DV camera will not pick it up, I do get a flash on the monitor out of the deck when I change modes but no meaningful video.
      My project remains stuck inside my computer!
    • Mar 01 2007 | 5:12 pm
      Cheers Carl, that works now, I should have spotted that.
      Cheers
      JK
    • Mar 01 2007 | 7:12 pm
      and the font size would be AT LEAST 24-point
      On Dec 14, 2006, at 10:47 PM, joshua goldberg wrote:
      > kind of looks like jeremy b's patchwork. ;)
      >
      > you could tell if it was luke's, because the image would be 5000
      > pixels across.
      >
      > j
      >
      > On Dec 13, 2006, at 4:29 PM, Carl Rohumaa wrote:
      >
      >> So....can you explain this picture attached? So its ok to patch
      >> like this if you are C74? ;)))))))
      >> --
      >> Some links to my stuff n that :-) http://zappa.tvu.ac.uk/~crohumaa/
      >> CV/cv.php
      >>
      >