8. Subtitles

Now we'll convert the subtitles to text (needed for OGM) through OCR. No program, including subrip, is perfect and you'll most likely end up reading through it all just to check it. Sometimes you'll notice that the ones who wrote the subs on the dvd made more mistakes than subrip.
  1. Open the IFO.
  2. Check all vobs where you going to extract subtitles from. This is usually doesn't need to be changed.
  3. Select under action 'Subtitles to text via OCR'.
  4. If your movie has more then one languange then you change the languange here.
  5. If the timeindex in the srt file suddenly resets to 0 use the option 'Enable this box if time restarts from 0 in the middle of the DVD'.
  6. Select a previously created character matrix file if you've encoded something from the same dvd/series so you won't have to enter all characters again.
  7. Start.

Remember to check/uncheck the underline/italic/bold attributes when needed if you want formatted text.

To make the next step simpler you should autocorrect the text, it doesn't remove all problems but it helps a lot. Remember to select the right language, the rest of the options should be set to the default.
If the spacing of the text is completely off (spaces between every letter) or many characters are wrong you can try increasing the space width or the sensibility on character difference. Some subtitles will be hopeless without changing these options. After changing the settings you should save you character matrix and then you have to start over for the changes to take effect.

There is a trick for always getting the subtitle timing right even if the first line appears after 45 min or more for a 25 min episode. This procedure should always be done.
  1. Open the file named "*stream information.txt" which exists in the directory you ripped the vobs to.
  2. Find the line that says something like "0xE0 - Video - MPEG-2...". The stream number will most of the time be 0xE0.
  3. Open the time correction window (click the clock icon).
  4. Enter the PTS value of that stream into the time offset/start match fields and check minus. If the line looks like: "0xE0 - Video - MPEG-2 / 720x480 (NTSC) / 4:3 / LBA: 578298 / PTS: 00:24:14.767 / Delay: 0ms" you would enter the time 00:24:14.767.
  5. Press correct time and then save the file.
  6. Open the file in your favorite text editor and proofread it to find any errors.
If the vobs were ripped using smartripper the process is slightly different.
  1. Enter the time correction window and change the time offset so the first line appears at the time 00:00:00.000 (it will ask if you really want to do it since the time of the first line will then be 0 and there's a risk that timing information will be lost).
  2. Open the file named "*_INFO.txt" in the directory the vobs were ripped to.
  3. Find the delay value of the subtitle stream (usually 0x20) in the stream info section. The line might look something like this: "Stream[005] X=[[0x20] Subtitle English ] [PTS 408:02:27] [Delay 11444 ms] [@3901] []". You might have to convert the delay value to hours/minutes/seconds if it's too big to enter as is. In this case you would then add 00:00:11,444 to the starting time offset.
-When done continue to the MKV Muxing or the OGM Muxing.