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

Rich Felker dalias at aerifal.cx
Sun Apr 2 03:26:04 CEST 2006


On Sat, Apr 01, 2006 at 03:11:46PM +0200, Attila Kinali wrote:
> On Sat, 1 Apr 2006 02:09:32 +0400
> "Evgeniy Stepanov" <eugeni.stepanov at gmail.com> 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.
> > 
> > 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 just had a short look at it and a few things came to my mind:
> 1) would it be possible to make this more general to handle
> other subtitles too?  Then we could get rid of the current
> subtitle mess.

It will never be able to compete with the performance of the current
subtitle rendering, which cheats by taking place inside the vo driver.

> 2) The filter can just handle YV12, which is bad, it should
> at least be able to handle the most comon YUV formats.

I don't see how that matters too much. No one uses any format except
4:2:0 planar, especially with subtitles.

Rich




More information about the MPlayer-dev-eng mailing list