<div dir="ltr"><div dir="ltr">Hi,<br><div class="gmail_quote"><div dir="ltr"><br></div><div dir="ltr">On Tue, 4 Sep 2018 at 13:15, tugouxp <<a href="mailto:13824125580@163.com">13824125580@163.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="line-height:1.7;color:rgb(0,0,0);font-size:14px;font-family:Arial"><div>i launch a pipe line with with gstreamer command as below:<br></div><div>gst-launch-1.0 filesrc location=/mnt/UDISK/N_1080P_AVC_60F.avi ! avidemux ! h264parse ! omxh264dec ! queue ! waylandsink</div><div>the target sink i use was "waylandsink" ,  which take weston wayland server as compositor server.  i grab the pipe line graph like follows picture, the waylandsink receive data format with "YV12" format, which can be supported <br></div><div>by my soc display hardware, but when i debug the kernel with display register,  i can only found one RGB graphic layer was used, not even a single YUV layer was take up. which means there must be someone doing the </div><div>convertion job from "YV12" to "RGB" fomrat, and compositor the video picture and GUI into one layer.</div><div><br></div><div>but from the below picture, the only module between the YV12 gstwaylandsink  and the display device is the "weston" server, so is the weston is the key to do the convertion job?  can i show the yuv picuture directly without convertion?</div></div></blockquote><div><br></div><div>Weston can do this just fine, but in general you will need Weston 5.0.0 using the DRM backend in order to do so. If this is still not happening, I recommend looking at the DRM debug information included with <a href="https://gitlab.freedesktop.org/wayland/weston/merge_requests/10">https://gitlab.freedesktop.org/wayland/weston/merge_requests/10</a> (you will need to rebuild from source) in order to understand why the video is not being displayed on an overlay.</div><div><br></div><div>Cheers,</div><div>Daniel </div></div></div></div>