Forums > Jitter

Cut strips from qt ->make new qt?

October 6, 2010 | 3:46 am

I am a new max/jitter user. I’m trying to make a patch that cuts a strip off
the edge of a video and then somehow pastes that into a new blank movie.

So far I’ve got an object to make a strip (i think)

jit.submatrix @dim 10 240 @offset 0 0

but when I send it to jit.qt.record it just blows it up to 320X240, not
placing it on the edge as if I cropped it.

The future patch should take the "edge videos" from a folder of qts and place them in the new movie like vertical blinds from left to right.

Can anyone point me to the right object to do this?

thanks!

-ian


October 6, 2010 | 8:18 am

You should be able to specify a res to record in, so [jit.qt.record 10 240]

But may want to have a separate qt.mov and submatrix object for each strip and then glue them together with jit.glue. You can then fiddle with the resulting matrix real time or record it.


October 6, 2010 | 8:24 am

Here you are, feeling generous this morning!

– Pasted Max Patch, click to expand. –

October 8, 2010 | 5:14 pm

When I read the docs I was under impression that you had to work with equal sized quadrants with glue, but you can add as many columns as you want!

So I just need to come up with some counter to send the video to the different column inlets!

Thanks, this has really got me started…!


October 8, 2010 | 9:20 pm

you can use a [gate] too, maybe [gate 16] for 16 columns. Though it’s not as flexible as a [counter] which you can readily change the max count.

A [matrixctrl] with "one cell per row" checked could be used too, if you want an easy UI for your routing. Or just a row of toggles, each going to a single [gate].


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