AnsweredAssumed Answered

glimagesink is taking 100% CPU in i.m.x6

Question asked by Arunkumar Rajagopal on Sep 1, 2017
Latest reply on Oct 5, 2017 by Arunkumar Rajagopal
Currently we are using imxeglvivsink for playing video. But we have some issue while playing high quality video.


Then we checked with Freescale, they are saying that we need to use glimagesink.


We tried to use glimagesink(from gstreamer 1.6.3 with kernel 4.1.15_1) Yocto version is Krogoth. Freescale layer is Meta-FSL-arm. wayland platform 1.9.0.
while compiling gstreamer 1.6.3, stopped at egl lib version checking. Because we have egl 1.0.0, but required for compilation is libegl9.0.0. We just renamed the egl library from 1.0.0 to 9.0.0. to compile issue alone.
cat wayland-egl.pc


Name: wayland-egl
Description: Bind the driver EGL to the Wayland API
Version: 9.0.0 /* it was 1.0.0 */
Libs: -L${libdir} -lEGL
Cflags: -I${includedir}
CPU taking 100% to play a video.


with below log,

../../../../gstreamer-1.6.3/libs/gst/base/gstbasesink.c(2846): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLImageSink:sink:
There may be a timestamping problem, or this computer is too slow.
Not initialized


Can you please help us on,

   1. why CPU is taking more?

   2. Lib egl verison What we need to use.

   3. Video struck issue.




Arunkumar R