[MPlayer-dev-eng] Convert Vobsub subtitles to subrip

Kim Minh Kaplan kmkaplan at selfoffice.com
Sat Jul 20 19:34:35 CEST 2002


Hello,

I am working on using GOCR/JOCR¹ to convert Vobsub subtitles to Subrip
format.  To do this, you need to first apply the attached patch to
vobsub.c.  Then define the path to your GOCR program at the top of
subrip.c and use it.  Use a recent version of GOCR for better results.

For the moment the changes to vobsub.c is a big kludge and I will not
commit it like that, but really change the stream_* functions into
standard IO calls.

Also can I add TOOLS/subrip.c into CVS?

Comments are welcome.

Kim Minh.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vobsub.patch
Type: text/x-patch
Size: 2469 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20020720/0aed613f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: subrip.c
Type: text/x-csrc
Size: 5312 bytes
Desc: Vobsub to subrip converter
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20020720/0aed613f/attachment.c>


More information about the MPlayer-dev-eng mailing list