[MPlayer-users] Re: color of DVD subtitles

Andres Heinloo andres at gfz-potsdam.de
Mon Dec 15 11:37:37 CET 2003


Hi,

thanks for the explanation!

Anyway, could you developers consider increasing the contrast of subtitles
by mapping light grey to white?

Of course, ideal would be color subtitles. Some films have multi-color
subtitles for people with hearing problems (if you wonder what color is
useful for).

Andres.


On Sat, 13 Dec 2003, Tobias Diedrich wrote:

> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Andres Heinloo wrote:
>
> > in all mplayer versions I've used, DVD subtitles are in greyscale. Eg.,
> > yellow subtitles end up grey, which is sometimes very hard to read. If DVD
> > subtitles cannot be rendered in color, would it be at least possible to
> > change the color to white?
>
> The Overlay code was not written to handle YV12 very well, which is the
> colorspace you are using with DVDs.  In YV12 you have three planes: y, u
> and v.  The latter two contain the color information, but are reduced in
> size and this means you can't change the color of a single pixel, which
> makes it complicated.  Because of this for YV12 mplayer only sets the
> Luminance (Y), so the subtitles are kinda gray with a bit of the
> original color shining through.
>
> --
> /* Tobias */     int main(int a,char **b)    /* PGP: http://9ac7e0bc.2ya.com */
> {char i,j,t,*r=*++b;srand(getpid());for(;*r;){for(;*r&&!isalpha(*r);r++);for(i=
> 1;isalpha(r[i+1]);i++){j=rand()%i;t=r[i];r[i]=r[++j];r[j]=t;}r+=i+1;}puts(*b);}
> np: hamasakiayumi: Best 07 - Trauma []
>
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
>



More information about the MPlayer-users mailing list