How to Rip Subtitles
Posted: Wed Nov 05, 2008 5:59 am
I am going to give a simple and basic description of how to rip subs from a DVD into subtitles which can be uploaded to the net and used with .avi files. It assumes you are using Windows, because I am only describing tools I have used personally. There is a Mac-based tool listed at Subrip's site, and http://forum.doom9.org/ is a good reference for everything else and for things I don't cover very well.
Subtitle Basics
Subs are stored on DVD as bitmaps, so that your DVD player can just place them on top of the picture. When ripped from a DVD these bitmaps are saved in a .SUB file, which usually has an accompanying .IDX file. Many PC-based players can use .SUB and .IDX files to show subtitles for an .avi file.
However, not all PC-based players, and no physical DVD players that I know of, can use subs which are in .SUB format. They need to be translated into text. The most common and universal text subtitle format is .SRT, which bascially consists of the time and duration to show each subtitle followed by the text of that subtitle.
Step One - Getting the DVD onto your hard drive
The .VOB files on a DVD contain the video, audio, and subtitles for that DVD. To prevent easy copying they are typically encrypted. You need to get a program such as "DVDFab Decryptor", "DVD Decryptor" (in File mode), or "DVDShrink" to get the unencrypted VOB files (and the IFO/BUP files which tell programs exactly what's where in the VOB files) onto your hard drive.
All three I listed are free. "DVDFab Decryptor" at http://www.dvdfab.com/free.htm is (unlike the others) still being developed and therefore will sometimes be able to read a newer DVD with advanced protection.
Step One and a Half - Getting just .SUB/.IDX files (optional!!!)
If you only want the subs in .sub/.idx form and already have AutoGK (an encoding tool) installed:
Under "Advance Settings" select "Use external subtitles" and then select one of the subtitle tracks in the main window. As AutoGK produces the AVI it will also create an .idx and a .sub (inside a .rar). Some PC players can use those files directly.
You can also post just those files on FLM and there are several people who will be happy to do the rest of the work creating the .srt file. If you don't have AutoGK I assume there are other programs which will create the .SUB/.IDX files, but why don't you just go on to Step Two and try Subrip, it's not so hard.
Step Two - Use Subrip to create the SRT file
You need a program named Subrip. Its home page is at http://zuggy.wz.cz/
After running it, select the "Open VOBs" menu or the VOB toolbar button. Then click the "Open IFO" button and go to the directory with the VOB and IFO files you saved in Step One. Choose the .IFO file for the movie, which will be named something like "VTS_01_0.IFO" but the _01_ might be _02_ or _03_ etc. It will then show you which VOBs are associated with that IFO. It is usually easy to tell which of multiple .IFOs is correct, because it will have the most associated VOBs. But sometimes experimentation is necessary, same as with AutoGK.
The available subtitles should show in the dropdown in the "Language Stream" section. Select the one you want. Now press the "Start" button.
[Image]
The program will now look through the VOBs for subtitles bitmaps. When it finds one, it will attempt to divide the subtitle up into individual characters. It will then highlight that character and ask you to supply the letter that character represents. Type it in, and click Ok. Case is important: if it's a capital letter make sure you capitalize it. For convenience Subrip also shows you a selection of accented characters and special symbols to choose from, in case your keyboard can't handle them.
Keep doing this for each successive character. Subrip remembers what you have already told it and skips repeats, so pretty quickly it will be zipping along. Sometimes it will show you two characters at one time (i.e. ff or ft), just enter them both.
Subrip allows you to select Bold or Italic or Underline when you enter a subtitle. My recommendation is to leave those alone, at least until you get comfortable with using Subrip. Not all players can deal with them, and Subrip sometimes confuses italic and non-italic letters and switches back and forth in a single line, which requires cleanup.
[Image]
When it finishes, it will show you the .SRT window with the resulting subs. You need to Use Save As to save it. Simple!
I recommend, though, that you then try the "Post OCR Spelling Correction" choice under "Corrections". The most important of these corrections is "Try to correct l and I". Many DVDs use a subtitle font where an upper case I and a lower case L look the same, and Subrip can't tell them apart. Most of these can usually be corrected automatically though. The '' and " correction seems to come up a lot too.
After saving the corrected .srt, you should also save the character map. This way if you want to reprocess the subs (because you made some sort of mistake the first time) you won't have to reenter all the characters. FYI, the author of Subrip has made available a character file with many different fonts predefined, but I have had one DVD work flawlessly with it but all others fail with wrong characters, so I am not sure it's worth the potential time saved.
Good luck and feel free to ask questions!
Subtitle Basics
Subs are stored on DVD as bitmaps, so that your DVD player can just place them on top of the picture. When ripped from a DVD these bitmaps are saved in a .SUB file, which usually has an accompanying .IDX file. Many PC-based players can use .SUB and .IDX files to show subtitles for an .avi file.
However, not all PC-based players, and no physical DVD players that I know of, can use subs which are in .SUB format. They need to be translated into text. The most common and universal text subtitle format is .SRT, which bascially consists of the time and duration to show each subtitle followed by the text of that subtitle.
Step One - Getting the DVD onto your hard drive
The .VOB files on a DVD contain the video, audio, and subtitles for that DVD. To prevent easy copying they are typically encrypted. You need to get a program such as "DVDFab Decryptor", "DVD Decryptor" (in File mode), or "DVDShrink" to get the unencrypted VOB files (and the IFO/BUP files which tell programs exactly what's where in the VOB files) onto your hard drive.
All three I listed are free. "DVDFab Decryptor" at http://www.dvdfab.com/free.htm is (unlike the others) still being developed and therefore will sometimes be able to read a newer DVD with advanced protection.
Step One and a Half - Getting just .SUB/.IDX files (optional!!!)
If you only want the subs in .sub/.idx form and already have AutoGK (an encoding tool) installed:
Under "Advance Settings" select "Use external subtitles" and then select one of the subtitle tracks in the main window. As AutoGK produces the AVI it will also create an .idx and a .sub (inside a .rar). Some PC players can use those files directly.
You can also post just those files on FLM and there are several people who will be happy to do the rest of the work creating the .srt file. If you don't have AutoGK I assume there are other programs which will create the .SUB/.IDX files, but why don't you just go on to Step Two and try Subrip, it's not so hard.
Step Two - Use Subrip to create the SRT file
You need a program named Subrip. Its home page is at http://zuggy.wz.cz/
After running it, select the "Open VOBs" menu or the VOB toolbar button. Then click the "Open IFO" button and go to the directory with the VOB and IFO files you saved in Step One. Choose the .IFO file for the movie, which will be named something like "VTS_01_0.IFO" but the _01_ might be _02_ or _03_ etc. It will then show you which VOBs are associated with that IFO. It is usually easy to tell which of multiple .IFOs is correct, because it will have the most associated VOBs. But sometimes experimentation is necessary, same as with AutoGK.
The available subtitles should show in the dropdown in the "Language Stream" section. Select the one you want. Now press the "Start" button.
[Image]
The program will now look through the VOBs for subtitles bitmaps. When it finds one, it will attempt to divide the subtitle up into individual characters. It will then highlight that character and ask you to supply the letter that character represents. Type it in, and click Ok. Case is important: if it's a capital letter make sure you capitalize it. For convenience Subrip also shows you a selection of accented characters and special symbols to choose from, in case your keyboard can't handle them.
Keep doing this for each successive character. Subrip remembers what you have already told it and skips repeats, so pretty quickly it will be zipping along. Sometimes it will show you two characters at one time (i.e. ff or ft), just enter them both.
Subrip allows you to select Bold or Italic or Underline when you enter a subtitle. My recommendation is to leave those alone, at least until you get comfortable with using Subrip. Not all players can deal with them, and Subrip sometimes confuses italic and non-italic letters and switches back and forth in a single line, which requires cleanup.
[Image]
When it finishes, it will show you the .SRT window with the resulting subs. You need to Use Save As to save it. Simple!
I recommend, though, that you then try the "Post OCR Spelling Correction" choice under "Corrections". The most important of these corrections is "Try to correct l and I". Many DVDs use a subtitle font where an upper case I and a lower case L look the same, and Subrip can't tell them apart. Most of these can usually be corrected automatically though. The '' and " correction seems to come up a lot too.
After saving the corrected .srt, you should also save the character map. This way if you want to reprocess the subs (because you made some sort of mistake the first time) you won't have to reenter all the characters. FYI, the author of Subrip has made available a character file with many different fonts predefined, but I have had one DVD work flawlessly with it but all others fail with wrong characters, so I am not sure it's worth the potential time saved.
Good luck and feel free to ask questions!