[MEncoder-users] Re: Subtitle-woes

Fredrik Eriksson feffese at yahoo.se
Fri Mar 17 20:00:29 CET 2006

Hynek Schlawack wrote:
> Dominik 'Rathann' Mierzejewski <dominik at rangers.eu.org> writes:
>>>> Try:
>>>> mencoder dvd://1 -sid 0 -vobsubout subtitle -ovc copy -oac copy -o
>>>> /dev/null
>>> Thanks a lot, that did the trick! Now I've got only to get it converted
>>> to .srt and I'm happy. :)
>> It's not something that you can do using mencoder/mplayer. I'd try SubRip
>> with wine.
> Wow, does it mean that it's impossible to convert DVD-subtitles into a
> common format on Linux? I guess there's some major gotcha that noone has
> changed this so far?

Not the best tools, but you can check 
out subtitleripper 
), then you can convert it to srt, by 
doing something like:

$ vobsub2pgm -o english -c 255,255,0,255 

where subtitle is the basename of the 
subtitlefiles. This will create one pgm 
image for each subtitle. Then convert 
the pgm images to srt subs like this:

$ pgm2txt english && srttool -s -w < 
english.srtx > english.srt

if you want to convert the srt to ssa 
subs or something else you could try 
sabbu (http://www.sabbu.com/ ). But as 
far as I know it doesn't work very well.

so it can be done in linux, just not 
with mplayer/mencoder.

Fredrik Eriksson

More information about the MEncoder-users mailing list