[Bug 663750] dvdsubs aren't correctly scaled/positioned when corresponding video isn't DVD resolution

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jan 17 03:22:22 PST 2012


https://bugzilla.gnome.org/show_bug.cgi?id=663750
  GStreamer | don't know | 0.10.x

Vincent Penquerc'h <vincent.penquerch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |vincent.penquerch at collabora
                   |                            |.co.uk
     Ever Confirmed|0                           |1

--- Comment #1 from Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> 2012-01-17 11:22:21 UTC ---
In various streams coming from DVDs, I've seen subtitles stored as they are in
the DVD itself, which includes absolute positioning/sizing. However, the
original size of the video this was authored for is not stored anywhere (that I
am aware of). Therefore, when playing those subs on a larger video, subtitles
are placed where they are supposed to, instead of being scalred in the same way
as the video was.

I'm not sure what's the best fix for this. It's possible to look at a selection
of subtitles, assume they're horizontally centered, and placed at the bottom of
the screen, then deduce the original video size, then scale/move subs
accordingly. However, that's not foolproof, and requires preloading of enough
subs to eliminate any oddly placed ones before averaging. I did some code for
that for another project, and, while it worked well enough, there was some
issue I can't recall at the moment that made this not such a great solution.

The other solution is to just ignore positioning, and always center all
subtitles.
This loses the ability to move subs out of potentially useful/interesting part
of the video.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list