Super User is a question and answer site for computer enthusiasts and power users. 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

Some movies I download legally, contain embededd subtitles. I would like ego extract them as text files(.srt, .sub, etc) in order to view the movie on a samsung tv, which needs separate files for both movie and subtitles. I tried with VLC bout found no way to extract them, do you know about any other way? Preferably for OSX.

share|improve this question
Don't have much idea about video formats but I guess the only way you can extract the subtitles is if the video is in a container format along with the subtitles. I might be totally off track but you could try googling along these lines. – Shekhar Feb 20 '12 at 9:56
You of course realize that some subtitles are burned-in, e.g. they are part of the picture and there is no way to extract them? Are you sure this is not your case? – haimg Feb 20 '12 at 15:09
Yes, i know that – flow Feb 20 '12 at 20:59
up vote 1 down vote accepted

If your video happens to be in mp4 format then for example MP4Box can be used to demux (extract) the different types of streams (video, audio, subtitles) from it. This works only if subtitles are not actually "burned" on the video image (easy test - can you turn them off in your player? If yes then all should be well).

share|improve this answer
could you please help me? thanks – flow Feb 24 '12 at 21:45
I have used MP4box via a GUI, both of which are Windows only. A quick look at the command line documentation here shows that possibly -srt command line option should do the trick "-srt TrackID : dumps text track to SRT format." Do find out the TrackID the "-info : prints some file information. File can be an IsoMedia file or any file supported by MP4Box for import." would be my first guess. – Rainer Feb 25 '12 at 22:04

For mp4 files I use MyMp4BoxGui from This is a Windows tool which will separate the different tracks in an MP4 file including subtitle tracks, if present.

  • Launch MyMp4BoxGui.
  • Click Demux tab.
  • Click "Open" button and select mp4 file.
    • Will show video, audio file and "timed text" (subtitles) if present.
  • Click checkbox for timed text item.
  • Click "Demux" button.
    • Will process mp4 file to .srt in mp4 file directory.

Unfortunately, many video files (esp. DVDs) store subtitles as bitimages. Extracting these as text for a .srt file requires an OCR process. Google SubRip for one solution.

If you're dealing with a video which is a movie, you might be better off not trying to extract subtitles from your video files. Instead go to a site like and download a srt file in the desired language for your video. If there is more than one subtitle file, you'll have to try them until you find one that best syncs with your file. Or use a program like Subtitle_edit, to tweak the sub file.

share|improve this answer

On the other hand if your subtitles (or anyone else's who happens to read your question from now on for that matter =) are hardcoded i.e., embedded in your video file, which is often the case with AVI files for instance. It's also possible to extract them but you will need to proceed with OCR (Optical Character Recognition). SubRip for instance, there are others. The extraction that way takes much more time, because of the numerous computations involved by OCR (several filters must be applied to extract any "useful information", timecodes, ... then it's simple OCR as each frame may be processed as a picture) and the results depend of your video (are the subtitles outlined ? how readable/legible is the font used to display them ? are they displayed directly on the video or is there some stationary background ? ...)

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .