Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Opengl video texture

Tags:

c++

opengl

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 ?

like image 431
user351979 Avatar asked Oct 12 '22 13:10

user351979


1 Answers

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).

like image 105
datenwolf Avatar answered Oct 18 '22 00:10

datenwolf