I wanted to correct a subtitle track whose delay changed from the beginning to the end. Moving every caption by the same amount would line up one point and leave the other wrong.
I worked through a 20-caption sample SRT with two supplied reference points. The first caption started at 10 seconds but needed to start at 12. The last started at 200 seconds but needed to start at 205.8. A two-second delay would fix the beginning and still leave the last reference point 3.8 seconds early.
I asked Tiiny to calculate a single timing adjustment for this steady drift, apply it to every start and end time, and keep the caption numbers and wording unchanged.
The adjustment changed more than the delay
Tiiny calculated a time scale of 1.02 and an offset of 1,800 milliseconds:
New timestamp in milliseconds = 1.02 × old timestamp + 1800
That formula puts the first start at 12,000 ms and the last at 205,800 ms. It also adjusts each caption's end, so a four-second caption becomes 4.08 seconds long.

I wanted the complete track back, rather than a formula I would have to apply to twenty captions myself. Tiiny returned all twenty entries. These were three of the results:
Caption | Original start | Corrected start | Original end | Corrected end |
|---|---|---|---|---|
1 | 00:00:10,000 | 00:00:12,000 | 00:00:14,000 | 00:00:16,080 |
10 | 00:01:40,125 | 00:01:43,928 | 00:01:44,125 | 00:01:48,008 |
20 | 00:03:20,000 | 00:03:25,800 | 00:03:24,000 | 00:03:29,880 |
The final text matched the independent timing reference at all forty start and end points. The caption IDs and wording stayed unchanged. The archived SRT was reconstructed from Tiiny's displayed answer, rather than downloaded as a file from the app.

This calculation assumed steady drift across an uninterrupted track. A cut or a sudden timing jump would need its own correction. I had the adjusted subtitle text; I would still need to check it against the video before using it.
No comments yet.