/sub2srt

subtitle converter

Primary LanguagePerlGNU General Public License v2.0GPL-2.0

sub2srt  - Convert subtitles from ".sub" to SubRip ".srt" format


(c) 2003-2005 Roland "Robelix" Obermayer <roland\@robelix.com>
Project Homepage: http://www.robelix.com/sub2srt/


sub2srt is a simple tool to convert 2 common subtitle formats (MicroDVD
and SubViewer - both are known as ".sub") to SubRip ".srt" format.
This is the format ogmmerge accepts for multiplexing into ogm streams.
This format is also used by mkvmerge for multiplexing into mkv streams.


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@robelix.com


What it does not:
-----------------
It does not - and will never - convert DVD-subtitles or VobSub.
Google on if you need this ;)


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.


Usage:
------
Run sub2srt --help to get more info.


Requirements:
-------------
Perl


License:
--------
GPL 2
Have a look to the file COPYING included in the archive.


Changelog:
----------
01 Aug 2015: PhobosK
 * sub2srt-0.5.6
 - Fixed character encoding conversion using Encode instead of piconv
 - Fixed subtitle naming mix-up
 - Fixed some spelling mistakes

10 Dec 2014: Toni Ahola
 * sub2srt-0.5.5
 - Added support to encode output with piconv

02 Nov 2013: Krzysztof Trybowski
 * sub2srt-0.5.4
 - Added support for 2 input formats "mpl2" and "tmp"

15 Jan 2005: Roland Obermayer <roland@robelix.com>
 * sub2srt-0.5.3
 - Added support for a third input format "txtsub"
 - Prompt if overwriting files
 - Several minor changes

11 Jan 2005: Panayotis Katsaloulis <panayotis@panayotis.com>
 - Handle both types of NTSC frame rate, as a convenient command line option
 - Fixed a bug in the actual NTSC framerate

10 Nov 2003: Roland Obermayer <roland@robelix.com>
 * sub2srt-0.5.2
 - The fps option now accepts non-integer values
 - Added ntsc option

31 Aug 2003: Roland Obermayer <roland@robelix.com>
 * sub2srt-0.5.1
 - Bugfix in the MicroDVD conversion routine

26 Aug 2003: Roland Obermayer <roland@robelix.com>
 * sub2srt-0.5
 - Initial release