Formats supported by sub2srt

All formats are plain text. I'm not planning to support image based formats like DVD subtitles or vobsub.


subviewer .srt

The output format of sub2srt

1
00:00:20,200 --> 00:00:22,480
Just a subtitle

2
00:03:00,200 --> 00:03:04,600
First line of a subtitle
Second line of a subtitle

3
00:03:04,600 --> 00:03:05,800
another sub

subripper .sub

The headers are ignored by sub2srt

[INFORMATION]
[AUTHOR]
[SOURCE]
[PRG]
[FILEPATH]
[DELAY]
[CD TRACK]
[COMMENT]
[END INFORMATION]

[SUBTITLE]
[COLF]&HFFFFFF,[STYLE]no,[SIZE]18,[FONT]Arial
00:00:20.20,00:00:22.48
Just a subtitle

00:03:00.20,00:03:04.60
First line of a subtitle[br]Second line of a subtitle

00:03:04.60,00:03:05.80
another sub

microdvd .sub

frame based format

{505}{562}Just a subtitle
{4505}{4615}First line of a subtitle|Second line of a subtitle
{4615}{4645}another sub

txtsub

Added support in sub2srt-0.5.3
I don't know the name of this format, since it's often found with .txt extension I called it txtsub for now.
If you know the "real" name please tell me.

There are 2 variants with similar timestamps, but completely diffrent headers. Both are supported by sub2srt.

txtsub var. a)

Usally with extension txt. Used by Quicktime(?)

{QTtext}
{plain}
{anti-alias:Off}
{keyedText:Off}
{dropShadow:Off}
{backColor:255, 255, 255}
{timeScale:1000}
{width:680}
{height:50}
{timeStamps:absolute}
{language:0}
{textEncoding:0}
{ScrollDelay:0}
{ScrollIn:Off}
{ScrollOut:Off}
{HorizontalScroll:Off}
{ReverseScroll:Off}
{ContinuousScroll:Off}
{FlowHorizontal:Off}
{font:Helvetica}
{size:20}
{textColor:65535, 65535, 65535}
{justify:center}
{plain}
[00:00:20.200]
Just a subtitle
[00:00:22.480]
[00:03:00.200]
First line of a subtitle[br]Second line of a subtitle
[00:03:04.600]
another sub
[00:03:05.800]

txtsub var. b)

Due to the footer of this format sub2srt notes "2 lines failed". Nothing to worry about.

[TITLE]
a Movie
[AUTHOR]
Somebody
[SOURCE]

[PRG]

[FILEPATH]

[DELAY]
0
[CD TRACK]
0
[BEGIN]
******** START SCRIPT ********
[00:00:20]
Just a subtitle
[00:00:22]

[00:03:00]
First line of a subtitle|Second line of a subtitle
[00:03:04]
another sub
[00:03:06]

[END]
******** End Script ********

(so far) unsupported formats

If you want support in sub2srt send me example files.


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