GNOME Bugzilla – Bug 744056
Vertical position of subtitles playbin and subtitleoverlay
Last modified: 2018-11-03 11:34:54 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)
Created attachment 296210 [details] [review] 02- patch for playsink
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.
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.
-- 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.