Crop videoplane
Hello, I am trying to replicate the Crop effect in Adobe Premiere. I have something that works using alphamasks but it seems a little overkill and I'm wondering if there is any optimized way to do this (shaders?).
I'm using four matrices loading four images of a black line (left, right, bottom, top). Matrices are moved using jit.rota and combined with jit.concat. The resulting matrix is sent to a jit.gl.texture and this texture goes to the right inlet of a jit.gl.slab @file cc.alphaglue.jxs.
Everything works but there is probably an easier and more efficient way to do this, right?
Hey man, made a video about it:
https://youtu.be/YTMx271sCLU
thanks so much!! I really appreciate!
Great!
Thanks Federico! :-)
That's so clear and simple compared to my clumsy attempts.
i also use rota, concat ´n stuff, probably not not ideal but works for simple jobs.