[MPlayer-dev-eng] [RFC] EOSD improvements

Grigori Goronzy greg at chown.ath.cx
Mon Aug 2 12:24:32 CEST 2010


On 08/02/2010 12:04 PM, Nicolas George wrote:
> Le quartidi 14 thermidor, an CCXVIII, Reimar Döffinger a écrit :
>> 1) I first and mainly only suggested making it work with the current
>>    luminance-alpha which should be a good idea anyway and not much effort.
> 
> I do not think this is a very attractive idea: although it is possible,
> fitting the square-shaped peg of a colored image into the circle-shaped hole
> of a luminance+alpha API is tedious code that would become utterly useless
> if RGBA support is added, as expected.
> 
> In building construction, I believe it is considered a bad idea, when the
> foundations are seen to be too shaky for a first-story extension, to build
> the extension with strings and sticks and later rebuild stronger
> foundations.
>

At least someone agrees. :)

> The "constant luminance + full alpha mask" format was designed and optimized
> for ASS, as it allows to reuse the alpha mask (glyph shape) with a different
> color. As such, it is very efficient, and must be kept.
>

It is very efficient for ASS subtitles and should be kept, however
rendering ASS this way does not provide a good visual result in many cases.
Some day (tm) libass is going to optionally output RGBA bitmaps which
allow a satisfying result in all cases.

> - A .srtx overlay video filter: .srtx is the same as .srt, but with the name
>   of a bitmap file instead of the text of the subtitle.
>

That seems interesting. I never heard about this format and can't find
much information about it on the web. Can you elaborate?

Grigori


More information about the MPlayer-dev-eng mailing list