[MPlayer-dev-eng] [PATCH] Style tag support for srt and microdvd subtitles
Kazuo Teramoto
kaz.rag at gmail.com
Tue May 11 21:03:10 CEST 2010
Jonatan Nilsson <jh.nilsson <at> gmail.com> writes:
>
> Greetings,
>
> This patch adds support for font styles in external srt and microdvd
> (.sub) subtitles. Srt-subtitles uses html tags to define tags such as
> <i> for italic, <b> for bold and the <font> tag, which sets size,
> color and face. Microdvd subtitles uses a format of its own, with tags
> enclosed in braces { }. The current version of mplayer strips out and
> ignores html tags in srt files, while nothing is done at all about
> microdvd tags. Microdvd tags do, however, get stripped by accident (or
> luck) if libass is used to render them since ass tags also uses
> braces.
Hi,
Any opinion on this patch?
I'm using it and its works great. I use it with subrip (srt) subtitles that
mainly use italic and bold.
I think this is a great addition.
That patch dont apply cleanly on the current svn, but I updated it to current
svn (and to git from Uoti)
svn: http://paste.pocoo.org/show/212849/
git: http://paste.pocoo.org/show/212851/
(I'm replying from gmane, because I dont have this email in my inbox, so I cant
attach, but when I receive the headers from this thread I reply again with the
patch attached)
Bye,
Kazuo
More information about the MPlayer-dev-eng
mailing list