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 604138 - assrender should make use of the scale factor functions of libass
assrender should make use of the scale factor functions of libass
Status: RESOLVED DUPLICATE of bug 753824
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on: 614612
Blocks:
 
 
Reported: 2009-12-09 06:35 UTC by Eric Appleman
Modified: 2018-05-04 11:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Reference image (722.65 KB, image/png)
2009-12-09 06:35 UTC, Eric Appleman
Details
Rendering in MPlayer with gl output (700.69 KB, image/png)
2009-12-09 06:35 UTC, Eric Appleman
Details

Description Eric Appleman 2009-12-09 06:35:14 UTC
Created attachment 149401 [details]
Reference image

I'm really not sure how to best describe this, but basically the idea is that the subtitle resolution is scaled to maintain sharpness, even when in full screen mode.
Comment 1 Eric Appleman 2009-12-09 06:35:58 UTC
Created attachment 149402 [details]
Rendering in MPlayer with gl output
Comment 2 Sebastian Dröge (slomo) 2009-12-09 09:06:09 UTC
Well, the problem here is a bit different, like Tim said on IRC.

This can only work if all scaling is done before assrender. If the scaling is done in xvimagesink for example there's no way to get around this.

This will be fixed once everything uses gst-cairo :)
Comment 3 Grigori 2010-02-02 00:33:47 UTC
The scale factor functionality is something completely different. :) What you want is to render subtitles at screen resolution instead of video resolution.

What gstreamer needs for this is some way to have native screen resolution overlays on top of the video. As it stands, only MPC-HC, XBMC and MPlayer are capable of that and it only works with select video outputs. It will probably never work with Xv...
Comment 4 Eric Appleman 2010-02-02 00:48:14 UTC
Couldn't the whole video be software-scaled? When this is done in MPlayer, the subtitle overlay is scaled to the screen resolution, even when using Xv. Granted the result isn't as sharp text-wise when compared to using other outputs like gl, but it's quite noticeable when viewing sub-HD content in fullscreen.

Does xvimagesink allow this?
Comment 5 Stefan Sauer (gstreamer, gtkdoc dev) 2010-07-03 20:17:28 UTC
One could render the subtitles into the colorkey. Unfortunately many drivers stopped offering managed colorkeying (that is the still use a colorkey, but the always autopaint it and don't tell the color).

Besides those things would not be easy to be added. It would need e.g. sending new subtitle images at native resolution as sync'ed events to the sink. It also needs querying if the sink can support that.

So for now, I can't see a sensible way to do it.
Comment 6 Grigori 2010-07-04 18:33:51 UTC
AFAIK most current Xv implementations do not support colorkeying at all anymore because they do not use hardware overlay functionality. The right way to do it nowadays is compositing through XRender, I guess.
Comment 7 Edward Hervey 2018-05-04 11:25:13 UTC

*** This bug has been marked as a duplicate of bug 753824 ***