Demo of using TextureView and OpenGL on it to render video
Clone or download
izacus Merge pull request #1 from trippedout/master
bindTexture using wrong enum
Latest commit 7d7b06a Feb 20, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets Surface texture video rendering May 12, 2013
res Renamed package May 12, 2013
src/si/virag/AndroidOpenGLVideoDemo update to renderer, used wrong enum Feb 3, 2015
.gitignore Initial commit May 12, 2013
AndroidManifest.xml Renamed package May 12, 2013
LICENSE Updated README and LICENSE Dec 28, 2013
README.md Updated README and LICENSE Dec 28, 2013

README.md

TextureView Video playback demo

This is a demo for using OpenGL to render video to a TextureView.

With this you can use OpenGL shaders for video effects during playback.

Important files:

TextureSurfaceRenderer.java - Similar to GLSurfaceView, it initialiazes OpenGL context on a TextureView surface and has an abstract draw() function where OpenGL drawing should be done.

VideoTextureRendrer.java - Extension of TextureSurfaceRendrer that uses OpenGL shaders to render video with OpenGL.