using video clips as buffer

Dec 1, 2009 at 7:17pm

using video clips as buffer

Hi, I’m new to max/msp/jitter. I’m trying to create a patch with two side by side videos: one based on the jit.qt.grab object/iSight and another video with pre-recorded content. They play simultaneously. What I want is to be able to grab clips (photos, essentially) of the (iSight cam) footage and stack these over the other video.

How can I tell jitter to grab one second clips of the isight footage and have these appear in the patch rather than writing them to desktop

#46794
Dec 1, 2009 at 7:37pm

What you are looking for is a ~30 frame video buffer. There are numerous ways to create this. The easiest way is to use the jit.matrixset object, which allows you to write and read frames in a bank. You will of course need to put together the logic for the recording and playback. There are also examples floating around of doing similar things with a 3D jit.matrix and JavaScript.

Best,
Andrew B.

#168325

You must be logged in to reply to this topic.