[MPlayer-users] extracting subs

Martin Collins martin at mkcollins.org
Mon Nov 1 19:33:10 CET 2004


On Mon, 1 Nov 2004 17:35:55 +0100
rago at poisson.phc.unipi.it (Emiliano Rago) wrote:

> I would convert dvd subtitles in a file in .srt format.
> To do this I did:
>  
>   mencoder dvd://1 -oac copy -ovc copy -o movie.avi -vobsubout
>   subtitle
> 
> This command create the files movie.avi, subtitle.idx and
> subtitle.sub Then I did:
>  
>    mplayer movie.avi -sub subtitle.sub -dumpsrtsub
> 
> This should create (I think...) a file  dumpsub.srt ,
> but this don't happens.
> What's is wrong ?

DVD subtitles are bitmap images not text. .srt format is a plain
text file. To convert DVD to .srt you need to OCR them.
Since you plan to translate them anyway you might as well just view
the movie and type your translated subtitles in a text editor.
Google for the correct format.

Martin




More information about the MPlayer-users mailing list