imxeglvivsink takes long time to start

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imxeglvivsink takes long time to start

419 Views
vaudoitlaurent
Contributor IV

Hi, we are running a imx6dp with fsl bsp based on yocto warrior

(kernel 4.19.35)

When i test the imxeglvivsink gstreamer plugin i got some weird behaviour:

the command launch is:

gst-launch-1.0 videotestsrc pattern=0 ! imxeglvivsink

The display is done only a long time after (about 20seconds) i launch the command.

If i launch

gst-launch-1.0 videotestsrc pattern=0 ! imxeglvivsink& \
weston-terminal

 

i got instantly the both  videotestsrc window and weston-terminal.

 

Would you have an idea of what is the problem?

 

Thanks in advance

Regards

Laurent

0 Kudos
2 Replies

399 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Vaudoitlaurent,

In simpler terms, when building gstreamer-imx plugins under Wayland, the gst_imx_egl_viv_sink_egl_platform_init_window() function gets the window_handle, but it does not use it. See https://github.com/Freescale/gstreamer-imx/blob/master/src/eglvivsink/egl_platform_wayland.c. My thinking is that something similar to the waylandsink plugin from https://github.com/GStreamer/gst-plugins-bad/tree/master/ext/wayland is needed to pass the wl_display (display_handle) along with the wl_surface (window_handle). However, I am not sure how to integrate on top of the EGL window that is created by imxeglvivsink.

one can post issue on

Issues · Freescale/gstreamer-imx · GitHub 

Alternatively one can try nxp gstreamer plugins (imx-gst1.0-plugin)

described in Linux Guide Multimedia.

 

Regards

 

 

 

0 Kudos

395 Views
vaudoitlaurent
Contributor IV

Hi,

thanks for the answer.

 

currently we use the umxv4l2sink plugin which works well.

 

But we want to display camera in a EmbededWizard application, using egl, that's why we were looking at the imxeglvivsink plugin.

For now with the imxv4l2sink, the gstreamer output is still on top of the EmbeddedWizard application, and we would like to have a way to display it under this application.

Regards

Laurent

 

0 Kudos