Datamoshing in real time

Zach McLane's icon

Hello,

I am new to Max and am trying to create a patch that will datamosh video in real time. I found this patch that should be able to do it: http://wucollective.com/?p=397

However, when I try to run this patch it crashes Max. It's from 2013 so maybe it's outdated? Any idea why this might be happening? I'm not sure if I need to completely rebuild the patch in order for it to work or could tweak it in order for it to function properly.

Thanks!

Yoann's icon

Nice patch :)

The method of cv.jit.opticalflow seems to be the problem.
I tried replacing it by "@method horn_and_schunk" and it worked

jeff trupiano's icon

Where do i find the @method horn and shrunk object if that?

Dario's icon

make sure you have the cv.jit externals installed. Go to the package manager and find this and install it and see if the patch still crashes.

Dario's icon

works fine for me.. just follow the above instruction and change "cv.jit.opticalflow" object from @method bm to @method horn_and_schun