[PLUG-TALK] Information on .srt subtitle file format
John Jason Jordan
johnxj at gmx.com
Mon Aug 8 01:47:23 UTC 2022
I've spent the last couple of hours trying to find out the structure of
a subtitle .srt file and, most importantly tools for reassembling one.
So far, no luck.
My problem is that I have an .srt file which is perfect in every
respect, except the subtitles do not appear when I play the movie.
Looking at the file with any of my various subtitle editors reveals the
problem: For each line the onset time and the end time are reversed,
e.g., for line one the onset time is 0:00:30.280 and the end time is
0:00:02:969. When the player starts the subtitle at 2 seconds and ends
it at 30 seconds nothing appears on the screen.
The file contains about 1250 lines of subtitles. I could manually copy
and rewrite the entries, but that would take a lot of time, not to
mention errors. My thinking is that the data in this file has to be
some kind of database where 'start' is one field and 'end' is another.
Surely there is a way to rename the fields.
Any suggestions?
More information about the PLUG-talk
mailing list