juce::VideoComponent with OpenGL components

Hey yall,

Bit of a niche question but I’m trying to use the juce video component on top of some openGL components and am experiencing bad flickering issues. My assumption is its spawning a window on top of the openGL to play the video and for some reason is competing with it instead of sitting on top. Figured someone who knows the inner working might know a little better if theres a way to fix this. Obviously, the complex solution would be to roll my own video rendering with opengl and like ffmpg, but I’d rather not at this time. My thought is could I grab the window handle and set some flags for it so it doesn’t compete with the opengl window. Thanks

For what its worth for anyone in the future, the easier solution to this was just to use a CHOC Webview (maybe juce 8 webview works too, never tried it) and just create a simple HTML video player

2 Likes