Jitter Delay/Trails Effect

anonymous's icon

Hello I'm wondering if anyone can help me with some externals and/or java script for video Delays and Trails....

I'll try and make this clear. For example I have a bouncing ball move through the frame, with no Delay or Trails effect on the is just 'one' (the real one) ball. But if I wind on the delay/trails effect there are multiple balls after the original has moved through the frame.

Any help would be greatly appreciated.

Thanks

pm's icon

Have a look at jit.matrixset. You can do a lot of delay effect and video scrambling with that object.

Have fun.

anonymous's icon

jit.matrixset is good but still no quite there...

any other suggestions?

pm's icon

why is jit.matrixset not good enough?

Joshua Batty's icon

The best delay in Jitter i've seen is in Andrew Benson's Video Processing System patch. The frame based delay is amazing and i've been using that as a starting point for most delay based effects I go for.

seejayjames's icon

a quick and dirty fade:

matrix output-->
jit.xfade (left inlet)-->
speedlim 50-->
back into jit.xfade (right inlet)
video out from jit.xfade, not the speedlim.

set xfade to about 0.8 and up, at 0.999 you'll have dreamy fades all over the place... it's crossfading with itself. at 1.0 it will effectively freeze.

jit.xfade output won't let you go directly back into the right inlet, so go through [speedlim]. for more fun, set the [speedlim] rate to match audio BPM :)

anonymous's icon

can't really get jit.matrxset to work smoother enough, also the length of the trails are too short. I mean I may not be using it correctly...

jit.xfade tip above is nice but I would still like longer delay trails, so it almost seems like multiple videos when it's just the one.

thanks for the help guys, i'm getting there...

mark henrickson's icon

ive found that using the long data type for your matrixset seems to make the tails longer than when using char data.

Andrew Benson's icon
Max Patch
Copy patch and select New From Clipboard in Max.

The trick with jit.matrixset based delays is coming up with a good "circular buffer" approach and composite with the original. Here is the basic idea.

Andrew Benson's icon

also, as mentioned many times on this forum, float32 data type is best for longer delay-trails.

anonymous's icon

thanks Andrew!

laserpilot's icon

Is there a trick to doing something like jit.matrixset delay with opengl objects? I know GPU based stuff isn't the best for storing frames, but I have a long line of GL effects I'd like to integrate in the line without jumping back to the CPU

I know the gl accum object (i use it for a bloom effect) but it doesn't seem to have this same kind of frame level access that matrixset does

Andrew Benson's icon

@laserpilot, please check out the Video Processing System series of articles on this site. There's a texture-based buffer in the 3rd part.

Luis Marques's icon

I'm also interested in bloom effect, but i can't reach that... Can you provide me a direct orientation?

Thanks

Luis Marques

anonymous's icon

yes I'd be interested to hear more about this 'Bloom Effect' - any help would be greatly appreciated,

Andrew Benson's icon

The photoshop tutorial here shows the component parts needed to implement a bloom. Shouldn't be too hard to piece together with the included shaders.

Sophia's icon

I'm pretty sure "bloom" is the same as "glow": adding an image to a blurred copy of itself. There is a glow shader, plus this is extremely easy to do with jit.convolve and jit.op.

Luis Marques's icon

It wold be very nice to have a tail whit the color... a very beautiful haul...

Luis Marques

anonymous's icon

OK so I found the jit.matrixset delay a little un-effective

So I've been trying to work Andrew's delay from VPS3 into my Jitter patch with little success

Max Patch
Copy patch and select New From Clipboard in Max.

does anyone have any suggestions?

thanks in advance

Andrew Benson's icon

In the texture-buffer subpatch, there are some missing patchcords, probably because the poly~ abstractions weren't in your search path when you copied it over. Making the appropriate connections fixes it for me.