GLMediaPlayer.getNextTexture -> textures contain no data

Posted by Peter F on
URL: https://forum.jogamp.org/GLMediaPlayer-getNextTexture-textures-contain-no-data-tp4032869.html

Hello,

when I call GLMediaPlayer.getNextTexture, I only get a black screen drawn when I draw the resulting texture.

TextureSequence.TextureFrame toString = TextureFrame[pts 1833 ms, l 41 ms, texID 0]
Texture ( TextureFrame.getTexture ) toString Texture[target 0xde1, name 0, 416/672 x 240/240, y-flip true, 0 bytes]

I'm working off of the MovieCube demo, including trying to draw the same video. So far as I can tell, the video is being decoded ( the GLMediaPlayer.getDecodedFrameCount increments ) but Texture.getEstimatedMemorySize is always 0.

Any help much appreciated! thank you.