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

© 2003-2005 Roland "Robelix" Obermayer

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.
Win Installation manual - Thanks to Roberto Inzerillo!

Usage:

Run sub2srt --help to get more info.

Requirements:

Perl

License:

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

ToDo:

* Add support for more input formats
* Timeshift, Checks, Regex-Replace...


Comments:

Messages 1 - 5 of 8

[ 1 ] [ 2 older messages >>

[Add New]

Mon, 25.Apr.2005 20:56, HOW TO USE A SUB2SRT converter ???? from Chale [Mail]

this is not a file to install... how does it works ????? HHHEEEEELLLLPPPPP

[reply]

Sat, 27.Aug.2005 2:35, Re: HOW TO USE A SUB2SRT converter ???? from ed [Mail]

DL a PERL client and u can run this

[reply]

Mon, 7.Feb.2005 12:09, conversion from alberto [Mail]

I'm trying to convert the txtsub (obtained from TitleLab exports
as Quicktime text) into .srt, but sub2srt keeps saying it can't
recognize the format... (I'm using the 0.5.3. version on OS X
10.3.7).

[reply]

Sat, 12.Mar.2005 13:37, Re: conversion from reuben

i'm getting the same error!

tia

[reply]

Mon, 25.Jul.2005 10:35, Re: Re: conversion from knorke [Mail]

same problem here.
vobsub file created by mencoder

knorke $ file subtitles_de.*
subtitles_de.idx: ASCII text
subtitles_de.sub: MPEG sequence, v2, program multiplex
knorke $ sub2srt subtitles_de.sub
Could not detect subtitles_de.sub format!

:(

[reply]

Wed, 31.Aug.2005 20:41, Re: Re: Re: conversion from robelix

How often do I need to say this?

If you have an .idx file then it's VOBSUB.
sub2srt does not and will not support this.

[reply]

Tue, 1.Feb.2005 23:47, Colors from Kyori [Mail]

Sub files has Colors and tags like {c:xxxxxx} and in srt files aren't recognized like colors but like text... i hope you can fix that....

THANX FOR THE SCRIPT, IS REALLY USEFULL!!!!

[reply]

Wed, 2.Feb.2005 18:23, Re: Colors from robelix

Afaik srt does not support this.

[reply]

Sun, 22.May.2005 17:56, Re: Re: Colors from Spike411

It's important what players & subtitlers support. And at least VSFilter (formerly known as (Direct)VobSub) DOES support <color>, <i> and <b> tags at least, if not other... (It's generally known that mplayer's subtitler sux.)

[reply]

Wed, 15.Dec.2004 14:14, Excellent!!!!! from User Lambda [Mail]

Great work!!! Exactly what every I (everyone) needed!
Keep on that way!

[reply]

Tue, 12.Okt.2004 21:58, Fantastic! from carlos

Just what I've been looking for; works so well! Many thanks!

[reply]

powered by Pappalapapp


Spreadshirt Robelshirts Robelshirts Robelshirts Robelix for Sale!

Guaranteed to be 100% X-MAS free! A System that deserves the prefix 'Operating' Created with Quanta+ WebEditor Graphix made with The GIMP