SRT subtitles format
DVD-Software.info Forum Index DVD-Software.info
Your one stop source for DVD Software
 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
SRT subtitles format
 
Post new topic   Reply to topic    DVD-Software.info Forum Index -> DivX
Author Message
Alx
Guest





Posted: Sat Apr 09, 2005 2:17 pm    Post subject: SRT subtitles format Reply with quote

I am trying to build a small application to manipulate .SRT files - to
change fps, offset ... (I know there are many apps like that around,
it's just an excuse to code)
but I was unable to find a description of the SRT format:

.....

2
00:00:21,664 --> 00:00:25,200
At the end of a war
which lasted 50 years

3
00:00:25,235 --> 00:00:29,784
The Great Asian Federation has
defeated the European Federation

.....

all is obvious, apart from the 664, 200, 235, 784 indices - any hint?

Thanks!

Alessandro Magni

Back to top
Billy Joe
Guest





Posted: Sat Apr 09, 2005 10:55 pm    Post subject: Re: SRT subtitles format Reply with quote

In ref: 38d4c7d4.0504090217.e6c41f4@posting.google.com

Alx <nenamiele@libero.it> wrote:

Quote:
I am trying to build a small application to manipulate .SRT
files - to change fps, offset ... (I know there are many apps
like that around, it's just an excuse to code)
but I was unable to find a description of the SRT format:

....

2
00:00:21,664 --> 00:00:25,200
At the end of a war
which lasted 50 years

3
00:00:25,235 --> 00:00:29,784
The Great Asian Federation has
defeated the European Federation

....

all is obvious, apart from the 664, 200, 235, 784 indices -
any hint?

Thanks!

Alessandro Magni

Thousandths of seconds.

i.e from 21,664/1000 to 25,200/1000 (or 21.664 seconds to 25.2
seconds)

Can't determine the frame rate tho, as 25,200 to 25,235 is not
a modulus match to 29.97 or 25 fps?? (tho I'd lean toward 25
fps as being the source) So, I gather that the display of
subtitles in the SRT format is time zero, rather than frame
rate, dependant??

BJ
Back to top
Jan Panteltje
Guest





Posted: Sun Apr 10, 2005 12:55 am    Post subject: Re: SRT subtitles format Reply with quote

On a sunny day (Sat, 9 Apr 2005 11:55:42 -0700) it happened "Billy Joe"
<see.sig@invalid.org> wrote in <v8qdnTLxuLK6uMXfRVn-hQ@adelphia.com>:

Quote:
In ref: 38d4c7d4.0504090217.e6c41f4@posting.google.com

Alx <nenamiele@libero.it> wrote:

I am trying to build a small application to manipulate .SRT
files - to change fps, offset ... (I know there are many apps
like that around, it's just an excuse to code)
but I was unable to find a description of the SRT format:

....

2
00:00:21,664 --> 00:00:25,200
At the end of a war
which lasted 50 years

3
00:00:25,235 --> 00:00:29,784
The Great Asian Federation has
defeated the European Federation

....

all is obvious, apart from the 664, 200, 235, 784 indices -
any hint?

Thanks!

Alessandro Magni

Thousandths of seconds.

i.e from 21,664/1000 to 25,200/1000 (or 21.664 seconds to 25.2
seconds)

Can't determine the frame rate tho, as 25,200 to 25,235 is not
a modulus match to 29.97 or 25 fps?? (tho I'd lean toward 25
fps as being the source) So, I gather that the display of
subtitles in the SRT format is time zero, rather than frame
rate, dependant??
Yes, it is time.

I think it will appear in the next frame that comes up.
In that way it is quantized.
Back to top
Séverine
Guest





Posted: Fri Apr 15, 2005 10:45 pm    Post subject: Re: SRT subtitles format Reply with quote

:-)

Duration of subtitles is often calculated, based on the number of
words/letters. That's why you often get end times that don't coincide with
frames. I believe SubRip itself offers such a function...
Also, don't forget the 23.976fps framerate (24fps films copied from American
NTSC television).

I think SubRip comes with a file describing the SRT format. Anyway, the
format also uses the HTML-style <i> and </i> tags for italics;
you can use them around a whole line, or for a few words in the middle of a
line.

Marc.
Back to top
Séverine
Guest





Posted: Wed Apr 20, 2005 12:05 am    Post subject: Re: SRT subtitles format Reply with quote

:-)

"Séverine" wrote
Quote:
I think SubRip comes with a file describing the SRT format. Anyway, the
format also uses the HTML-style <i> and </i> tags for italics;

Please read that as <i> and </i>

Marc.
Back to top
 
Post new topic   Reply to topic    DVD-Software.info Forum Index -> DivX All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Office Forum Access Forum Exchange Server

Powered by phpBB