Jump to content


Photo

Converting Idx/sub Files To .srt With Subresync


  • Please log in to reply
4 replies to this topic

#1 spyderspyder

spyderspyder

    Senior Member

  • Moderators
  • 440 posts
  • LocationS.E. England, UK

Posted 17 October 2010 - 03:44 PM

Convert idx/sub to .srt with SubResync

There have been a few questions raised about how to convert DVD subs (Vob subs) from idx/sub to .srt format.
There are various ways of doing this, the two most common being with SubRip or SubResync.
The process is similar in both, and once you master one, the other becomes self-evident.

The following is a simple guide to converting idx/sub to .srt using SubResync. It assumes, for simplicity, a single episode file.

You need SubResync, which comes with VobSub.
(If you can watch subtitles in WMP, and/or use Subtitle Workshop, you probably already have VobSub - and SubResync - installed.)

If not, you can get it here: http://sourceforge.n...files/VSFilter/


Assuming that SubResync is on your PC, proceed as follows...

1. Right click the .idx file that you want to convert.

Select: Edit with SubResync in the context menu.

You'll see this:

Posted Image
Fig. 1


2. Click 'Save as...' You'll see this:

Posted Image
Fig. 2


Select 'Subripper (*.srt)'

Click 'Save'.

Now you see this:


Posted Image
Fig. 3

The Optical Character Reader (OCR) has started scanning the characters in the idx/sub file, and has found a character that it doesn't recognise.

In this example, it is querying the character "A", shown large. In the lower pic. the context of the character is shown.


Type in the correct letter or character (in this case 'A') and click "Add".
(Note: the 'Skip' button changes to 'Add' when you type in the box.)


Posted Image


Subresync stores that information and moves to the next character that it doesn't recognise: 'd'


Posted Image

Fig. 5

3. Type in the correct letter or character ('d') and click "Add"....

(The next character that it doesn't recognise will be ' i ' - SubResync skips the second ' d ' in 'Addic7ed', because it has already "learned" that character shape as 'd'.)

Type in the correct letter or character ( ' i ' ) and click "Add"....

And so on...

As you progress through the file, SubResync "learns" more and more characters, and will soon ripple through the file until it gets to the end.

If SubResync stops on (and queries) a "nothing", like this (Fig.6):

Posted Image

Fig. 6

Simply click "Skip", and move on.


There is no warning or indication that it has finished, other than the appearance of a .srt file where you asked for it to be saved - SubResync just stops when it gets to the end.

***

The above is a simple example, using a perfect, original idx/sub file created for this guide.

In real life, the images are occasionally difficult for SubResync to 'read', because of background colours and patterns. In which case, you have to play around and experiment a little.

For example, there will be times when the OCR will show a "letter-and-a-half" (i.e., a complete character and a portion of the next character) such as:

Posted Image
Fig. 7

This can often happen with italics.

In this case, use the "Extend" button to encompass the whole of the two characters (fi) and type them in as such, and click 'Add'.

If a complete word is shown, then type that into the box.

Remember:
- It's not a perfect tool, and OCR errors can occur.
- More importantly, you are guiding it - what you tell it to 'recognise', it will do so every time that it sees that shape; so if, at the start, you wrongly type, say, 'S' for 'A', for the rest of the document, 'A' will not be questioned, but will be automatically recorded as 'S'.
(This also applies if, after finishing one file - say, an episode of a show - you drag another episode file in, without closing SubResync; the character set is saved in SubResync, and it skips through the next episode, only questioning anything not met in the first conversion.)

- So finish the job with a spell check!

Enjoy.

s.

Important links: Forum Rules. Forum Help.


United%20Kingdom.gif

Never look before you leap, it'll spoil the surprise.


#2 viteo

viteo

    Newbie

  • Members
  • Pip
  • 4 posts
  • Locationct

Posted 02 June 2011 - 03:55 AM

Thanks for the tutorial.

I've used Subresync many times to correct
srt files - timing mostly and found it to be somewhat
of a pain to do that work.

I tried a few times to use Subresync to convert a sub
/index sub into a srt file and never could understand
what the heck was going on with it:
Until reading your tutorial which has caused my brain to
click on.

So thanks again!

#3 alex28

alex28

    Keeper of the Light

  • Administrators
  • 512 posts
  • Locationwww

Posted 02 June 2011 - 10:17 PM

thanks for this!
Changing the world. One subtitle at a time.

#4 Cwluc

Cwluc

    Junior Member

  • Members
  • PipPip
  • 13 posts
  • LocationUS

Posted 28 January 2012 - 02:23 AM

Thanks for this. Now doesn't anyone know what to do if SubResync fails and just stops at say sequence 94 or ~500? I tried a couple attempts and it always stops at the same point and starts spitting out bad timecodes.

#5 SuBtItLiOuS

SuBtItLiOuS

    Newbie

  • Members
  • Pip
  • 1 posts
  • LocationLosAngles

Posted 07 May 2012 - 07:00 AM

Simple and Correct, Thank You




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users