[MPlayer-dev-eng] future plans for libvo draw_osd()

Ivan Kalvachev ikalvachev at gmail.com
Fri May 25 19:58:46 CEST 2007


2007/5/25, Attila Kinali <attila at kinali.ch>:
> On Fri, 25 May 2007 01:55:39 +0400
> Evgeniy Stepanov <eugeni.stepanov at gmail.com> wrote:
>
> > Have a look at EOSD (grep in libmpcodecs). It supports color and, imho, is
> > better designed. It is used to display subtitles with libass. The old
> > subtitle code, which draw_osd() is part of, is currently unmaintained.
>
> Would it be possible to run all OSD trough EOSD? If so, this
> would solve the B/W problem with DVD subs. Though for some badly
> made DVDs it should be possible to switch back to the B/W subs.

The ASS render routines draw only one color at a time. This is serious
problem for drawing vobsub that use 4 indexed palettes.
They also use 2 time big buffer for transparency (to contain values
from 0 to 0x100 including).
It is good for ass rendering but you may have problems adapting it for
other uses.



More information about the MPlayer-dev-eng mailing list