[MPlayer-dev-eng] VobSub subtitles

Kim Minh Kaplan kaplan at kim-minh.com
Fri Jan 11 12:25:05 CET 2002


pl writes:

> On Thu, Jan 10, 2002 at 10:54:09PM +0100, Gabucino wrote:
>
>> Also, the subtitles (mine, at least - the sample from mphq) are very bright.
>> With the patch, the background was dark instead ;) Guess it can't be helped..
>> But one more thing: MPlayer stops for ~0.5 seconds before displaying
>> the subtitle.. Weird. (it didn't occur with the patch)
>
> I see the same effect here.
> It looks related to antialiasing code => disabling it make subs ugly but
> avoids the stopping - maybe it's too precise/not optimized(yet) for realtime :)

Probably.  When I first implemented vobsub, I did not do antialiasing
(try it with #define WITH_NO_ANTIALIASING in spudec.c) but results
where really ugly.

Then I made up the antialiasing algo aiming maximum correctness (good
for mencoder!)  But it sure is slow.  If you look at it you'll even
see floating point operations!

Now if anyone wants to try his hands at an intermediate algo (better
than no antialiasing, faster than my antialiasing) or optimize the one
I wrote, feel free.

Kim Minh.



More information about the MPlayer-dev-eng mailing list