Correcting Subtitle Colors

The quest to get the subtitle colors correct continues. Xine shows different colors when viewing the VOB file than playing the DVD. Ogle shows the same colors (black/black) regardless except it won’t play when no audio device is available. This was fixed by adding this to ~/.oglerc


<ogle_conf>
<audio>
<device>
<driver>null</driver>
</device>
</audio>
</ogle_conf>

I read through the dvdauthor documentation and it says if the subtitles come from spumux, the color palette will be passed. If not, you can specify it as such in your project.xml file:

<pgc palette="subtitle.rgb">

<vob file="project-sub.mpeg" />
</pgc>

Here is the subtitle.rgb file with values that match the defaults set in xste’s global subtitle palette.

000000

EBEBEB
101010
FFFFFF
FF0000
00FF00
0000FF
FFFF00
FF00FF
00FFFF
EB8A00
20D9FF
51A92D
FDBD00
FFF5AD
7D7D81

That did the trick!