Log in

View Full Version : Subtitle decoding - outlinecolor/fontcolor


Chatwalker
22nd October 2004, 11:24
Hi

I wrote some code to decode subtitles direct from vob-files to png which i want to author with spumux and dvdauthor.

This works fine, but in some cases the fontcolor and the outlinecolor is swaped (for example Kill Bill 2 RC2 PAL). I always use :

Color 0 Background
Color 1 Font
Color 2 Outline
Color 3 Anti-Alias

Is there a flag where to see which color-number is used for background, font, outline and antialias. Or is there a command in the subpicture commandsequence? Any help is welcome.

unmei
30th October 2004, 06:53
yes command sequence ..
i think this is what you are looking for

* type 0x03 : '03wxyz' - 3 bytes
this one has the palette information ; it basically says
encoded color 0 is the wth color of the palette, encoded color
1 is the xth color, aso.