Forums > Jitter

exportmovie and jit.matrixset

January 19, 2006 | 11:43 pm

I’m writing a patch that’ll allow the user to record up to 4 minutes of video using a Firewire camera. I’m using the exportmovie function of the jit.matrixset object. However, the only way I could get it to record more than one frame at a time was up the matrixcount in the jit.matrixset object, so it looks like

jit.matrixset 1920 4 char 640 480

But whenever I create this object, Max/MSP throws a wobbly and my entire computer grinds to a halt. I’m guessing this is because of the high matrix count.

If anyone has any solution to this problem, or a better way of recording video (not bothered about the audio) for up to 4 minutes that’d be great.

I’m running Max 4.5.5 and Jitter 1.5.2 on OSX 10.4.4 on a Duel 2.7Ghz G5. I’d upload a sample patch, but everytime I try and create one my computer practically implodes…


January 20, 2006 | 12:12 am

Hi Ed,

I would suggest you use jit.qt.record, or jit.qt.grab’s record to
disk mode if appropriate. This is simply in excess of the amount of
addressable memory for 32 bit applications. Each 4 char 640 x480
matrix is ~1.2 MB. 32bit apps have ~2GB addressable memory, a not
insignigicant amount of which is necessary just to run the
application itself.

Hope this helps.

-Joshua


January 20, 2006 | 9:36 pm

Awesome advice, thanks very much. I guess I should have noticed my ram usage shoot up (gotta love Menumeters). I used jit.qt.record instead and it works perfectly.


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