[MPlayer-dev-eng] How to set subtitles layout ?

Attila Kinali attila at kinali.ch
Thu Jul 22 15:39:36 CEST 2004


On Wed, May 19, 2004 at 11:56:22AM +0200, Nico Sabbi wrote:
> I have a working televideo (is the correct english word "videotext" ?)
> decoder (based on Dave Chapman's dvbtextsubs) that at the moment is
> totally unusable (except for dvb subtitles that are basic 1 or 2 lines 
> of text) because of the way lines
> are currently displayed: a total mess of center-aligned strings shown at 
> the very bottom of the screen,
> not what a user expects to see when watching televideo.
> 
> 
> Is there a way to instruct subreader to:
> 1) show the lines I send it keeping justification on both sides?
> 2) occupy the whole screen area instead of only the bottom?

Afaik, it's not possible with the current subrender code
to specify arbitrary postions (but i might be mistaken,
been a long time since i read teh code)


> 3) use colors?

Definitly not possible, all drawing is done as alpha.

Once again, this leeds to a rewrite of the subrender code
I will look at this as soon as i'm done with the mails
(just 1000 left :) but it wont be before end of July
as i will go on vacation next week.

Btw: i might need help for this, i'm definitly not a good
coder and i also have no idea how to actualy draw
this whole stuff... ie i'd need the help of someone 
with knowldege about vf/vo internals.

			Attila Kinali




More information about the MPlayer-dev-eng mailing list