Maintain aspect ratio with videoplane

JasonR's icon

SO I am working on a basic video player, with multiple layers, using multiple jit.videoplane

Is there any way to maintain a video's native aspect ratio? As it is now, I have to set the x scale parameter to get it to match the original, and if I have mixed aspect ratio videos, I'd have to change this constantly.

On another note, is there a way to control x and y scale separately, but still be able to scale them together?

Dg's icon

> maintain a video's native aspect ratio?

try @transform_reset 2 to fill the window

Zachary Seldess's icon

Hi Jason,

Here's what I do sometimes. Hope it helps.

best,
Zachary

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

JasonR's icon

thanks Zachary, that is exactly what I was looking for, now I just need to figure out how that all works! (I'm very new to max)

Jason