sub2srt is a simple tool to convert 2 common subtitle formats (microdvd
and subrip - both are known as ".sub") to subviewer ".srt" format.
This is the format ogmmerge accepts for multiplexing into ogm streams.
In Version 0.5.3 I added support for 2 variants of another subtitle format. (I called it "txtsub" for now since I don't know the real name.)
A brief description of all supported formats.
This is Beta Software!
Use it at your own risk! It works fine with several files I've got, but
it may fail with your's.
It's a quick hack written without any docs about the file formats - I
just had a look how the files look like.
Please report bugs, problems, patches... to sub2srt at robelix.com or in the comments section below
What it does not:
It does not - and will never - convert DVD-subtitles or vobsub.
Google on if you need this ;)
Download:
Current beta version: sub2srt-0.5.3.tar.gz - 11 kB - 15 Jan 2005 - (another input format supported, ntsc fixes, prompt to overwrite)
Old Versions: sub2srt-0.5.2.tar.gz - 9.8 kB - 10 Nov 2003 - (fps option now accepts non-integer values, added ntsc option) sub2srt-0.5.1.tar.gz - 9.7 kB - 31 Aug 2003 - (Bugfix in the microdvd conversion routine) sub2srt-0.5.tar.gz - 9.6 kB - 26 Aug 2003 - (Initial release)
Installation:
Not necessary ;) - it's just a single perl-script.
But you may want to copy sub2srt to a directory that's in your $PATH -
like /usr/local/bin or /usr/bin.
If you are running Gentoo, you'll find my ebuild in portage.