View Full Version : Again colors ifoedit


APPIE
12th July 2003, 01:22
Sorry for asking again over colors subtitels.
I've searched the forum but no answer.
I've author a new dvd with ifoedit.
Put my own sup file into the dvd.
But it's outlined red.
The copy color thing from old to new ifo file isn't helping.
I copy paste the old ifo file color in the new ifo file and press save and overwrite, but it won't help either.
The ripped vobs from dvd on my hdd have good white and outlined black subs when i play it on pc.
I've even tryed switching the ifo en bup file from original dvdfile but then the subs are outlined red too.
I'm lost here so please help me.

Thanks.

roach76
13th July 2003, 13:31
The copy and paste tactic should work, are you selecting the PGC when you copy and paste?

APPIE
13th July 2003, 16:56
Originally posted by roach76
The copy and paste tactic should work, are you selecting the PGC when you copy and paste?
yes i do.
i don't understand it.
i compared the ifo files color lines in the ifo file.
they are the same.

APPIE
13th July 2003, 17:45
Can you tell me if there is something wrong?

PGC (program chain):
[00000002] Number of Programs 36 [24]
[00000003] Number of Cells 36 [24]
[00000004] Playback time (BCD) 21505362 [01482552]
Playback time (hh:mm:ss.frame) 01:48:25.12 / 25 fps
[00000008] Prohibited user operations 0 [00000000]
[0000000c] Audio stream 1 status 32768 [8000]
Audio stream 1 uses stream nr.: 0
[0000000e] Audio stream 2 status 0 [0000]
[00000010] Audio stream 3 status 0 [0000]
[00000012] Audio stream 4 status 0 [0000]
[00000014] Audio stream 5 status 0 [0000]
[00000016] Audio stream 6 status 0 [0000]
[00000018] Audio stream 7 status 0 [0000]
[0000001a] Audio stream 8 status 0 [0000]
[0000001c] Sub-picture stream 1 status -2147483648 [80000000]
Sub-picture stream 1 uses stream nr.(4:3): 0
Sub-picture stream 1 uses stream nr.(wide): 0
Sub-picture stream 1 uses stream nr.(letterbox): 0
Sub-picture stream 1 uses stream nr.(pan&scan): 0
[00000020] Sub-picture stream 2 status 0 [00000000]
[00000024] Sub-picture stream 3 status 0 [00000000]
[00000028] Sub-picture stream 4 status 0 [00000000]
[0000002c] Sub-picture stream 5 status 0 [00000000]
[00000030] Sub-picture stream 6 status 0 [00000000]
[00000034] Sub-picture stream 7 status 0 [00000000]
[00000038] Sub-picture stream 8 status 0 [00000000]
[0000003c] Sub-picture stream 9 status 0 [00000000]
[00000040] Sub-picture stream 10 status 0 [00000000]
[00000044] Sub-picture stream 11 status 0 [00000000]
[00000048] Sub-picture stream 12 status 0 [00000000]
[0000004c] Sub-picture stream 13 status 0 [00000000]
[00000050] Sub-picture stream 14 status 0 [00000000]
[00000054] Sub-picture stream 15 status 0 [00000000]
[00000058] Sub-picture stream 16 status 0 [00000000]
[0000005c] Sub-picture stream 17 status 0 [00000000]
[00000060] Sub-picture stream 18 status 0 [00000000]
[00000064] Sub-picture stream 19 status 0 [00000000]
[00000068] Sub-picture stream 20 status 0 [00000000]
[0000006c] Sub-picture stream 21 status 0 [00000000]
[00000070] Sub-picture stream 22 status 0 [00000000]
[00000074] Sub-picture stream 23 status 0 [00000000]
[00000078] Sub-picture stream 24 status 0 [00000000]
[0000007c] Sub-picture stream 25 status 0 [00000000]
[00000080] Sub-picture stream 26 status 0 [00000000]
[00000084] Sub-picture stream 27 status 0 [00000000]
[00000088] Sub-picture stream 28 status 0 [00000000]
[0000008c] Sub-picture stream 29 status 0 [00000000]
[00000090] Sub-picture stream 30 status 0 [00000000]
[00000094] Sub-picture stream 31 status 0 [00000000]
[00000098] Sub-picture stream 32 status 0 [00000000]
[0000009c] Next PGC number 0 [0000]
[0000009e] Previous PGC number 0 [0000]
[000000a0] Go Up PGC number 0 [0000]
[000000a2] Still time in seconds 0 [00]
[000000a3] PG Playback mode 0 [00]
PG Playback mode = sequential
[000000a5] Color 0 Y Cr CB 85 174 97 [55 ae 61 ]
[000000a9] Color 1 Y Cr CB 104 92 108 [68 5c 6c ]
[000000ad] Color 2 Y Cr CB 16 128 128 [10 80 80 ]
[000000b1] Color 3 Y Cr CB 234 128 128 [ea 80 80 ]
[000000b5] Color 4 Y Cr CB 153 73 77 [99 49 4d ]
[000000b9] Color 5 Y Cr CB 192 106 107 [c0 6a 6b ]
[000000bd] Color 6 Y Cr CB 79 175 217 [4f af d9 ]
[000000c1] Color 7 Y Cr CB 171 162 140 [ab a2 8c ]
[000000c5] Color 8 Y Cr CB 134 72 84 [86 48 54 ]
[000000c9] Color 9 Y Cr CB 234 128 128 [ea 80 80 ]
[000000cd] Color 10 Y Cr CB 120 101 191 [78 65 bf ]
[000000d1] Color 11 Y Cr CB 86 228 94 [56 e4 5e ]
[000000d5] Color 12 Y Cr CB 178 110 148 [b2 6e 94 ]
[000000d9] Color 13 Y Cr CB 133 90 94 [85 5a 5e ]
[000000dd] Color 14 Y Cr CB 178 140 68 [b2 8c 44 ]
[000000e1] Color 15 Y Cr CB 104 193 108 [68 c1 6c ]

[000000e4] PGC Command Table start byte 0 [0000]
[000000e6] PGC Program Map start byte 236 [00ec]
[000000e8] Cell Playback Information Table start byte 272 [0110]
[000000ea] Cell Position Information Table start byte 1136 [0470]

this the one that ifoedit created.
it's the same as the original.

dreamline
14th July 2003, 12:41
hmmmm... Weird all your subtitle streams have different colors when i look at mine it there's one color that says 16 (Color 0 16 128 128)
and all the rest says 128 and i get perfect white subs... Are you familiar with rgb colors, well all the colors are digitalle made up out of Red Green Blue. Values can be from 0 to 255 and if i take 128 then it'll be a light gray, as where 16 is almost black...

I can explain my colors in the subs, but i can't explain yours they seem to be more tending to Green am i right, are they more like green? 128 is grey, and 16 is almost black which is used for the see through effect @ the subs..


I'm @ work right now so i can't post my subcolors.

:D

One thing you can try is fill sub color 0 with 16 128 128 and the rest with 128, see if that works.. I'm sure it will.. :D

megahurts
14th July 2003, 16:09
APPIE

Subtitles use 2 colors, 1 for the character and 1 for the outline. Each color has 3 hex values, first is brightness, second red, and third blue. Green is fixed at 80 hex.

By setting the last 2 hex values to 80 will set the color to gray.

To make a white character use [EA 80 80].
To make a black outline use [10 80 80].

Looking at your color table, there are 5 possible colors that will produce the redish outline. They are color 0, 7, 11, 14 and 15. By changing each of these colors to 10 80 80 hex, you should have a black outline.

Hope this helps

Chas

APPIE
14th July 2003, 22:33
Thanks for the reply's guy but 1 thing i don't understand,
the dvd is created with dvd shrink.
when i play the dvd created by dvdshrink the colors of the sub is good. [white and black outline]
Then i copy paste the color in ifoedit en play the dvd created by ifoedit and the subs are white with green outlines.
The color lines in de ifo file is just the same as the original created by dvdshrink. ????
How is that possible?
I'm lost here.

And to change to color numbers in de ifoedit window, how do i do that?
If i dubble click on the color 0 line and change the numbers in hexedit modul i get only 1 number by the value line.

Is it possible that the problem is in the subtitels?
The subs i use are own subs convert from srt 2 sup with DVDSupEncode.exe
This way i try to insert dutch subs in dvdr.

Thanks for helping out.

megahurts
14th July 2003, 23:39
APPIE

When you edit a color you will not see the decimal value until you refresh the page, but you will see the new hex value.

I thought you were getting red outlines and now you said it's green. Since you have white characters, you can change all the colors that DO NOT have 80 80 hex as the last 2 values. Change them to 10 80 80 hex and save the file. This will give you a black outline for sure.

The problem is not in the subtitles.

Hope this helps

Chas

APPIE
15th July 2003, 18:22
@megahurts, that dit the trick.
Thank you very much.
Thank all for helping.

But one thing i still don't get.
The colors in ifo file are the same as the original ifo file.
Why is there a color change?

But it's good now.
Thanks.

megahurts
15th July 2003, 19:46
APPIE

Glad to hear it worked.

You said in your original post that you added your 'own' sub file to the DVD. Where did you get this file, or is it from the same DVD?

BTW: Does anyone know what the other 14 colors are used for, as I don't have a clue.

Cheers

Chas

APPIE
15th July 2003, 21:06
The sub i want to add is from another dvd.
I just downloaded the sub from a dutch subtitel site.
The dvdr got no dutch subs.
So i want to add this sub.
I extract the english sub from the dvdr to srt.
I make sure that my sub gets the same timeline.
Convert my sub to sup en.......
Everything was good except for the color.
I copyed the ifo color from original ifo file, and you know the rest.
Thanks.

megahurts
15th July 2003, 22:43
APPIE

That explains why the colors were different from the IFO file you were using. The Dutch subtitles use a different color table than yours. Had you used the Dutch IFO file for colors, it would have worked.

Mystery solved.

Chas

APPIE
15th July 2003, 23:01
so there is more info in a sup file.
i created a sup file from a tekst file.
In the tekst file there is no info about colors.

Am i right?

megahurts
17th July 2003, 00:16
APPIE

Haven't had any experience with subtitles except for the color thing. I was looking at a few sub text files and there is no mention of colors. What program are you using to convert the text to sup file? Does it mention anything about colors?

Chas

APPIE
17th July 2003, 05:58
Program is called DVDSupEncode.
Here is a link to the site of the program.
http://web.quick.cz/FKasparek

megahurts
17th July 2003, 19:10
APPIE

Found this at end of the instructions for DVDSupEncode.

--------------------------------------------------------
IMPORTANT: After authoring in IfoEdit don't forget to set up Subtitle Color properly!

For PALETTE=3210 can be used following colors:
VTS_01_0.IFO
VTS_PGCITI
VTS_PGC_1
[000000a5] Color 0 Y Cr CB 16 128 128 [10 80 80 ]
[000000a9] Color 1 Y Cr CB 32 128 128 [20 80 80 ]
[000000ad] Color 2 Y Cr CB 128 128 128 [80 80 80 ]
[000000b1] Color 3 Y Cr CB 235 128 128 [eb 80 80 ]
----------------------------------------------------------

BTW: If you want to view the colors in an IFO file, load it into SubRip and they will be displayed at the bottom of the page.

Chas

APPIE
17th July 2003, 23:05
Originally posted by megahurts
APPIE

Found this at end of the instructions for DVDSupEncode.

--------------------------------------------------------
IMPORTANT: After authoring in IfoEdit don't forget to set up Subtitle Color properly!

For PALETTE=3210 can be used following colors:
VTS_01_0.IFO
VTS_PGCITI
VTS_PGC_1
[000000a5] Color 0 Y Cr CB 16 128 128 [10 80 80 ]
[000000a9] Color 1 Y Cr CB 32 128 128 [20 80 80 ]
[000000ad] Color 2 Y Cr CB 128 128 128 [80 80 80 ]
[000000b1] Color 3 Y Cr CB 235 128 128 [eb 80 80 ]
----------------------------------------------------------

BTW: If you want to view the colors in an IFO file, load it into SubRip and they will be displayed at the bottom of the page.

Chas
Thanks!
I didn't saw that.
I will try it this weekend on a dvdr.

Again, thanks for your help.

APPIE
23rd July 2003, 22:59
Well I tryed to create a dvdr with Ifoedit en convert the sub file from srt 2 sup with dvdsupencoder and edit the colors in the ifo file like they mention in the help file.
It worked very well.
Good color en good outlines. :D

Now i can get dvdr and put my own subs into the file.

Thanks for all the help.