<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">linux@irisdesign.co.nz</a>> a écrit :<br type="attribution"><blockquote class="quote" 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="quote" 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">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
<br></blockquote></div><br></div></div></div>