Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 http://sourceforge.net/projects/cmusphinx/forums/forum/5471/topic/3949891 In addition, one subtitle tool is aware of this CMU Sphinx feature, http://groups.google.com/group/universal-subtitles-testing/browse_thread/thread/613361ffb921b43b (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
add comment

5 Answers 5

up vote 2 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

Update:
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
1  
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 docs.aegisub.org/manual/…. –  Pit Jan 31 '11 at 12:14
add comment

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

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

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.

Then,

  1. Add the video to http://www.universalsubtitles.org/ 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 at 0:26
    
It's surprising that YouTube can automatically generate (rough) subtitles, but there's apparently no program which can. –  Garrett Mar 28 at 1:21
add comment

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
add comment

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
add comment

protected by Braiam Mar 28 at 4:14

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

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.