Jump to content
cotswoldmark

Subtitles imported from .SRT have zero timings

Recommended Posts

Hi - hope this is an easy one.

I've imported an .SRT file for subtitles.  The import is mostly successful - all subtitles come in, but the show and hide times are shown as 0:00:00.000

My file is in the following format (but I've tried several without any luck).  Any help appreciated

1
0:00:00.000 ==> 0:00:01.590
Welcome to my video

2
0:00:02.000 ==> 0:00:09.590
I'm going to show you how to change a lightbulb

Share this post


Link to post
Share on other sites

Hi

They look OK.

"Welcome....."  Starts at zero time (start of clip) and stops at 1.5 sec     "I'm going"......." starts at 2.0 sec and finishes at 9.59 sec

Can't see any zeros apart from the first.

VP 6.29    This example was saved from VP as  an .SRT file and reloaded back to a different clip exactly as saved..... Show and hide times have not altered.

aa.jpg

  • Start at zero finish at 1.59 sec
  • Start at 2.0 and finish at 5.0 sec (End of clip)

Was the subtitle file created with VP?  If it was created with a different editor the timings will probably be different. You can alter them in VP using the start and finish markers after highlighting the particular subtitle in the list.

Nat

Share this post


Link to post
Share on other sites

Hi

SRT file for my example above generated with VP 6.29 uses --> as well as indicating font color...

001
00:00:00,000 --> 00:00:01,590
<font color='#FFFFFF'>Welcome to my video</font>

002
00:00:02,001 --> 00:00:10,804
<font color='#FFFFFF'>I'm going to show you how to change a lightbulb</font>

This was Copy/Paste of the file but did you retype yours?  using  ==> ?

Nat

 

 

Share this post


Link to post
Share on other sites

Also, the format for timestamps should be:

hours:minutes:seconds,milliseconds 

Note the comma!

So really your file should look like:

1
0:00:00,000 --> 0:00:01,590
Welcome to my video

2
0:00:02,000 --> 0:00:09,590
I'm going to show you how to change a lightbulb

Also make sure to put two blank lines at the end of the file, or else it doesn't seem to load the last subtitle. I don't think this bit is a requirement of the SRT standard and is probably just a VideoPad quirk. I should check if this is a bug or not.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×