Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Subtitles

Reply
 
Thread Tools Search this Thread Display Modes
Old 14th August 2010, 15:09   #1  |  Link
recover
Registered User
 
recover's Avatar
 
Join Date: Dec 2006
Posts: 32
How to batch rip subtitles with SubRip

Hello everyone.

You might think this is a question, but it's actually a guide.

You see, I have started to rip subtitles from DVDs of a TV-series. I want to rip all languages (10 of them), from all episodes (like 160 or so), and I don't want to break my mouse in the process.
Seeing as SubRip had no support for batch ripping subtitles to .srt files, I added it.

I downloaded the SubRip 1.50 Beta 4 source and started tinkering with it. To my horror, I found that the source was very hacky and not really structured at all. I managed to add everything I wanted though.

Here's everything I have added:
  • Batch support.
  • Always save in Unicode.
  • Remember previously used character matrix file (auto-load).
  • Checkbox for auto-running post-OCR correction.
  • Auto-select correct language in post-OCR dialog.
  • Remember the last used save directory.
  • Remember language when changing VOB files.
  • Display current language in main UI.
  • Remember "Show Pict." checkbox.
  • Checkboxes for auto-resetting time and text file on start.

Visit my site to download: http://stefansundin.com/stuff/subrip/

Simply download SubRip.exe and overwrite an already installed version.
The modified source code is also available on the site. There are no diff, sorry!

Batch example:
Code:
SubRip D:\VIDEO_TS\VTS_01_0.IFO eng 2
This will save the 2:nd subtitle stream to the file eng.srt.
And yes, you should specify the IFO file.
Before you run this you should:
  • configure a character matrix file to auto-load.
  • configure the post-OCR dialog to auto-run.
If an unknown character comes up, the input dialog will come up as usual.
The character matrix file will be automatically saved on exit.
Note: This batch mode replaces the mode which rips to BMPs.

Hope ya like it!

Let me know if you have any questions.

Made by Stefan Sundin.

P.S. Don't tell me anyone have done this already!
recover is offline   Reply With Quote
Old 15th August 2010, 15:20   #2  |  Link
recover
Registered User
 
recover's Avatar
 
Join Date: Dec 2006
Posts: 32
Okay, if anyone have been having troubles opening a character matrix because the dialog window didn't pop up, then re-download since I have fixed that now. Source archive has been updated too.

If you find any problem with my version, then it's probably my fault. But be sure to post here and I might be able to fix it.
recover is offline   Reply With Quote
Reply

Tags
batch, subrip

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 19:28.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.