[MPlayer-dev-eng] Re: Re: [MPlayer-users] wrong audio chanell and subtitThu Oct 18 18:52:22 2001

Arpi arpi at thot.banki.hu
Thu Oct 18 18:56:24 CEST 2001


Hi,

> On Thursday 18 October 2001 17:28, Felix Buenemann wrote:
> [snip]
> 
> > hmm, couldn't we add something like a postprocess filter to render them
> > into the image?
not so simple. but not impossible of course, but i didn't wanted to
do it before libvo2. if you really want it, just do...
but instead of continuing hacking messing f*ing with libvo1, we should
discuss details of libvo2 and finally begin to port libvo1 drivers.

> should be no problem, but i know nothing about how mplayer handles 
> subtitles... 
mplayer currently supports only text subtitles. they are rendered using
alphamapped 256-level grey bitmap fonts.
btw, you could take a look at libvo/osd.c, it needs some optimization :)

one thing to help: chars in the bitmap are 8-pixel aligned/padded. it means that
if bitmap is loaded to 8-aligned memory, all char is aligend, and you can
process 8 pixels without problems, even if char width isn't divisable by 8.


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu



More information about the MPlayer-dev-eng mailing list