Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 am working in Linux (Ubuntu)
I tried to do it with ffmpeg and mkvtoolnix (mkvextract track)

ffmpeg does not work with S_VOBSUB encoded subtitles
mkvtoolnix converts S_VOBSUB to .idx/.sub (See Doc)

I am preparing an auto-extraction shell script, so command line solutions is what I am looking for. Thanks. :)

share|improve this question
You might be able to use the sub2srt script? – slhck Jan 23 '13 at 18:37
Hi @slhck, thanks. I copied the script file into my local bin... but when I try to convert, it says "Could not detect xxxxx.sub format!" . But in the file properties I can see it is microDVD. (File comes from doing an extraction with mkvextract) – Mark Tower Jan 23 '13 at 18:59
The problem is that the script works with .sub version 2.0 (most extended) but extractmkv generates another version of .sub I will be looking for another script. [Based on text seen here: (Bottom-Right Pharahraph)] – Mark Tower Jan 23 '13 at 19:05
Ah… FFmpeg should be able to decode MicroDVD subtitles. Too bad VobSub and MicroDVD use the same file suffix, so sub2srt won't work. Do your files come from Handbrake? You could try choosing SSA subtitles instead of VobSub, which FFmpeg should be able to read and encode to SRT (ffmpeg -i input.mp4 -an -vn – slhck Jan 23 '13 at 19:38
The best way :) – Mark Tower Jan 23 '13 at 19:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.