Rotating Videos/Angles

Jodie Clarke's icon

Is there a way, or certain objects that will allow me to rotate videos the right way up in MAX MSP. I have recorded videos from my phone that I want to use in max, but when I import them into a jit.playlist, the videos are not straight. Any help is appreciated thanks.

Rob Ramirez's icon

there are two basic ways to go about this. if you want your vertical video displayed in a "normal" horizontal window with proper aspect ratio, then use a jit.gl.slab @td.rota.jxs to rotate and scale the video with proper vertical orientation.

if you want to display the video in a vertical window then just use jit.gl.videoplane with transform_reset 2 enabled and rotate the image with the rotatexyz attribute.

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

Jodie Clarke's icon

Thank you, the second jit.gl object was what I was looking for, worked perfectly. Thanks for again for replying