GNOME Bugzilla – Bug 723761
gl: font rendering element
Last modified: 2018-11-03 11:28:33 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.
First of all we would of course need a GstBaseTextOverlay ;)
(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)
It's a "pangobasetextoverlay" :) Which is missing the pango prefix because textoverlay is also not called pangotextoverlay.
*** Bug 745107 has been marked as a duplicate of this bug. ***
What is the progress of the feature? We need it in our use case.
-- 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.