[vlc-devel] Re: [PATCH] Subtitles Support Again

Aaron Mady Aaron.Mady at DrakeSoftware.com
Thu Feb 8 18:08:12 CET 2007


	I downloaded the source for asa yesterday and intend to start
looking further at integrating it into VLC today.  I'll also probably
take a further look at libass as well today (assuming I get a bit more
free time here in a bit), but I agree, incorporating one of those would
probably be a much better solution.

Aaron Mady

-----Original Message-----
From: vlc-devel-bounce at videolan.org
[mailto:vlc-devel-bounce at videolan.org] On Behalf Of Jean-Baptiste Kempf
Sent: 02/08/2007 2:39 AM
To: vlc-devel at videolan.org
Subject: [vlc-devel] Re: [PATCH] Subtitles Support Again

On Wed, Feb 07, 2007, Aaron Mady wrote :
> Honestly though, maybe one of the previous patches would be a better
> idea.  Looks like I may be looking at trying to integrate the asa
> project () into VLC for subtitle support instead of continuing to hack
> at the current code, so using my (or rataime's) previous patch might
be
> a better stopgap solution for un-breaking GG fansubs and hiding
comments
> properly.

Well, I think that maybe we should use an external library to parse and
display those subtitles, because our freetype renderer can't do now all
what is needed by those .ass, especially overlaping detection and some
other things, and it would not need to redevelop it from scratch.

We don't have a lot of choice in the libs that we can use:
* libass (!) that is part of mplayer, but exists in a standalone version
  http://sourceforge.net/projects/libass/. libass is very mature and
  should render those subtitles correctly
* asa, is a new library, that is slower, but currently under heavy
  development, should support streaming and support some additionnal
  subtitles. Here is some code that uses that lib
 
https://spaceboyz.net/svn/aegisub/trunk/aegisub/subtitles_provider_csri.
cpp

Check that for comparison:
http://asa.diac24.net/wiki/index.php/Compatibility

I got some .ass samples from gg, some are old and good, other are bad
and designed to break VLC.

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list