Resizing Movie Files without Stretching Aspect Ratio

Oct 2, 2013 at 12:58am

Resizing Movie Files without Stretching Aspect Ratio

Hey, I’m working on a patch where I’m rescaling a jit.pwindow playing a quicktime movie to play Fullscreen on the Patcher.

However when rescaling it also changes the aspect ratio and streches it to the top and the bottom. Is it possible to have it keep it’s correct ratio and have jit.pwindow to show black bars in the space that stays empty?

#266807
Oct 3, 2013 at 12:52pm

Turn your movie into a texture and then send it into a jit.gl.plane. When you then resize jit.pwindow then you know that the aspect ratio will always stay the same.

#266971

You must be logged in to reply to this topic.