[MPlayer-dev-eng] [PATCH] SSA/ASS subtitles support

Alexander Strange astrange at ithinksw.com
Mon May 1 01:46:14 CEST 2006


On Apr 29, 2006, at 1:25 PM, Evgeniy Stepanov wrote:

> A new patch.
>
> - Several bugfixes
> - New linewrapping algorithm, similar to the one used in libvo/sub.c
> - 0.8 font size multiplier
> - sub_step support
> - -embeddedfonts option disabled by default
> - Stricter file name validation when saving fonts
> - Configuration check for freetype version
> - got rid of most #ifdef's, make does not enter libsub/ if freetype is
> unavailable or too old

This is working pretty well now. I think some lines still look kind  
of different from Windows, possibly because of Shadow, but it's not  
significant.

I had to change two things:
* The inability to match any font was apparently a bug in fontconfig  
(2.3.94), since it works again if I replace FcPatternGet in  
ass_fontconfig with the typed versions (http://www.fontconfig.org/ 
fontconfig-devel/r527.html).

* I had to disable sub_recode, because it crashed on loading every  
external sub I tried.
Here's a gdb log, although it's not very helpful since optimizations  
are on:
http://astrange.ithinksw.net/vfass_crash_log.txt
I'll look more into that.




More information about the MPlayer-dev-eng mailing list