Import txt subtitles causing way too long repeated text blocks

Shimager wrote on 5/25/2022, 5:34 PM

My idea was to use a subtitle import from txt with all text available as good txt. This from the menu Insert > Insert Subtitles from File in Vegas Pro 18 (Build 527). However by some strange reason the default text element becomes 10 seconds, but each text block is then repeated for one hour, so the 19 text lines suddenly take 19 hours! My clips only took 7 minutes... How to secure that each line only last 3 seconds? My Preference > Editing > New still image length is already on 3 seconds but this seems not related to txt import.... Anyone a clue on txt subtitle import? All help is appreciated as now 19 lines can be still inserted manually with lots of individual editing and copy past actions, but in future this labour intensive approach is undesirable, so reason to understand what must be done.

Comments

RogerS wrote on 5/26/2022, 4:18 AM

The formatting of the srt fie must be in error. How was it created? Feel free to share an example of a few lines.

Shimager wrote on 5/30/2022, 3:23 PM

Hello @RogerS. Thnaks. It was not srt but plain text file txt, like:

Subtitle with some words line 1
Subtitle with some words line 2
Subtitle with some words line 3

With this all subtitles came in but way too long in time. No clue how this time can be limited...
Looking to get them all 5 s or so, after which I can position them by hand and do the time tuning in Vegas, not as time code in srt...

Is that anyhow possible to get them imported short?

 

RogerS wrote on 5/30/2022, 5:24 PM

It needs timecode for Vegas to have any idea what to do with them. Try generating it with a spreadsheet using 5s duration for each.

FayFen wrote on 5/31/2022, 1:26 AM

https://www.speechpad.com/captions/srt

Shimager wrote on 5/31/2022, 4:39 PM

I seem a bit lost as I now tried txt, csv and srt formats something like:

1
00:00:00,000 --> 00:00:05,000    
Line 1
                        
2
00:00:05,000 --> 00:00:10,000    
Line 2
                        
3
00:00:10,000 --> 00:00:15,000    
Line 3
                        
4
00:00:15,000 --> 00:00:20,000    
Line 4
                            
5
00:00:20,000 --> 00:00:25,000    
Line 5

It still does not work.

Also default lines according to Vegas helpfile

Click the Browse button to open a file, you can use the TXT or CSV file format:

If you use a simple .txt file containing only the desired subtitles, a title event is created from every line in the file. The events start from the beginning of the project and have a default length of 5 seconds each.

does not work...

FayFen wrote on 6/1/2022, 2:16 AM
1
00:00:00,000 --> 00:00:05,000
Line 12

00:00:05,000 --> 00:00:10,000
Line 23

00:00:10,000 --> 00:00:15,000
Line 34

00:00:15,000 --> 00:00:20,000
Line 45

00:00:20,000 --> 00:00:25,000
Line 5

and now?

You must be careful not to save as .txt but as "all files" .srt

I don't see how to test it on my VMS16P but my other NLE got it right.

Shimager wrote on 6/1/2022, 4:53 PM

@FayFen Thanks. It first did not work either. I got "The file you imported either has incorrect information or is improperly formatted". So I tried:

1
00:00:00,000 --> 00:00:05,000    
Line 1    
                        
2
00:00:05,000 --> 00:00:10,000    
Line 2
                        
3
00:00:10,000 --> 00:00:15,000    
Line 3
                        
4
00:00:15,000 --> 00:00:20,000    
Line 4
                            
5
00:00:20,000 --> 00:00:25,000    
Line 5    

Strangely enough it now works, but it now skips the first block. Otherwise they now go OK as for timing . What seems different from what I did before?
Then it keeps remarkable that Vegas 16 does show that txt option as mentioned above. That would make the time code unnecessary... But OK, when adding the first block manually they all get in place. Acceptable workaround for now, but it feels buggy from Vegas Pro...

FayFen wrote on 6/2/2022, 1:28 AM

Your code has many "extras" mine doesn't

I don't know why but it might effect your fault.