How to connect gldownload to omxh264enc

Adam Langley linux at irisdesign.co.nz
Wed Apr 19 19:39:11 UTC 2017


Hi Nicolas,

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.

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:
https://u2567673.ct.sendgrid.net/wf/click?upn=g-2BuuLoKFh9oCyrl0W26NGXIi-2FZP2Y2K9O8OS-2BcdT2n1-2FCItt4mHmJpLN3tz2gSRK9SX4DAOU5ppVfUyrEewkCSIFJEC-2FQt1UCPqhAYBXOllf1fT7gKjg1TRRy0mvF7M-2BcPAmsdJExDZtB8kG8l8Xugl7iC2F0HDtivDcwXDkvWuD5hDs-2FKW5oAPFSte29bWE_SqM5JSCW4zvvQIaoW1CDvMIem8taQSUrkrbhR3x77XRu7BshtfhBNpLhgP2ozglLjdpAaCcCHCOwwWZ8oqlhIyIBkf7SvdxRxPtbnhDQGFVep39amH1yi-2BgIVE7apfWPRBEFq7j1-2FvEvypcfS2IrgGAe133p8OlBwXsDRgY-2BYVx9GrcTlL67HGXP4-2FofP1r-2BXadQmoXgTVEIczUWmaXndHT7FNQwGoPrJq8ztURJ3YkvdEC7ak0Ki-2FgwzbF0ng-2B-2F

Was there another way to get it working with Mesa?

About the glupload - I assume you're just suggesting that I can avoid a
texture upload - it doesn't help the colorspace issue?

Thanks

On Wed, Apr 19, 2017 at 11:45 PM, Nicolas Dufresne <nicolas at ndufresne.ca>
wrote:

>
>
> Le 18 avr. 2017 8:27 PM, "Adam Langley" <linux at irisdesign.co.nz> a écrit :
>
> 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.
>
> When attempting to glvideoscale from RGBA to I420, I get the message
> "Converting from RGBA to I420 requires functionality that the current
> OpenGL setup does not support"
>
> Is there a hardware accelerated way around this issue, or am I destined to
> do software color conversion?
>
>
> Maybe the encoder support EGL images ? If this is the case, you could try
> that.
>
> On an other note, you could try with Mesa GL driver, it implements more of
> OpenGL.
>
> P.s. in Raspbian, omxvideodec is patch to tunnel the omxvideodec
> scaler/converter. Maybe the same hack could serve.
>
>
> Thanks
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://u2567673.ct.sendgrid.net/wf/click?upn=hC2JwqNsdBh9BS8WbREWdp3KhVY5jpBFGK9yBr5VLLKBM1C9TMxubsNiHx3gA0eBWqIJalD4t3ltrbOWfII5MdP5oVqYO-2FGRrMEeye5kYxk-3D_SqM5JSCW4zvvQIaoW1CDvMIem8taQSUrkrbhR3x77XRu7BshtfhBNpLhgP2ozglLjdpAaCcCHCOwwWZ8oqlhI50ywwkPhpcUj0EIKEIC93f1HCdOiXA1UN3m906GYHtLem4hr-2F2GfkPZupi3DOMmwWUHGb6d5oziiPAAMJ6njUxEjakjhBSsMF-2BkYT0BWLr8IVwhyTaVRrO8BkFIDkFAoxhbbp7XjOnGTUumMM59o6-2F-2B7tHd6K171KuJbhFRr7wc
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://u2567673.ct.sendgrid.net/wf/click?upn=hC2JwqNsdBh9BS8WbREWdp3KhVY5jpBFGK9yBr5VLLKBM1C9TMxubsNiHx3gA0eBWqIJalD4t3ltrbOWfII5MdP5oVqYO-2FGRrMEeye5kYxk-3D_SqM5JSCW4zvvQIaoW1CDvMIem8taQSUrkrbhR3x77XRu7BshtfhBNpLhgP2ozglLjdpAaCcCHCOwwWZ8oqlhI8IrcFAegtuAs7-2BMJaxLbqDCMZWAfydsL84b1rh0B59VO239Lveor69LZntfbKyy4lBGci8UgQrnqdejigzxDuowv10lv7b1qYMel12dtXf44qu0y1gIHE37Fw7XlVkF4nSFndMh-2FyPMv3I3eL0vsuQF-2F3i-2BtGs6Mbd7R0-2BJFRGp
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170420/1d2adec6/attachment-0001.html>


More information about the gstreamer-devel mailing list