Forums > Jitter

[newb-ish] One movie; Six loop points; Six video 'tiles'

May 11 2007 | 8:51 pm

Hello, and apologies for what feels like newbie questions – I’m newish to jitter but not to computer video / vision (good in c and java, not objects and wires!) (oh, veteran max/msp user, otoh)

I’d like to load one movie file into ram, set 6 (or 8, or whatever) sets of loop points, and output six tiles of video, in a grid, in one window. Think Brady Bunch, but one character looping at different points in the file.

The output would look something like (excuse the non-monospace font):
| | | |
| | | |
(stupid font, grumble)

I’m looking for a container analogous to buffer~ in MSP; that is, something that is one block of memory that can be read randomly from different objects. I’m getting the feeling that this doesn’t exist in jitter. Will I really have to load the same file 6 times?

As far as tiling it, I’ve gathered that the popular way to do this is not with matrix operations but by texturing planes in OpenGL. This seems very strange to me as it is expensive (bandwidth-wise) to push all the texture information across to the video card. Or, internally, does jitter just use glColor commands and lots of little quads, even though we’re using the texture message? (This is how I’ve done video -> OpenGL in the past, in c++ and java)

Or – how would one do it with just matrix ops? It seems like most of them are for splitting (ie jit.split, jit.scissors, etc), not combining. jit.concat only takes 2 matrices.

Thanks in advance!

May 11 2007 | 10:17 pm

Have a look at the TinyVideo recipe. That should give you one idea.

Andrew B.

May 11 2007 | 11:51 pm

That helps. From there I think I can get to having one matrix with 6 video streams in it.

What about the single quicktime movie source with multiple (loop points and) outputs? Surely this is possible..?

May 12 2007 | 4:38 am

Viewing 4 posts - 1 through 4 (of 4 total)

Forums > Jitter