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

John Evans jevans64 at knology.net
Mon Dec 2 04:31:02 CET 2002


Hi All,

I just thought I pass this along for anyone doing Vobsub subtitles with 
mplayer. When generating subtitles with mencoder, both a .sub & .idx 
file are created. For some reason the tridx colors are in the wrong 
order and have to be manually changed. The DVD displays the subtitles 
with the correct tridx color order when viewed on a TV set.

To change the colors, add the following line to the .idx file ( its a 
text file ). It can be placed above the language index setting.

# 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
 





More information about the MPlayer-users mailing list