Hardware Accelerated GStreamer on Raspberry Pi 2
samuelh at rd.bbc.co.uk
Mon Jun 29 03:23:34 PDT 2015
-----BEGIN PGP SIGNED MESSAGE-----
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
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
, 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)
-----END PGP SIGNATURE-----
More information about the gstreamer-devel