[MPlayer-users] extracting subs
D Richard Felker III
dalias at aerifal.cx
Mon Nov 1 23:03:55 CET 2004
On Mon, Nov 01, 2004 at 06:33:10PM +0000, Martin Collins wrote:
> 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.
You could use the .idx file to get the right timestamps though. :)
rich
More information about the MPlayer-users
mailing list