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 370715 - subtitles size shouldn't depend on the resolution of the video
subtitles size shouldn't depend on the resolution of the video
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
playback
: 480591 671067 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-11-04 21:18 UTC by Guillaume Desmottes
Modified: 2018-11-03 11:13 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Guillaume Desmottes 2006-11-04 21:18:56 UTC
I configure the size of subtitles in totem so i can watch them comfortably.
It works fine with most of my videos (with external .srt file) but with high resolutions ones (like 1280x720) subtitles are too small.
I think the size of subtitles should not be dependent of the resolution of the video played.
Comment 1 Young-Ho Cha 2007-07-14 05:21:22 UTC
See bug 340887

It can resolve this issue.
Comment 2 Tim-Philipp Müller 2007-07-14 11:23:57 UTC
> See bug 340887
> 
> It can resolve this issue.

How does this help? The problem is that the subtitle overlay is rendered before the video is fed to the videosink, and any upscaling is (usually) done in hardware and/or by the xv extensions in the video sink.

It's hard to fix unless we do the scaling always in software (and even then it would need changes in the way playbin works).
Comment 3 Young-Ho Cha 2007-07-14 14:39:55 UTC
As I commented in http://bugzilla.gnome.org/show_bug.cgi?id=340887#c17, subtitle renderer can get information about media resolution, and I implemented that subtitle render scale text size as media resolution.

But issue is remained that video sink element can change aspect-ratio, as tim told.

Comment 4 Teppo Turtiainen 2008-08-07 17:20:58 UTC
*** Bug 480591 has been marked as a duplicate of this bug. ***
Comment 5 Bruno Boaventura 2011-09-04 14:04:48 UTC
Time to bring this back... 

Subtitles is correct sized now, but we need to get the fonts with a better resolution. When we open a video with a small resolution, the fonts seems a little bit ugly. It not happens with big resolutions' videos.
Comment 6 Tim-Philipp Müller 2011-09-04 21:10:48 UTC
We know what's needed, but this is not really fixable at the GStreamer level at the moment. Some work that might help fix this may be done soon though. (It can be fixed at the application level though if the application takes care of rendering/overlaying the subtitles itself, which is usually only realistic if the videosink is hardcoded to something suitable).
Comment 7 Tim-Philipp Müller 2012-02-29 19:38:50 UTC
*** Bug 671067 has been marked as a duplicate of this bug. ***
Comment 8 Nicolas Dufresne (ndufresne) 2015-07-24 22:16:29 UTC
We added to the OverlayCompositionMeta parameters the destination windows size. Currently pango textoverlay, will render bigger if this parameters is found. This requires a videosink that support the overlay (atm only glimagesink and supposedly vaapisink).
Comment 9 GStreamer system administrator 2018-11-03 11:13:12 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/7.