I'm developing an opengl application in C++ on Windows using Visual Studio 10. Currently I use a static texture on a cube but I would like to integrate a video texture.
Do you know which library I can use to open and decrypt video ?
Have a look at ffmpeg/libavformat/libavcodec or gstreamer. Threy're pretty straigtforward to use. You should use glTexSubImage2D
for updating the texture date (using this doesn't do a full texture reinitialization).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With