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

陆然 hephooey at gmail.com
Fri Apr 14 16:18:19 CEST 2006


Hi,

On Saturday 01 April 2006 06:09, Evgeniy Stepanov wrote:
> Here is an attempt to add ASS rendering capability to mplayer. It is
> designed as a filter and supports a large part of ASS so-called
> specification. Reads both external subtitles and the ones embedded in
> matroska.

I've just found the code have the same linebreak problem with CJK subtitles 
like the old sub code. There is no 'Space' in CJK, so the 'last_space' 
in 'ass_render_event' will always be -1, and there will be no break. A simple 
workaround could be breaking at the last char if no space is found. Or maybe 
we could do some fancy stuff like detecting the charset of the subtitle and 
handle it seperately, as discussed in the list some time ago.

-- 
Best Regards,
LR




More information about the MPlayer-dev-eng mailing list