Re: GLMediaPlayer.getNextTexture -> textures contain no data
Posted by
Sven Gothel on
URL: https://forum.jogamp.org/GLMediaPlayer-getNextTexture-textures-contain-no-data-tp4032869p4032897.html
On 08/22/2014 03:35 PM, Peter F [via jogamp] wrote:
> Thanks for the heads up about the texture data, no texture data makes sense.
>
> I've managed to put together a simple test app that which is rendering the
> video now, I must have had some internal issue in my original app's code.
>
> The video appears to be red-shifted however, & the texture being drawn would
> appear to be the mip-map composite image.
>
> I'm drawing the texture obtained from texture.getTextureObject() to the whole
> window. The left 2/3 of the screen contains a frame content, then I have 2
> more frames displayed next to it half the size, then some really small bits on
> the right hand edge.
>
> I'll continue to look at the examples for any texture format / render setting
> params I'm not setting.
You might notice, that we utilize texture lookup shader in our GLMediaPlayer
demo code. Those shader perform the required colorspace conversion
using the GPU.
~Sven