<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>hi all:</div><div> </div><div>   but, this is another test of using waylandsink without convertor:</div><div>




<p> gst-launch-1.0 filesrc location=/mnt/UDISK/N_1080P_AVC_60F.avi ! avidemux ! h264parse ! omxh264dec ! queue ! waylandsink</p><p><br></p><p>and the pipeline flow is as below, so , it seems there are no convert operation has been done before stream goes into the wayland sink, but from the hardware view, it still use the one single RGB layer with the GUI, so</p><p>why is this£¿¡¡did the gstwaylandsink itself would do the convert from yuv to rgb internallly?  i am very confused! thanks for your kindly support.</p><p><img src="cid:7ae8234e$1$165a22ca7f1$Coremail$13824125580$163.com" orgwidth="1418" orgheight="252" data-image="1" style="width: 1203px; height: 213px;"></p></div><br><br><br><br><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><br>At 2018-09-03 22:07:37, "Nicolas Dufresne" <nicolas@ndufresne.ca> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr">Le lun. 3 sept. 2018 07:57, tugouxp <<a href="mailto:13824125580@163.com">13824125580@163.com</a>> a ¨¦crit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>hi folks:</div><div><br></div><div>i am testing the gst playback function with following commands:</div><div>      gst-launch-1.0 playbin uri=<a title="file:///mnt/UDISK/xingji.mp4" class="m_-1017981475645888195file" rel="noreferrer">file:///mnt/UDISK/xingji.mp4</a> video-sink="glimagesink x=0 y=0 width=400 height=400"</div><div>my display hardware support hardware overlay function(support isolated graphic layers of rgb and yuv),  so i expect the video would be displayed on a independent yuv layer, not share with the GUI layer.</div><div>but beyond my expection, i found from the display registers that only ONE RGB layer was used during the playback ,which means the video and RGB are mixed together to the some  GUI layer.</div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">This is what GL rendering means. The GPU renders everything into one frame buffer. To use overlays (or underlays as found on modern hw) like you describe you would need a capable compositor (none of Weston, gnome-shell or Kwin supports this) and use waylandsink.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div><br></div><div>and the GST pipeline flow shows that. too, you can see that there are extra "gstglcolorconvertelement"  elements doing the covert operation frome  YUV12 format to RGB .</div><div>that was not what i wanted.</div><div>so how to bypass the "glimagesink" elements so tath the yuv data can directly show on the yuv layer without convertion?</div><div><br></div><div>thanks for your kindly help.</div><div><p>the attachment and the following picture are same, you can refer anyone. </p></div><div><img src="cid:6b3254a9$1$1659f39021c$Coremail$13824125580$163.com" style="width:1001px;height:300px;border:none"></div><div><br></div><div><br></div><div><br></div></div><br><br><span title="neteasefooter"><p><br> </p></span>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div></div></div>
</blockquote></div><br><br><span title="neteasefooter"><p><br/> </p></span>