Adding pixel shader + overlay on Raspberry Pi with eglglessink/glimagesink
Michael Tyson
michael at tyson.id.au
Sun May 11 04:46:55 PDT 2014
Hi folks,
I’m building some stuff based on GStreamer on Raspberry Pi. I’m wanting to (a) display an overlay on top of the video feed and (b) split and possibly distort the incoming video for display on the Oculus Rift. I have been using eglglessink with GST 1.2.3 so far, although I see that that seems to have been superseded recently by glimagesink - it’s a bit hard to keep up!
(a) seems to be quite doable, and I’ve already built some stuff that interacts with the dispmanx API to create display contexts for eglglessink and my own overlay and it appears to function adequately.
I’m not sure how to go about (b), however, particularly given recent developments. Seems like glshader/glimagesink would be perfect for this (there’s even a tutorial on it!), but gst-plugins-bad 1.3.1’s source package isn’t in the Raspbian repository yet and given that it’s only 8 days old, I wasn’t sure if it’d be fully operational yet anyway, on RasPi.
So: Any chance of a pointer, to save me a bit of messing about? Should I be starting to use glimagesink, with a glshader? Is it likely to work with gst_video_overlay_set_window_handle (in order to provide my own graphical context) in a similar way as eglglessink, so I can still use an overlay?
Many thanks, and cheers for your ongoing work.
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140511/83cb2ef4/attachment-0001.html>
More information about the gstreamer-devel
mailing list