Log in

View Full Version : New Doom9 CCE/ifoedit guide : sub colors


klona
19th July 2002, 22:01
I have something strange when coming to sub into Scenarist.

CD is Harry Potter, PAL , Rented, R2

If I use guide settings for colors, I have sub color outline the same as the main sub color.

I try different settings and in fact found that everything is OK if I set the P color to 0%....

But that makes no sense !

I attached a jpg to summarize as my english is not the best one.
and here is the beginning of my sst file, just in case i did a mistake there :

st_format 2
Display_Start non_forced
TV_Type PAL
Tape_Type NON_DROP
Pixel_Area (0 574)
Directory .
Subtitle Anglais
Display_Area (0 2 719 574)

SP_NUMBER START END FILE_NAME
Color (2 1 1 1)
0001 00:01:31:11 00:01:36:06 Anglais_0001.bmp
......


Anyone has an idea about that ?



Also, just to be small_detail_man, I think the blue button to import sub is the first one from the left, not right... hehe

Doom9
20th July 2002, 12:51
could you post a screenshot of the subrip output and delete the "Color (2 1 1 1)" line in your sst script and re-import the subtitles? there was a bug in my guide regarding that.

klona
21st July 2002, 10:13
Thx for your reply.

Yes, removing the "Color (2 1 1 1)" helps a lot.
You can then set color mapping for sub and outline_sub, and choose white(or yellow :-) ) sub with black border.

I have no time right now to investigate more but I will post more this night.

Not sure of which subrip screen cap you want. During process of OCR ? or the bmp produced by sctmaestro ?

Doom9
21st July 2002, 10:50
screenshot of subrip during the ocr (well.. actually we're not doing ocr.. just getting timecodes and extracting the bitmaps from the source vob stream).

klona
21st July 2002, 19:02
K; thx for your help Doom9 (and for the guide and for the site and for this forum and for and for...)

here is the cap from subrip and the color settings I found working, once removed the color line in the sst file, which seems to force some color settings in the conversion color process for subs.

In fact, we can use whatever color for E2 and Bg as we set it to 0%. But I had to invert black/white on E1 & P colors to have directly correct subs.

In fact we have a mapping from colors of the BMP (here red, outlined black, on a white Background, no 4th color used but it is blue) to the new colors defined in scenarist, according transparency percents decided.

so, to be sure, I think we just need to open one of the BMP produced, note color use for sub and outline.
Then, when starting scenarist, you can see that red is E1, Black is P, and white is Bg.

Then in the next screen, you have to choose to which color these "masks" will be converted.
Here :
red(E1) go to white,100%
Black(P) go to black, 100%
white(Bg) go to whatever, 0%
blue(E2) go to whatever, 0%

I am not sure if Subrip produce red outline black in every cases, so best is to check.

Also, does someone know if we can change these settings of color (not the palette) but conversion/transparency values during the project ?
At this time I had to start anew project every time to modify that

Eyes`Only
22nd July 2002, 02:43
Yes, if you are using my guide it can be done. Simply export the project as an .scp script (file>export), close scenarist, then edit the .scp file with a text editor and find something similar to the following text:

Default Subpicture Color=Color
{
Color 1(E2)=1
Color 2(E1)=3
Color 3(P)=7
Color 4(Bg)=4
}
Default Subpicture Contrast=Contrast
{
Color 1(E2)=0 %
Color 2(E1)=100 %
Color 3(P)=100 %
Color 4(Bg)=0 %
}


It's pretty easy to figure out from there, isnt it? :)

After editing this part of the .scp, start scenarist, choose new from script, give the project a new name, and hit OK. You should now have the default colors changed. Delete the subs you imported and then readd them. Voila!

Eyes`Only