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 744056 - Vertical position of subtitles playbin and subtitleoverlay
Vertical position of subtitles playbin and subtitleoverlay
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: 2015-02-05 17:02 UTC by Luis de Bethencourt
Modified: 2018-11-03 11:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
01- patch for subtitleoverlay (4.19 KB, patch)
2015-02-05 17:02 UTC, Luis de Bethencourt
none Details | Review
02- patch for playsink (5.11 KB, patch)
2015-02-05 17:03 UTC, Luis de Bethencourt
none Details | Review
03- patch for playbin (4.07 KB, patch)
2015-02-05 17:04 UTC, Luis de Bethencourt
none Details | Review

Description Luis de Bethencourt 2015-02-05 17:02:37 UTC
Created attachment 296209 [details] [review]
01- patch for subtitleoverlay

Two nights ago I went to an event hosted by a spanish academy where they projected a spanish film at a pub. Since most of the people in the room are learning spanish, they had english subtitles for educational purposes. And since the venue wasn't designed for this (group of chairs in flat floor) most people had their view of the bottom of the screen blocked. After some failed starts somebody changed a setting in the video player to move the subtitles to the top of the screen, and everybody could read them and was happy.

This made me think doing this in playbin is not possible. I don't think there are any GStreamer players that offer this feature.

I attach a solution for this :)

(some people call it opera-style subtitles since the same solution has been used in the opera)
Comment 1 Luis de Bethencourt 2015-02-05 17:03:06 UTC
Created attachment 296210 [details] [review]
02- patch for playsink
Comment 2 Luis de Bethencourt 2015-02-05 17:04:28 UTC
Created attachment 296211 [details] [review]
03- patch for playbin

I'm expecting a bit of bikeshedding with the property and variable names. I am happy to let the maintainers decide these.
Comment 3 Luis de Bethencourt 2015-02-05 17:52:54 UTC
I set the property as a boolean for simplicity, False (default) for bottom and True for top of the frame. But it could be changed to be an int that matches the valignment enum of textoverlay.
Comment 4 GStreamer system administrator 2018-11-03 11:34:54 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/161.