<div dir="ltr">Hi Nicolas,<div><br></div><div>The openmax plugin I'm using doesn't accept egl buffers - and looking in the source I don't see any reference to eglmemory, so I guess it's not supported. I've been reading a lot of discussions, and it appears that the omx encoder only supports I420.</div><div><br></div><div>Regarding Mesa - I was unable to get anything to work with Mesa installed, I had to remove it - I got the same problems as here:</div><div><a href="https://u2567673.ct.sendgrid.net/wf/click?upn=g-2BuuLoKFh9oCyrl0W26NGXIi-2FZP2Y2K9O8OS-2BcdT2n1-2FCItt4mHmJpLN3tz2gSRK9SX4DAOU5ppVfUyrEewkCSIFJEC-2FQt1UCPqhAYBXOllf1fT7gKjg1TRRy0mvF7M-2BcPAmsdJExDZtB8kG8l8Xugl7iC2F0HDtivDcwXDkvWuD5hDs-2FKW5oAPFSte29bWE_SqM5JSCW4zvvQIaoW1CDvMIem8taQSUrkrbhR3x77XRu7BshtfhBNpLhgP2ozglLjdpAaCcCHCOwwWZ8oqlhIxZikXlC8kTN-2B-2BNauLMMDokYurN4tHR7ErJgNS4Zbq9ENLr2-2BgOBKEfKSbRjb89HveJzTBSseA-2FaQcHoPi-2F52UuQ4Ln7sIVowlQq6B-2FV74GAlgDjyC1j3MS3tKjk9htG9uLciZ1XvwrBJit3eCAKFdMfH1NXjpvT9kmbTQATxBnl">http://gstreamer-bugs.narkive.com/UdRWD8TI/bug-759131-new-glimagesink-compiled-for-gles-egl-dispmanx-without-x-fails-on-raspberrypi</a><br></div><div><br></div><div>Was there another way to get it working with Mesa?</div><div><br></div><div>About the glupload - I assume you're just suggesting that I can avoid a texture upload - it doesn't help the colorspace issue?</div><div><br></div><div>Thanks</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 19, 2017 at 11:45 PM, Nicolas Dufresne <span dir="ltr"><<a href="mailto:nicolas@ndufresne.ca" target="_blank">nicolas@ndufresne.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">Le 18 avr. 2017 8:27 PM, "Adam Langley" <<a href="mailto:linux@irisdesign.co.nz" target="_blank">linux@irisdesign.co.nz</a>> a écrit :<br type="attribution"><blockquote class="m_7089993572704307002quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm running gstreamer 1.10 with openmax on a Raspberry Pi 3, and when I attempt to use opengl to scale my incoming video, then resulting buffers are RGBA, and they need to be I420 for omxh264enc.<div><br></div><div>When attempting to glvideoscale from RGBA to I420, I get the message </div><div>"Converting from RGBA to I420 requires functionality that the current OpenGL setup does not support"</div><div><br></div><div>Is there a hardware accelerated way around this issue, or am I destined to do software color conversion?</div></div></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">Maybe the encoder support EGL images ? If this is the case, you could try that.</div><div dir="auto"><br></div><div dir="auto">On an other note, you could try with Mesa GL driver, it implements more of OpenGL.</div><div dir="auto"><br></div><div dir="auto">P.s. in Raspbian, omxvideodec is patch to tunnel the omxvideodec scaler/converter. Maybe the same hack could serve.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="m_7089993572704307002quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Thanks </div></div>
<img src="https://u2567673.ct.sendgrid.net/wf/open?upn=SqM5JSCW4zvvQIaoW1CDvMIem8taQSUrkrbhR3x77XRu7BshtfhBNpLhgP2ozglLWdtdVjmoHEAwRjCMmaPlha-2BS-2Fmr6mCFLsSWyNWj5bdo8UPKcEcBIGULD5hHwUqgKZkEjTGVfUZSO7ttls3SLXtdEF9sO4i70mSpnSWqqfFBJaRM7EO8yNMO27vps4LYdSKzMK5mFBJsaHSmNfd4NkvnzWlY5vj59-2Bx5GAAClmRPE871ReSVfK2ZktBR918zn" alt="" width="1" height="1" border="0" style="height:1px!important;width:1px!important;border-width:0!important;margin-top:0!important;margin-bottom:0!important;margin-right:0!important;margin-left:0!important;padding-top:0!important;padding-bottom:0!important;padding-right:0!important;padding-left:0!important">
<br>______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesk<wbr>top.org</a><br>
<a href="https://u2567673.ct.sendgrid.net/wf/click?upn=hC2JwqNsdBh9BS8WbREWdp3KhVY5jpBFGK9yBr5VLLKBM1C9TMxubsNiHx3gA0eBWqIJalD4t3ltrbOWfII5MdP5oVqYO-2FGRrMEeye5kYxk-3D_SqM5JSCW4zvvQIaoW1CDvMIem8taQSUrkrbhR3x77XRu7BshtfhBNpLhgP2ozglLjdpAaCcCHCOwwWZ8oqlhI2UJ9KYDnCcwy53Ax3cifx6k2u53uGwCXngnBc82lOHxwOPxskcYehnZDQbwBwWROdMkhn1x0ccqtWE0OOkBeMhdQslElJmzA3W51UJRTo5r57SVQD62nENnCP8HThb3geaBi7cutgAARa7Hp7CFepKDAC9QN6eMWAkZAWI715pP" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-dev<wbr>el</a><br>
<br></blockquote></div><br></div></div></div>
<br>______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://u2567673.ct.sendgrid.net/wf/click?upn=hC2JwqNsdBh9BS8WbREWdp3KhVY5jpBFGK9yBr5VLLKBM1C9TMxubsNiHx3gA0eBWqIJalD4t3ltrbOWfII5MdP5oVqYO-2FGRrMEeye5kYxk-3D_SqM5JSCW4zvvQIaoW1CDvMIem8taQSUrkrbhR3x77XRu7BshtfhBNpLhgP2ozglLjdpAaCcCHCOwwWZ8oqlhIxG7oujAo-2BqG6TlsgX2KLyPXyiuZts6nOHa4M7hYbRmJrFqcNjnXWgzhhlx-2FgUqWzjnh64SERBzCd31pge984m1G2-2F-2B4TDf9bVC6uQ2PcsGNuh5tTgfr6vhBCOLUr-2FUBaYrud3yGPAixHTDa2-2F2VIAVCNltH6f8ei5w3HOnnAAox" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
<br></blockquote></div><br></div>
<img src="https://u2567673.ct.sendgrid.net/wf/open?upn=SqM5JSCW4zvvQIaoW1CDvMIem8taQSUrkrbhR3x77XRu7BshtfhBNpLhgP2ozglLjdpAaCcCHCOwwWZ8oqlhIzG1qSvj-2BH08oZItoCd7goMLSBsUthWIyQ9G6rGX3QAe2lSo0t5IY6NEpq2HbO67p7INAU-2BzYAgwdl2ruk3P-2BEYjgCT1pJGmT-2BP55s9apJIYr5B9KwN4t9CMUD757vY2sMXazJZ6SuWlz1p7jTOB5k9wbBD6kJYFI4TFtQx4-2FY8n" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/>