Go to advanced search

by tifiou
Mon Aug 21, 2017 7:45 pm
Forum: OpenGLES
Topic: OpenGL ES 2.0 - play .mp4 on texture
Replies: 9
Views: 8093

Re: OpenGL ES 2.0 - play .mp4 on texture

I made some progress with openMax but I block in rendering on the texture. In the example they use eglCreateImageKHR, I read the doc but I didn't really undestand how it work like how can it display on the screen without texture ... here is a part of my source code : void componentOMX::readVideo(voi...
by tifiou
Mon Aug 14, 2017 4:04 pm
Forum: OpenGLES
Topic: OpenGL ES 2.0 - play .mp4 on texture
Replies: 9
Views: 8093

Re: OpenGL ES 2.0 - play .mp4 on texture

Sorry, I was in the countryside without internet... Ok, I used libav to convert .mp4 in .h264 it works with hello_video, but not in hello_videocube (always black textures )... any idea, please ? Any error message at all? Does the video play with omxplayer? What changes did you make to hello_videocub...
by tifiou
Wed Aug 02, 2017 9:15 pm
Forum: OpenGLES
Topic: OpenGL ES 2.0 - play .mp4 on texture
Replies: 9
Views: 8093

Re: OpenGL ES 2.0 - play .mp4 on texture

Ok, I used libav to convert .mp4 in .h264 it works with hello_video, but not in hello_videocube (always black textures )... any idea, please ?
by tifiou
Wed Aug 02, 2017 12:58 pm
Forum: OpenGLES
Topic: OpenGL ES 2.0 - play .mp4 on texture
Replies: 9
Views: 8093

Re: OpenGL ES 2.0 - play .mp4 on texture

Oh jesus.... I already feel the headache :cry: but I 'm going to try. Thanks for your answer :)


EDIT : Seriously, even libav has no tutorial ? :|
by tifiou
Tue Aug 01, 2017 3:52 pm
Forum: OpenGLES
Topic: OpenGL ES 2.0 - play .mp4 on texture
Replies: 9
Views: 8093

OpenGL ES 2.0 - play .mp4 on texture

Hi, I am currently looking for a library allowing me to play a .mp4 on an OpenGL texture. I tried to do it in hello_videocube but with an .mp4 the textures are black and after research it appears we cannot play .mp4 (maybe i'm wrong). I saw it is possible with gst-omx but the only example I found it...

Go to advanced search