Forums > Jitter

calculating video size

Feb 05 2014 | 7:23 am


I’m trying to render 1 input video to multiple videos in X columns and Y rows on the screen. I tried to use videoplane and calculate position and size (scale) for each output clip.

I want to be able to specify how many clips I want (num of rows and columns) and output multiplicated clips on the window. The problem I have is that I don’t know how I should calculate clip positions and sizes based on the original size.

Does anyone know how to calculate the position and scale for each clip? I know that position should be between -1 and 1, but it depends on a video scaling and original video size (I think?). How to incorporate that data, even though the video is not square size?

Thanks for help,

Here’s my current attempt:

-- Pasted Max Patch, click to expand. --


Feb 07 2014 | 8:18 pm

Hi, don’t know exactly what you want but you should check out
jit.scissors and jit.glue

Viewing 2 posts - 1 through 2 (of 2 total)

Forums > Jitter