I’m working on a video mixer with blending modes done in GLSL. What I have trouble with is how to use a rectangular (16:9) texture with JUCE and OpenGL. The OpenGLTexture class forces a square texture, deforming my video data, and the standard way (glGenTextures, bind, …) does not seem to work.
Is JUCE doing anything to prevent the standard texture get to the shader? Or does anyone have other tips to make this work?
The video is loaded, decoded etc. by ffmpeg and the code is available at https://github.com/vooku/tvaem