M
M
mypallmall2011-12-20 21:55:41
Video
mypallmall, 2011-12-20 21:55:41

How to automate the creation of subtitles, if there is a transcript with the time the beginning of each phrase? (Lynda.com)?

The situation is this.
There is a transcript with the start time of each phrase. You need to sync it with the course videos.
Transcript example:
00:04 Hello, and welcome to Web Form Design Best Practices.
00:07 Now we're taking a detail dive into what makes web forms tick and even looking
00:11 at a couple of to gather information from people without using web forms at all.
00:15 So if you're interested in boosting conversion while delighting your customers,
00:19 this is the course for you.
00:21 At the beginning, we'll quickly look at why web forms matter.
00:24 From commerce, to community to information gathering, web forms play a crucial
00:29 role on the web and the details in web form design can have a really big impact.
00:34 Next, we'll take a look at how we organize web forms;
The text of the transcript is in a .txt file, the question is how to simplify and speed up its conversion to .srt as much as possible?
An example of a course with a transcript on the rutracker Web Form Design Best Practices
I tried several programs - nothing happened.
Maybe there are some easy-to-use scripts?
There are a great many courses and doing it all by hand is absurd.
Another question, if someone tells you how to speed up the download of videos from Lynda.com, it will be very good.
Whatever, do not download each video separately, and then manually rename it.
And, put the entire course on download.
Although the latter should probably be asked a separate question.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
ag666, 2011-12-23
@mypallmall

I have a tool, which is from a file with this content (lines with a separator between time and text in the form of 1 tab - only such lines, no others will work): Makes a file with this content (srt - completion of the last line in 5 seconds always, well, in the case of long pauses - the line before the pause - 5 seconds always lasts):
00:04 Hello, and welcome to Web Form Design Best Practices.
00:07 Now we're taking a detail dive into what makes web forms tick and even looking
00:11 at a couple of ways to gather information from people without using web forms at all.
00:15 So if you're interested in boosting conversion while delighting your customers,
00:19 this is the course for you.
00:21 At the beginning, we'll quickly look at why web forms matter.
00:24 From commerce, to community to information gathering, web forms play a crucial
00:29 role on the web and the details in web form design can have a really big impact.
00:34 Next, we'll take a look at how we organize web forms;

1
00:00:04,000 --> 00:00:07,000
Hello, and welcome to Web Form Design Best Practices.
2
00:00:07,000 --> 00:00:11,000
Now we're taking a detail dive into what makes web forms tick and even looking
3
00:00:11,000 --> 00:00:15,000
at a couple of ways to gather information from people without using web forms at all.
4
00:00:15,000 --> 00:00:19,000
So if you're interested in boosting conversion while delighting your customers,
5
00:00:19,000 --> 00:00:21,000
this is the course for you.
6
00:00:21,000 --> 00:00:24,000
At the beginning, we'll quickly look at why web forms matter.
7
00:00:24,000 --> 00:00:29,000
From commerce, to community to information gathering, web forms play a crucial
8
00:00:29,000 --> 00:00:34,000
role on the web and the details in web form design can have a really big impact.
9
00:00:34,000 --> 00:00:39,000
Next, we'll take a look at how we organize web forms;

E
Eddy_Em, 2011-12-21
@Eddy_Em

The script can be rolled up: we read the first field into the time variable, the second into the string variable (moreover, you need to remember the previous values, i.e. the very first run will not write anything); together with this we start the counter N; increment N, write it to a file, then write start time --> end time and text.
Roughly speaking, like this:

#!/bin/sh
N=0
time0=""; string0=""
while read time string
do
  if [ "$time0" != "" ]; then
    N=$[N+1]
    echo -e "$N\n$time0 --> $time\n$string0\n" >> sub.srt
  fi
  time0=$time; string0=$string
done < sub.txt
echo -e "$N\n$time0 --> end\n$string0\n" >> sub.srt

it remains only to manually replace the word end with the end time of the last line of the subtitle.
Yes, if the time has to be converted to another format, it would be better to use some other scripting language.

E
Eternalko, 2011-12-20
@Eternalko

> The text of the transcript is in the .txt file, the question is how to simplify and speed up its conversion to .srt as much as possible?
alternativeto.net/searchresult.aspx?search=subtitle
If the software for subtitles didn't help, I suggest using Excel ;)
Well, or write a script
>What would it be, not to download each video separately, and then manually rename it.
1) Download Master
2) Opera has a Links tab in the sidebar. Just search for something like video/.wmw select and right click Download all

J
jj_killer, 2011-12-21
@jj_killer

It seems to me that the transcript data is not enough to construct subtitles, since the time is indicated to the nearest second, and not to tenths, and there is no time for the end of the phrase. I'm afraid that the subtitles collected from this can greatly complicate perception.

@
@ngreduce, 2011-12-21
_

Purely theoretically, if you arm yourself with some software for speech recognition, you can supplement existing information. But this is just a theory.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question