Opengl Video

I am developing an opengl application in C ++ on Windows using Visual Studio 10. I am currently using a static texture on a cube, but I want to integrate the texture of the video.

Do you know which library I can use to open and decrypt a video?

+5
source share
2 answers

Take a look at ffmpeg / libavformat / libavcodec or gstreamer. Threy're pretty hard to use. You should use glTexSubImage2Dto update the texture date (this does not fully reinitialize the texture).

+4
source

OpenCV is a good library for this. Look at here.

http://blog.damiles.com/?p=9

and here

http://www.codeproject.com/KB/openGL/videotexture.aspx

0

All Articles