[vlc-devel] Re: [PATCH] Subtitles Support Again
Jean-Baptiste Kempf
jb at videolan.org
Thu Feb 8 08:38:39 CET 2007
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
More information about the vlc-devel
mailing list