Postby fkuehne » 16 Apr 2016 08:59
MobileVLCKit renders in an OpenGL context by itself and in the latest unstable code, it also supports multi-threaded OpenGL rendering correctly. However, there is no direct way to render to an OpenGL texture.
However, libvlc, the low level library behind VLCKit, supports rendering decoded frames to a memory buffer (which we call "vmem") that is currently already used by the VLCMediaThumbnailer class. Maybe this way could be adapted to give you the raw the buffers so you can render them yourself in your OpenGL context? Obviously, this will involve a speed penalty and not allow 0 copy rendering for hardware decoded media.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net