Log in or register to post comments

Video Playback not working on-texture

September 5, 2013 - 9:00am #1

Hi. 

I've tried the video playback sample on iOS and everything is ok.

On Android, i've tried in two different tablets, bq Edison 2 and BullTech Szenio IPS 9700. Both of them with Android 4.0 or above.

 

The problem is the video is playing but not showing, only audio is working, and a black texture appears on the video plane. Fullscreen mode is working fine, this only occurs on-texure mode.

 

I've also tried differents video formats (m4v, mp4). Only works on fullscreen mode.

 

Thanks for the help.

Video Playback not working on-texture

July 4, 2016 - 4:24am #17

Hi,

 

Did you found the solution. ?

I am also facing same issue.

 

Video Playback not working on-texture

April 12, 2016 - 1:31am #16

No fix found....

The best 'solution' we have found was to play the video like an animated gif.
The result was not good enough (low FPS and huge app size impact) so we skipped the videoplayback in our App.

 

Video Playback not working on-texture

April 11, 2016 - 8:40pm #15

problem fixed?

 

I got the same issue too. Device is samsung note4.

 

 

AttachmentSize
Image icon Screenshot_2016-04-12-11-29-30.png1.87 MB
Image icon video.JPG68.98 KB

Video Playback not working on-texture

January 31, 2014 - 9:46am #14

The same problem ;-(

I  am testing an Odys Prime (Pipo M8Pro) tablet with RK3188 / MALI 400-MP for using it in an exhibition. Besides AR image overlays and image recognition we like to use the AR video overlay, but unfortunately it doesn't work on this device either. If I test the same program on a Samsung Tab 2, Archos 8G9 or Huawei G510 everything works fine. I really looks like the problem is the MALI 400-MP GPU see links below:

http://community.arm.com/thread/4068 or http://stackoverflow.com/questions/15721450/problems-getting-surfacetexture-work-with-android-videoplayer-on-mali-400

I have tried several options mentioned in the links and different format video format, but nothing works, video remains black...

Any change to get videoPlayback working on this type device, other not so fancy ideas are welcome?

Samsungs Tab 3 10.1 doesn't work because of the Intel architecture and now having problems with the MALI-400 MP GPU we are running out of tablet choices and we are running out of time too......

Ad

 

Video Playback not working on-texture

January 30, 2014 - 8:24am #13

I cannot exclude the issue can also come from other problems; however, AFAIK, the OpenGL extension support is usually the culprit.

So, if the extension GL_OES_EGL_image_external appears, but still does not work, it could be that such extension alone is not sufficient;

if that's the case, then you would really need to check to core extension that I was mentioning at the beginning of this thread, i.e.:

 gl_texture_external_oes

 

To check that, there exist Android Apps like "OpenGL Extension Viewer" or "Device Info" (and probably many others), that are capable to list all the available extensions (really the complete list); if you google them you should find them.

That's the safest check, if you want to be 100% sure.

 

 

Video Playback not working on-texture

January 30, 2014 - 7:31am #12

Thanks a lot AlessandroB,

You are right, there are many Mali-400 types, sorry for generalize that, Mali-400-MP, MP1, MP2, MP3 are some of them.

Well I have an Android Tablet with a Mali-400-MP and within the supported extensions is the "GL_OES_EGL_image_external", but the video still in black frames only, the same project works very well on iPad2 and Galaxy S4, so iit's not a project issue. Could be exists any far posibility that the problem is due to anything else than OpenGL support ?

The VideoPlayBack Unity demo project behave same way.

I'm using Vuforia 2.8.7 Unity Extensions and Unity 4.3.2f1 Free

Video Playback not working on-texture

January 30, 2014 - 12:41am #11

If you see the extension "GL_OES_EGL_image_external", or " gl_texture_external_oes extension",  this should indicate that your GPU supports the video on texture.

The best is however to try the VideoPlayback sample and verify.

NOTE: nobody said that the Mali 400 GPUs do not support this; we only said that certain specific MALI versions have this limitation. But you can make a search on google to verify what specific GPUs do support the extensions above.

 

Video Playback not working on-texture

January 29, 2014 - 4:22pm #10

Hi, thanks a lot for the information, a very bad news

But is there any solution for this situation?, because MALI400 is one of the more used GPUs on the Android Market, even Samsung have used in its top selling devices like the S3 and some tabs

Sorry for the confusion, but the MALI400MP supports this extension: "GL_OES_EGL_image_external", when you said "it should be fine", you mean that the video should be shown when this extension is present?, or the presence of this extension means the video wont be rendered at all

We will apreciate some solution or direction.

Video Playback not working on-texture

December 9, 2013 - 8:18pm #9

Let me check that, thanks a lot!

Video Playback not working on-texture

December 5, 2013 - 1:18am #8

Right; the "gl_texture_external_oes" may not show up in the glGetString(), but if you see "GL_OES_EGL_image_external " in the list, this should be also be fine.

 

Video Playback not working on-texture

December 4, 2013 - 11:02pm #7

Thanks for your reply. I have printed out the extensions as below:

GL_EXT_debug_marker 
GL_AMD_compressed_ATC_texture
GL_AMD_performance_monitor 
GL_AMD_program_binary_Z400 
GL_EXT_robustness 
GL_EXT_texture_format_BGRA8888 
GL_EXT_texture_type_2_10_10_10_REV 
GL_NV_fence
GL_OES_compressed_ETC1_RGB8_texture 
GL_OES_depth_texture GL_OES_depth24 
GL_OES_EGL_image 
GL_OES_EGL_image_external 
GL_OES_element_index_uint 
GL_OES_fbo_render_mipmap
GL_OES_fragment_precision_high
GL_OES_get_program_binary 
GL_OES_packed_depth_stencil 
GL_OES_rgb8_rgba8 
GL_OES_standard_derivatives 
GL_OES_texture_3D 
GL_OES_texture_float 
GL_OES_texture_half_float 
GL_OES_texture_half_float_linear
GL_OES_texture_npot 
GL_OES_vertex_half_float 
GL_OES_vertex_type_10_10_10_2 
GL_OES_vertex_array_object 
GL_QCOM_alpha_test 
GL_QCOM_binning_control 
GL_QCOM_driver_control
GL_QCOM_perfmon_global_mode 
GL_QCOM_extended_get 
GL_QCOM_extended_get2 
GL_QCOM_tiled_rendering 
GL_QCOM_writeonly_rendering 
GL_AMD_compressed_3DC_texture 
GL_EXT_sRGB GL_EXT_texture_filter_anisotropic 
 
 
However I am not able to find gl_texture_external_oes?  Mind asking is it "GL_OES_texture_3D" that I should look for?
 
many thanks.
 

Video Playback not working on-texture

December 4, 2013 - 2:07am #6

You can check for supported OpenGL extensions in your application code, using the glGetString() function;

for example, if you add this code to the _initRendering() function, this will print out the list of supported extensions:

const GLubyte *extensions = glGetString(GL_EXTENSIONS);
LOG("Extensions:\n");
LOG("%s", (char*)extensions);

 

Also, there exist some free apps on google play, which allows to get such information (e.g. you may want to search for "Device Info" or similar keywords)
 
 

Video Playback not working on-texture

December 4, 2013 - 1:55am #5

Thanks for your info. Mind asking is there any way to check if the device suport the necessary OpenGL extensions?

 

AlessandroB wrote:

Hi, the issue you describe is known, and typically occurs on devices that have GPU which does not support the necessary OpenGL extensions to play video on texture (namely, the gl_texture_external_oes extension).

The reason for that is that certain GPUs manufacturers, despite supporting OpenGL ES 2.0, do not offer support for specific OpenGL extensions like the one above.

For example, we have seen this on devices using certain Mali GPU.

Video Playback not working on-texture

September 9, 2013 - 2:27am #4

You're welcome.

Video Playback not working on-texture

September 9, 2013 - 2:16am #3

ooh, that's exactly the GPU working on these devices.

Thanks for the info.

Video Playback not working on-texture

September 5, 2013 - 10:32am #2

Hi, the issue you describe is known, and typically occurs on devices that have GPU which does not support the necessary OpenGL extensions to play video on texture (namely, the gl_texture_external_oes extension).

The reason for that is that certain GPUs manufacturers, despite supporting OpenGL ES 2.0, do not offer support for specific OpenGL extensions like the one above.

For example, we have seen this on devices using certain Mali GPU.

Log in or register to post comments