<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>