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 748457 - textoverlay: Make the shade of shaded backround configurable
textoverlay: Make the shade of shaded backround configurable
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal enhancement
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-04-25 16:08 UTC by Tomáš Hnyk
Modified: 2015-04-26 14:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tomáš Hnyk 2015-04-25 16:08:28 UTC
The property documented here (could not find as detailed docs for 1.0):
http://www.freedesktop.org/software/gstreamer-sdk/data/docs/latest/gst-plugins-base-plugins-0.10/gst-plugins-base-plugins-textoverlay.html#GstTextOverlay--shaded-background
is a boolean. It would be nice if it accepted a parameter (say an integer from 0 - no background to 100 - full black) that would set shade of the background. Main use case would be setting it to 100 to make the background completely black as it makes the subtitles best readable. (this was actually first requested here for the needs of an application aimed at subtitle creating where one is very much interested in the good readability of the subtitles https://gna.org/bugs/?23502)

I think this could be backwards compatible, right?
Comment 1 Tim-Philipp Müller 2015-04-26 13:57:19 UTC
Please note that the 'GStreamer SDK' and gstreamer.com are not related to the GStreamer project but completely outdated forks third parties.

In GStreamer 1.x the functionality you ask for has been implemented already, if I understood your request correctly.

$ gst-inspect-1.0 textoverlay

  shaded-background   : Whether to shade the background under the text area
                        flags: readable, writable
                        Boolean. Default: false

  shading-value       : Shading value to apply if shaded-background is true
                        flags: readable, writable
                        Unsigned Integer. Range: 1 - 255 Default: 80
Comment 2 Tomáš Hnyk 2015-04-26 14:16:41 UTC
Ah, thanks for the info and sorry for the noise, this is actually almost ungoogleable:-).