14 Apr
2006
14 Apr
'06
2:18 p.m.
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