View Full Version : Getting subtitles back into the main IFO's after re-authoring...


TRILIGHT
5th May 2002, 07:24
Ok, let me give all the specifics. I ripped the main movie and re-encoded using CCE. I reauthored in Maestro for my chapter points, two audio tracks, and subtitles. Everything went totally fine except the subtitles are not displayed when I select them.

Specifics on what I did in IFOedit...

I am using all of the original IFO files. I moved over chapter information from the authored IFO file so my chapters would be correct. I guess I need to figure out how to correctly move over the subtitle info from the authored IFO as well. I thought that the original IFO would work fine since they are located in the same place. However, when I play it back and select the subtitles, they are simply not displayed at all.

Just so you all know, all rips, authoring, etc. work completely fine. All menus, extras, chapter selections, etc. are ok. The only problem I have is with getting the subtitles to display. I think I need to copy some info over from the authored IFO to replace in the original IFO but I'm not sure what fields I should be looking for. Help! Thanks!

jdobbs
5th May 2002, 14:24
TRILIGHT,

Thanks for the positive feedback on IFOUpdate. For the subtitle problem, look at the summary screen (first displayed) of both IFOs (original and authored) in IFOEdit. Look under "Title Set (Movie) attributes" and see if the stream IDs match (in parens as ID: 0xNN).

TRILIGHT
5th May 2002, 18:45
Well, yes and no. The original is listed as this...

SubPicture 1: English (2-bit rle ) (ID: 0x20,0x22)

My authored IFO lists it like this...

SubPicture 1: English (2-bit rle ) (ID: 0x20)

I've played with the different settings but can't seem to get it to change and "HexEdit" is grayed out when I'm on it so I can't do anything there. Any advice? Thanks for the help, Jdobbs!

jdobbs
5th May 2002, 23:13
That's just a summary. That's why you can't edit it. You have to do it in the PGC. Look at this page for a description of the fields:

http://members.aol.com/mpucoder/DVD/pgc.html

Then go to VTS_PGC_1 and start looking at offset 0000001C you'll see the choices. You might want to just play with them a little using the information in the URL...

TRILIGHT
6th May 2002, 03:09
Thanks Jdobbs! I at least have them displaying now. I just need to figure out what's going on with the colors. In Maestro, I made them white letters outlined in black. Strangely enough, when viewed on the final DVD, they are displayed as black letters outlined in red.

TRILIGHT
6th May 2002, 06:32
Well, I tried something out and it worked. I converted all of the Y, Cr, Cb information to RGB and looked at those colors in Photoshop. I'm going to attempt to attach the images...

http://www.trilight.com/IFO/AuthoredIFO.gif

http://www.trilight.com/IFO/OriginalIFO.gif

If the images display correctly, you should see that the first is the colors in the Authored IFO and the second are the colors from the original title's IFO. Since my subtitles were incorrectly showing up as black, outlined in red, I replaced the values located in Color 0 and Color 2. Suprisingly enough, this worked the first time around! :) Hope this helps someone else if they are having trouble with subtitles. If anyone is curious about the conversion formulas, they are as follows...



Y = 0.299 R + 0.587 G + 0.114 B
Cb = - 0.1687 R - 0.3313 G + 0.5 B + 128
Cr = 0.5 R - 0.4187 G - 0.0813 B + 128

R = Y + 1.402 (Cr-128)
G = Y - 0.34414 (Cb-128) - 0.71414 (Cr-128)
B = Y + 1.772 (Cb-128)

Eyes`Only
7th May 2002, 19:05
Jdobbs, Wow thanks for the mathematical explanation of the colors, that really helps me understand the ifo better!

TRILIGHT, As for your subtitle colors issue, i posted this solution in numerous posts, including

http://forum.doom9.org/showthread.php?s=&threadid=22919