AnsweredAssumed Answered

iMX8 gstreamer waylandsink not working when used with gst_video_overlay in NV12 format

Question asked by Michael Erwin on Mar 22, 2019
Latest reply on Apr 25, 2019 by Michael Erwin

I am trying to use waylandsink as a video overlay attached to my wayland surface with gst_video_overlay_set_window_handle() on an iMX8M EVK.  The video fails to render when using NV12 format with the following gstreamer launch string unless I make the video surface big enough (more than around 2560x1920).

 

"videotestsrc ! video/x-raw,format=NV12,width=320,height=240 ! waylandsink name=sink window-width=320 window-height=240"

 

When I change the format to I420 it works at all sizes.

 

I also can't get any video to render (at any size) when using the vpudec decoder with the following launch string when the waylandsink is attached to my wayland surface:

 

"uridecodebin uri=file:///video.mp4 ! waylandsink name=sink window-width=320 window-height=240"

 

When not attached to my wayland surface it works.

 

 

gstreamer wayland waylandsink nv12 overlay

Outcomes