View Full Version : black subtitles background in DVDlab pro
Houdini
10th October 2004, 17:02
Hi,
I would like to ask you what I'm doing wrong with my subtitles.
I have a SST file with a bunch of BMP files and when I'm adding the subtitles in DVDlab pro by importing the SST file, I get no transparant subtitle background.
This means I get a black screen with subtitle every time a subtitle pops up.
What do I have to do to get it transparant?
Houdini
cona812
10th October 2004, 18:16
You have to change some settings in your sst-header
st_format 2
Display_Start non_forced
TV_Type PAL
Tape_Type NON_DROP
Pixel_Area (0 574)
Display_Area (0 2 719 574)
E2 (0 0 255 ===)
E1 (0 0 0 ===)
PA (255 255 255 ===)
BG (255 0 0 ===)
Directory J:Project\Sub\en
#########################################################
SP_NUMBER START END FILE_NAME
Color (1 4 3 4)
Contrast (0 15 15 0)Take a look at the E1 (Emphasis1) E2 (Emphasis2) PA (Pattern) BG (Background)these colors (RGB code) has to be the same your bitmaps contain.
The numbers behind the "Color"-line specifies the displaycolor (number of the color in your PGC-colorpalette), the "Constrast" option (0 = transparent 15 = opac) has to be edit too.
Cona
Houdini
10th October 2004, 19:01
You are writing:
Color (1 4 3 4)
Contrast (0 15 15 0)
Can you tell me why you use 1 4 3 4?
Best regards,
Houdini
cona812
10th October 2004, 19:20
The numbers to use depends on the colorpalette you use. My one was setup like this: 1: RGB(...) 2: RGB(...) 3: RGB(255 255 255) 4: RGB(0 0 0) ...as the subtitles should be white letters with black outline i used color 4 for the outline and color 3 for pattern. For background displaycolor you can use whatever color as the contrast is set to transparent (0).
Cona
Houdini
11th October 2004, 13:58
I could see you are writing (1 4 3 4) at the end just after the titles different pictures.
In my sst files it is always in the first part
st_format 2
Display_Start non_forced
TV_Type PAL
Tape_Type NON_DROP
Pixel_Area (0 576)
Display_Area (0 2 719 576)
Color (1 3 1 1)
Contrast (0 15 15 0)
E2 (255 0 0 ===)
E1 (0 0 255 ===)
PA (255 255 255 ===)
BG (255 0 0 ===)
Directory F:\Write\DVD\subtitles\subv
#
# Palette entries:
#
# 01 : RGB(255,255,255)
# 02 : RGB( 0, 0,255)
# 03 : RGB( 0, 0, 0)
# 04 : RGB(255, 0, 0)
#
#########################################################
SP_NUMBER START END FILE_NAME
1 00:01:03:07 00:01:05:01 MAC.1.bmp
Could you have a look at the attached picture and tell me what my codes have to be because I tried a lot af things now and it didn't work.
Best regards,
Houdini
cona812
11th October 2004, 15:02
I will answer as the picture are uploaded.
Cona
Houdini
11th October 2004, 15:18
Picture :
http://www.hitauts.com/pic/
I was not able to upload the picture correctly to the forum.
Houdini
cona812
11th October 2004, 15:50
st_format 2
Display_Start non_forced
TV_Type PAL
Tape_Type NON_DROP
Pixel_Area (0 574)
Display_Area (0 2 719 574)
E2 (255 255 255 ===)
E1 (0 0 255 ===)
PA (0 0 0 ===)
BG (255 0 0 ===)
Directory F:\Write\DVD\subtitles\subv
#########################################################
SP_NUMBER START END FILE_NAME
Color (1 x y 1)
Contrast (0 15 15 0)
1 00:01:03:07 00:01:05:01 MAC.1.bmpresize your subpics to 720x574,
use a colorpalette containing only RGB(0 0 0), RGB(255 0 0), RGB(0 0 255) and RGB(255 255 255) and save them as 4bit Bitmaps (this has to be done in your pictureediting software).
Your Subpics has E1=(0 0 255), PA=(0 0 0) and BG=(255 0 0). The colorpalette entries should be removed of your sst-header, as they override your projectdefaults.
You can use the header above, you only have to change the x and y. Take a look at your project colorpalette and change them to the number of color you want the subtitles to be displayed (x should be black and y white).
Cona
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.