[MPlayer-users] Info - Vobsub subtitle colors, tridx, and such

陆然 hephooey at fastmail.fm
Mon Dec 2 08:03:02 CET 2002


Hi,

AFAIK vobsub subs are actually image, so when mplayer or any other player try 
to display them. how can they know which pixel is background or text or 
shadow, outline. And DVDs use a palette made up of 16 colors, though it seems 
that they only use 4 of the colors. Maybe we should have a look at vobsub's 
source ;)

> # Custom colors ( transp idxs and the four colors )
> custom colors: ON, tridx: 1000, colors: 000000, ffffff, 000000, 000000
>
> __________________________________________________________
> The tridx: is used to turn off/on the four colors. 1-off, 0=on
> The first digit is for the background color ( always set to 1 unless you
> desire an ugly border )
> The second digit is for the subtitle text color
> The third digit is for the shadow or outline color
> The fourth digit is for a second layer of shadow or outline color ( some
> DVDs don't use it )
>
> colors: assign a value for each of the four colors
> 000000 is black, ffffff is white, aaaaaa is grey, etc.
> __________________________________________________________
> Both the DVD and Windows players will see the above settings as black
> text with a
> white outline while mplayer will display white text with a black outline.
> ---------------------------------------------------------------------------
>------------------ John
>
>
>
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users

-- 
Best Regard,
LR




More information about the MPlayer-users mailing list