[MPlayer-dev-eng] [PATCH] A new ASS renderer

Nicolas George nicolas.george at normalesup.org
Wed Sep 26 11:46:47 CEST 2012


Le duodi 2 vendémiaire, an CCXXI, Reimar Döffinger a écrit :
> It caches to avoid rendering the glyphs, it does not cache them to
> minimize processing or even cache usage.

Maybe I can reword this (or possibly underline another problem):

If libass is used to render a subtitle line with "Hello", it only renders
the "l" once using FreeType. But once the glyphs are rendered and included
in ASS image elements, there is nothing to tell the application that both
"l" are actually the same glyph (and in fact, exactly the same that has been
used since the very beginning of the script). If it knew that, the
application could upload the glyph only once.

The same goes for a glyph that is used several times with different colors,
and even possibly a glyph that is truncated horizontally (for karaoke
effects).

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20120926/0f58f778/attachment.asc>


More information about the MPlayer-dev-eng mailing list