Log in or register to post comments

VideoPlayback Black Video Texture

September 29, 2014 - 6:23am #1

Hi, i discover a problem using the videoplayback sample, but this problem only appears on one of my devices.

The videoplayback in texture renders with black screen. The videohelper class works properly i suppose that because i can hear the audio.

I think maybe is the same problem https://developer.vuforia.com/forum/issues-and-bugs/video-playback-issues-sony-xperia

The last response maybe the problem and the solution? I cannot understand what have to change in the sample to make it works.

I tried in several device withouth problems, but i cannot see the video in my tablet bq edison 2.

I have trie with the 3.0.2 and the 3.0.9 sdk with same result.

Thanks,

VideoPlayback Black Video Texture

November 5, 2014 - 4:34am #5

Hi to all...

I have discover anything surprising... In the devices that have problems binding a videotexture with surfacetexture, thats not happen if the file is streamed from a web...

Anyone knows what happens?

I have checked the extensions and all is correct. I have checked frame avaibility and also is correct...

I dont understand why one device can create a texture from the video stream and the other only can if the video stream cames from an http...

Any light to this? Could be a problem of loading the file from the assets???

Thanks

VideoPlayback Black Video Texture

October 30, 2014 - 4:15am #4

Hi Alessandro. Thanks for your answer... I had not realized that you had answered me.

After reading the two posts refered to that issue i havent found the problem that causes that.

Looking for the extensions, the extension GL_OES_EGL_image_external is active in all my devices...

 
As I have seen in this post,
 
the extensions can be active and not work, so I tried to download an app for android that tell me that extensions are active, and the funny thing is that I discovered that my xperia mobile and tablet bq have the same GPU mali with the same active opengl extensions. And the sample runs fine in the xperia.
 
In the other post
the last reply suggest that the npot extension, but also that extension is active, and i try with a video that is powe of two.
 
 
I also tried to syncronize the call to updatevideodata with a onFrameAvailableListener, and the result is the same... Always have a new frame to put into the texture but for any reason it cant be drawed...
 
 
Have any idea for what also can make the black texture??
 
I need almost to know if the device can render the videotexture to give an alternative...
 
Thanks in advance...

 

Im thinking about the camera preview... it does not a video texture in fact???

VideoPlayback Black Video Texture

October 6, 2014 - 7:50am #3

VideoPlayback Black Video Texture

October 6, 2014 - 7:45am #2

Hi,

as you already mentioned in your post, the problem could be same or similar to the one discussed here:

https://developer.vuforia.com/forum/issues-and-bugs/video-playback-issues-sony-xperia

The GPU (and the related OpenGL driver) installed on certain devices may no support certain OpenGL extensions; if that's the case, there is no simple code change to fix this, because the samplke implementation relies on those extensions to work

In particular, the one extension that the VideoPlayback sample requires is called:

GL_TEXTURE_EXTERNAL_OES

 

 

Log in or register to post comments