After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 723761 - gl: font rendering element
gl: font rendering element
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other All
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-02-06 14:07 UTC by Julien Isorce
Modified: 2018-11-03 11:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Julien Isorce 2014-02-06 14:07:17 UTC
Similar to textoverlay element.

Use an external GL Font API to build a separate gltexture and attach it to the input buffer's GstVideoOverlayCompositionMeta.

Then a downstream element could call gst_video_overlay_composition_blend to show up the subtitles.

(from gstvideooverlaycomposition API
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstvideooverlaycomposition.html)

Could inherit from GstBaseTextOverlay.

gst-launch-1.0 filesrc location=text.srt ! subparse ! text/x-raw ! gltextoverlay.text_sink ! glimagesink

Could be a separate gl element (gltextoverlay) or in GstGLFilter.

Could use FTGL https://sourceforge.net/projects/ftgl/ or any other GL font lib.
Comment 1 Sebastian Dröge (slomo) 2014-02-06 21:38:08 UTC
First of all we would of course need a GstBaseTextOverlay ;)
Comment 2 Julien Isorce 2014-02-07 09:51:10 UTC
(In reply to comment #1)
> First of all we would of course need a GstBaseTextOverlay ;)

I hadn't realized this one http://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/ext/pango/gstbasetextoverlay.h depends on Pango . (licence missing in this file)
Comment 3 Sebastian Dröge (slomo) 2014-12-15 09:36:48 UTC
It's a "pangobasetextoverlay" :) Which is missing the pango prefix because textoverlay is also not called pangotextoverlay.
Comment 4 Nicolas Dufresne (ndufresne) 2015-03-03 21:51:28 UTC
*** Bug 745107 has been marked as a duplicate of this bug. ***
Comment 5 kevin 2015-03-06 01:31:24 UTC
What is the progress of the feature? We need it in our use case.
Comment 6 GStreamer system administrator 2018-11-03 11:28:33 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/107.