Skip to content

Instantly share code, notes, and snippets.

@stefansundin
Last active January 3, 2016 05:19
Show Gist options
  • Save stefansundin/8414764 to your computer and use it in GitHub Desktop.
Save stefansundin/8414764 to your computer and use it in GitHub Desktop.
A patch I made for SubRip 1.50b4 that enables batch processing.

Patch for SubRip batch processing

Based on SubRip 1.50 Beta 4.

Improvements:

  • 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.

Batch example: 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.

For a compiled version, download SubRip.exe. Simply download and overwrite an installed version.

See the patch diff, or download everything. TNTComponentsSetup.exe is needed to build the source code.

-Stefan Sundin (2010-08-15)

This file has been truncated, but you can view the full file.
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment