Hardware Accelerated GStreamer on Raspberry Pi 2

Samuel Hurst samuelh at rd.bbc.co.uk
Mon Jun 29 03:23:34 PDT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 26/06/2015 19:36, Nicolas Dufresne wrote:
> 
> This is what I would also recommend. The GST shipped with Raspbian
> is patched to add conversion to RGB color space and scaling. This
> is how they manage to have decent performance to on-accelerated
> layers, but this is still a copy.
> 
> A rendering path that is quite efficient is the EGL path. This is
> what you will gain by using glimagesink. This is going through the
> DispManX layer (specific to this broadcom VPU). You might need to
> patch gst -plugins-bad a bit so the window placement becomes
> configurable.
> 

For whatever reason, buildroot wasn't showing me any opengl options
until I did a git pull, apparently the two weeks since I checked this
version out patched in the opengl option. Just for reference if anyone
else is struggling to find it and stumbles across this thread.

I've enabled the glimagesink and it seems to fix the very bad
framerate issues, thanks. However, it seems to still have issues with
higher bitrate streams, either just flashing the first frame up before
black screening, or being a little juddery during playback. I'll do
some more digging today and see if I can smooth it out, hopefully some
of those patches from Raspbian will help address the issue.

Also, as it's not well publicised anywhere, Raspbian's patches for
gst-omx seem to be available from here
http://archive.raspbian.org/raspbian/pool/rpi/g/gst-omx1.0/gst-omx1.0_1.
0.0.1-0+rpi12+jessiepmg.debian.tar.xz
, again in case someone comes across this thread and wants to find them.

Thanks to Nicolas, Enrique and Stefan for pointing me in the right
direction :)


Best Regards,
Sam

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQIcBAEBAgAGBQJVkRymAAoJEJGbiYWuJo/5JvkQAIzj+1xlWZdzKFA6A9Eu4iZX
E+Z8dGW9JWexI1xQ7QtltUMWXGv68ffG+2HjGbzhvgnxqhAqUBubiheEW1So4g6m
B+dJacwR0Ia3C/Nx1GSTiImqmCsp6MId9IRgg4SR+EtDV1QiU9UfkXYXKZGREKZt
Ja8KUVnmfHAdfHMJ20EelPFCXerwSBx3jOfuRPrGOZzKDuJ8Z2OnvsNCe4Q/rwCt
gpKQ8MNP6klxq81stif/qMx++YPucsIDJsl4HkGclYYUZLuL1Kg0r1e/wSlbdeO5
AiLqTcx0M+oKEwrR0Ibn6KpSl9oXPYM6VY2PAQxr8G4Zgi1UQsnyQpH7we+HcT2Q
IVg6eY6e8/J6UWqYkt/mTJh8PDW5zfYA8AJtkoyO7eqlFRn6zei32eAsK35DM+jf
vH7Py5kVhubYLMJgpbiEfmxrtLDZqBLXUALEbinUwwIQ+7oT5bOehePsI095e7l7
SJDolkRHAlSTj6eWlfhPmgb5K/8yb9cbk6r1mRkuhjRo0Y6Ka1gn0pj98lIz5EVs
/Ucn33yRFBrpNq4qUVswZ3h+vF3GkXu/bShFI+36If2aeXx4rmoJPvYXmOZMYICw
2ys+//vvC/R5lQPqg+D6QSgFTGILP01VBjzpTCxs31zYYPQsqLW0BER4E1zlj2WQ
oyES8m1deSYW5eEm6jgm
=tgeV
-----END PGP SIGNATURE-----


More information about the gstreamer-devel mailing list