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 721055 - textoverlay: support out-of-video subtitles
textoverlay: support out-of-video subtitles
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-12-25 22:41 UTC by Michal 'hramrach' Suchanek
Modified: 2018-11-03 11:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michal 'hramrach' Suchanek 2013-12-25 22:41:23 UTC
Subtitles in the black bars

 - are easier to read
 - don't obscure the video

totem insists on rendering the subtitles into the video
Comment 1 Bastien Nocera 2014-01-07 09:57:38 UTC
This is a limitation of playbin in GStreamer.
Comment 2 Sebastian Dröge (slomo) 2014-01-08 09:09:46 UTC
That actually depends on the video sink. Which one is used here and is the video sink adding the black borders? cluttersink and xvimagesink will do that, and then GStreamer has no way to draw over the black borders.

For sinks that don't do that (ximagesink for example), this could be fixed by putting the subtitle overlaying after the videoscale in playsink. Just that this seems not very useful these days as all useful sinks do the black borders and scaling themselves.


For cluttersink, totem could implement its own text-sink and overlay the text itself via clutter API.
Comment 3 Tim-Philipp Müller 2014-01-08 09:41:25 UTC
This ultimately depends on API to move the overlaying into the application.
Comment 4 Nicolas Dufresne (ndufresne) 2014-01-08 15:02:44 UTC
(In reply to comment #2)
> For cluttersink, totem could implement its own text-sink and overlay the text
> itself via clutter API.

The clutter sink could also implement an overlaying mechanism similar to what we do (or used to do) in VA sink. This let the sink negotiate proper buffer size with the text renderer.
Comment 5 Edward Hervey 2018-05-05 12:03:00 UTC
We could technically do this with the overlaying system. textoverlay knows the target screen resolution, so you could specify coordinates that exceed the video size and end up out of "video". The problem is right now it's discarded.
Comment 6 GStreamer system administrator 2018-11-03 11:27:11 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/99.