Rendering video in OpenGL
3 answers
I recommend Theora Video Format.
Here are the benefits:
- Completely open source, free and non-proprietary specification
- Free working library implementation (encoder / decoder) and source code examples available under BSD type license
- Not too shabby documentation.
- Portable
The decoder allows R'G'B 'to be decoded, which can be easily loaded using an OpenGL buffer object and obtained in the shader via a sampler.
+2
Mads Elvheim
source
to share
if you mean a solution you can build / code, I can suggest quicktime (easy on mac with cocoa, strange on windows, but it works), or you can check the mplayer / vlc sources and try to integrate them. there are many demos on the internet.
since you need cross platform i think gstreamer, video4linux and directshow are nothing for you. but there are video players that support different backends on different platforms - like openFrameworks
+1
source to share