Split/Crop video and dimensions

billyanok's icon

Hello,
Can someone can help me?
I'm trying to split a 1920x1080 video into 4 separate 960x540 streams for processing and then re-assemble back into a 1920x1080 stream.
I've attached a basic example.
Thank You!
Bill Y

forum-4way-split.maxpat
Max Patch
4way_1080_still.jpg
jpg
billyanok's icon

bump..?

marker's icon

Take a look at jit.scissors & jit.glue.

billyanok's icon

Hello Marker, I would like to keep things in Open GL only as in example patch.
Thank You,
B

matmat's icon

Hi BILLYANOK,

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

To do the job, i usually use "@rect" attribute from "jit.gl.pix" ...

billyanok's icon

Hey Matmat, Thank you very much for the reply, I appreciate it, but I'm trying to keep the crop dimensions to 1/4 of the input resolution. So a 1920x1080 input with 4 crops @ 960x540. This would allows further processing of each cropped signal at the reduced dimensions therefore lees strain in the GPU. My example and your example still process each crop at input resolution.
Thank You,
Bill

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

But you could setup the "jit.gl.pix" with the good resolution ?

billyanok's icon

Hey MATMAT, that did the trick.
muchos gracias!
Bill