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

Evgeniy Stepanov eugeni.stepanov at gmail.com
Sat Apr 1 00:09:32 CEST 2006


Hi

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.

The patch also adds attachment support to matroska demuxer, as it was
needed to extract fonts that usually come with subtitles.

Usage is -vf ass for mkv subs and -vf ass=<filename> for external.

I tried to change as little as possible in the surrounding code, but
still had to add some bad looking lines to mplayer.c and mencoder.c to
pass current time and subtitle track to the filter. If there is better
way to do it, i'd be glad to hear about it :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-ass.patch.bz2
Type: application/x-bzip2
Size: 20085 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060401/50b11d1e/attachment.bin>


More information about the MPlayer-dev-eng mailing list