Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a video that I want to create subtitles for. Is there a program that can perform rudimentary speech-to-text in order to

  1. set the correct start/stop of each individual subtitle
  2. create rudimentary text subtitles (using some sort of speech-to-text)

I know about gnome-subtitles. However, it requires extensive effort to create those subtitles manually. You need to select yourself the start and stop for each sentence.

Youtube has the above features (creates rudimentary text subtitles at the correct timings, using speech-to-text). However I would rather not upload the videos to Youtube just to get my subtitles. Is it possible to do the subtitles efficiently in Ubuntu?

Update: I plan to use the .srt subtitles only, and do not need to hard code them on the videos. My biggest requirement is to have the program automatically find the start/stop for each sentence, so that I write the text in it.

Update #2: There is Speech-to-Text software for Linux, with the CMU Sphinx package. It is possible to use CMU Sphinx with a subtitle program according to In addition, one subtitle tool is aware of this CMU Sphinx feature, (web based tool), however there is no reference in the latest source code that they added CMU Sphinx. The quest continues to find a program that uses CMU Sphinx for rudimentary speech to text (which would set the correct timings as well), as Youtube already does.

share|improve this question
there's an application called magpie that does something like this I think. – RolandiXor Jan 31 '11 at 4:11
up vote 3 down vote accepted

I used Aegisub on Windows some years ago, and was really happy with it. Apparently it is available for Linux. It is pretty self explaining.

Aegisub only creates the subtitles file, e.g an .srt file. To combine the video and the subtitle to create a hard-coded subtitle you still need to use a second program.
On Windows I used VirtualDub, but it is not available for Linux. You might find a suitable program on wikipedia.

There are also other subtitle-editors

I don't remember Aegisub having a functionality to automatically set beginning and end of a spoken sentence in the subtitles file. And I don't see a mention of such a function anywhere on the site. It is however with (key-combinations) pretty easy to set those times manually.

Is there even any program which has such a function (in any OS)?

share|improve this answer
I too used Aegsub on Windows, I didn't realize it was available for Linux.. thanks Pit :) ... Aegsub is a very competent subtitler... its default format is ASS (a evolution from SSA .. Sub-StationAlpha format) .. it handles Unicode and has special tools for preparing Karaoke text.... – Peter.O Jan 31 '11 at 11:56
Thanks for Aegisub. I am trying to figure out the workflow for this program. Can it scan the whole video and create the timings for each subtitle sentence? It does not appear to have a speech-to-text feature. – user4124 Jan 31 '11 at 12:01
You might want to read…. – Pit Jan 31 '11 at 12:14

I personally like Gnome Subtitles it is available in the repositories.

sudo apt-get install gnome-subtitles
share|improve this answer

I did not find a way to get the subtitle program to automatically add rudimentary subtitles, by analysing the voices in the video.

Therefore, the alternative that I use is

  1. Upload the video to Youtube (for example, privately) and use the in-build facility to create automatically rudimentary subtitles.


  1. Add the video to and create manually the timeframes for each sentence, if the automated way in Youtube did not work, or sentences are mising.
  2. Use GNOME Subtitles (found in the Software Center) in order to clean up the subtitles and fix any timings.
share|improve this answer
This answer seems to be the most relevant to the question of automatically generating the subtitle files. – Garrett Mar 28 '14 at 0:26
It's surprising that YouTube can automatically generate (rough) subtitles, but there's apparently no program which can. – Garrett Mar 28 '14 at 1:21

Ok, found some tool which looks nice and similar to subtitle workshop - subtitle editor (apt-get install subtitleeditor).

Tried to compare it to Gnome Subtitles, subtitle editor looks more advance tool.

share|improve this answer

For KDE, a good subtitle editor is subtitlecomposer. Install it with the command

sudo apt-get install subtitlecomposer

or using the link subtitlecomposer Install subtitlecomposer

share|improve this answer

protected by Braiam Mar 28 '14 at 4:14

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.