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 497130 - More control over subtitles' appearance (position, background)
More control over subtitles' appearance (position, background)
Status: RESOLVED OBSOLETE
Product: totem
Classification: Core
Component: GStreamer backend
unspecified
Other All
: Normal enhancement
: ---
Assigned To: Maintainer alias for GStreamer component of Totem
Maintainer alias for GStreamer component of Totem
: 358213 582406 666945 672523 (view as bug list)
Depends on: 721925
Blocks:
 
 
Reported: 2007-11-15 18:02 UTC by gbz
Modified: 2018-05-24 10:30 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description gbz 2007-11-15 18:02:46 UTC
Gstreamers's textoverlay element has a lot of properties that are currently not controllable from totem. It would be nice if totem could allow changes to them, so that the appearance of subtitles could be fine tuned.
It doesn't have to be in the gui, I see how it could clutter totem's minimalistic interface. But if there could merely be gconf keys, that would be enough. Here are the properties:

  shaded-background   : Whether to shade the background under the text area
                        flags: readable, writable
                        Boolean. Default: false Current: false
  halignment          : Horizontal alignment of the text
                        flags: readable, writable
                        Enum "GstTextOverlayHAlign" Current: 1, "center"
                           (0): left             - left
                           (1): center           - center
                           (2): right            - right
  valignment          : Vertical alignment of the text
                        flags: readable, writable
                        Enum "GstTextOverlayVAlign" Current: 0, "baseline"
                           (0): baseline         - baseline
                           (1): bottom           - bottom
                           (2): top              - top
  xpad                : Horizontal paddding when using left/right alignment
                        flags: readable, writable
                        Integer. Range: 0 - 2147483647 Default: 25 Current: 25
  ypad                : Vertical padding when using top/bottom alignment
                        flags: readable, writable
                        Integer. Range: 0 - 2147483647 Default: 25 Current: 25
  deltax              : Shift X position to the left or to the right. Unit is pixels.
                        flags: readable, writable
                        Integer. Range: -2147483648 - 2147483647 Default: 0 Current: 0
  deltay              : Shift Y position up or down. Unit is pixels.
                        flags: readable, writable
                        Integer. Range: -2147483648 - 2147483647 Default: 0 Current: 0
  wrap-mode           : Whether to wrap the text and if so how.
                        flags: readable, writable
                        Enum "GstTextOverlayWrapMode" Current: 2, "wordchar"
                           (-1): none             - none
                           (0): word             - word
                           (1): char             - char
                           (2): wordchar         - wordchar
Comment 1 Philip Withnall 2009-05-12 20:43:07 UTC
*** Bug 582406 has been marked as a duplicate of this bug. ***
Comment 2 Philip Withnall 2009-05-12 22:51:22 UTC
In bug #582406, it was also suggested that the colour of subtitle text should be configurable, although by the looks of it GStreamer doesn't have a property for that.
Comment 3 Philip Withnall 2011-12-28 19:10:34 UTC
*** Bug 666945 has been marked as a duplicate of this bug. ***
Comment 4 Philip Withnall 2012-03-21 18:48:42 UTC
*** Bug 672523 has been marked as a duplicate of this bug. ***
Comment 5 Bastien Nocera 2012-03-29 12:59:08 UTC
*** Bug 358213 has been marked as a duplicate of this bug. ***
Comment 6 Jehan 2015-08-28 14:28:19 UTC
Bug 358213 has been marked as duplicate but it had another feature request that is not in this list:
- subtitle time delay (subtitle may not always be perfectly synced to the video).

And I would add also:
- framerate mapping. Some subtitles have been made for video in different framerate, which makes time shifting progressively between video and text. Such a feature to "remap" a subtitle from a framerate to another would be great.
Comment 7 GNOME Infrastructure Team 2018-05-24 10:30:03 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME'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.gnome.org/GNOME/totem/issues/12.