Page 1 of 1

egl_render throwing insufficient resources exception

Posted: Thu Jan 03, 2013 2:09 pm
by Twinkletoes
We have some code using egl_render which plays big_buck_bunny correctly.

We have encoded another raw h.264 which can be played by hello_video. When we try this with our code we get an OMX_ErrorInsufficientResources error from the EglRender component.

Under what circumstances does EglRender throw this error?

The only difference we can see between the two videos is that our one has a 1440x1080 resolution, whereas Big buck bunny is 1920x1080.

Re: egl_render throwing insufficient resources exception

Posted: Thu Jan 03, 2013 2:14 pm
by dom
Usually a failure to allocate buffers. What is your gpu_mem split?
search around for "vcdebug reloc" to identify memory usage on gpu.

Re: egl_render throwing insufficient resources exception

Posted: Thu Jan 03, 2013 3:36 pm
by Twinkletoes
Aha - found the problem - the GL texture was 1920x1080 but the video was 1440x1080. Change the GL texture size and it works.