PDA

View Full Version : Export open/close timings from idx/sub file to srt


ItsaCookbook
16th March 2008, 12:04
I have been searching for an answer to this for a while and cannot find exactly what I am looking for.

Here is the scenerio.

I have an srt created from the idx/subs. The only thing is that the srt has slightly different timings then the idx/subs. The titles are in sync, just not exactly the same as the idx. I would like it to be the same as the idx timings.

The timings of the idx and srt are all in real time, so changing framerates does not work. I have also changed the beginning of movei sub line and end of movie line of the srt timings to match the idx ones and let a program do the crunching, and that didn't work.

The only somewhat solution I have come up with so far is using subtitle creator and the synchronization function. I load the srt, then the idx timings. After that, SC takes me to a menu that allows me to sync exact timings of both srt to idx.

The only problem with this is that it only syncs the open timing of a sub line, not the close timing. The close timing of an individual subtitle does change, but not to the idx value. I don't see why it doesn't change to the value in the reference subtitle.

Is it possible to transfer exact copies of timings from idx to srt?
And is there a program that can do this that doesn't require human input on each line?

I just don't want to do have to retype the subs again, and have this happen another time.

Thanks alot

manusse
16th March 2008, 12:30
Hi,

To my knowledge there is no closing time in the idx file but in the associated sub file. Do you also have the sub file?

Cheers
Manusse

ItsaCookbook
17th March 2008, 02:03
There is no closing time listed in the idx file, but in subtitle creator it lists one. Its the same weather I load the idx or sub file.

So here is an example of what happens

line 1

2:22,359->2:24,282 wants to sync 2:22,980->2:24,777

I do the sync, and the out put is

2:22,359 -> 2:24,282 and 2:22,359 ->2:24,156

The closing time does not sync.

manusse
17th March 2008, 20:29
There's no real way to do what you wish fully automatically.
The only thing I can think about is open SubtitleCreator. Choose Tools->Translate SUP or VOBSUB to SRT. Then fill all the fields, click on OK and Continue... then save the empty SRT file. This will give you an empty srt file with the correct timings extracted from the idx file. Just check that the start timings are conform to the idx file as there is a small timing bug in SC to be sure that your file is correct.

Then you have to fill all the empty lines with your subs and I don't really know how you can do it. I think I would try to do it using MSWord and tables and multiple replace...

Cheers
Manusse

ItsaCookbook
18th March 2008, 06:35
Thanks manusse.

I think that is the only way to do it.

I did the translate vob to srt-> to get the timings.

Opened subtitle workshop and used the function "adjust timings to synchronized subtitles". Opened the correct timings and pressed sync. I got the same closing/hide times as doing the sync in subtitle creator!

Why does it do this? There must be something standardized that is going on if it gives the same closing/hide subtitle line times in both programs.

So i think manually entering in the times is the only way to go :(

If anyone has anymore ideas I would be very grateful!

ItsaCookbook
20th March 2008, 01:04
Success!

So here is what I did

1) Used Subtitle Creator to load idx/sub timings. Used the "translate vobsub or sup file" function under tools. Create a new srt file.

May need to make a text document and rename it to srt, then output to that. Subtitle creator can sometimes not make a new file when the "create a new file" is checked.

Input a single letter in each line. It is easier to see any missed lines when scrolling if the same letter is used. Just do an alternating letter-> enter tap tapping until lines are full
(May be an easier way?)

press OK. Do not press save!

save srt file with new correct timings.

2) open the original srt with the language lines in Subtitle Workshop. Select "read timings from file". Input the srt with the correct timings.

Save the new srt file! with correct timings!


Thanks for the help