public
Fork of warlley/subtitle_it
Description: Download, edit and create subtitles. Supports various formats.
Homepage: http://nofxx.lighthouseapp.com/projects/17299-subtitle_it
Clone URL: git://github.com/nofxx/subtitle_it.git
nofxx (author)
Tue Oct 28 08:57:44 -0700 2008
commit  ed8c72e37337689e4da162336bb217b87efdb6a2
tree    1e19871bcabcdd6e6bd7ee71b643838f945af599
parent  a586aa7c46b2c8004115de7bf5e891b858ad3904
subtitle_it / README.txt
100644 115 lines (66 sloc) 2.875 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
      __ __
    / ) / , / /
----\--------------/__--_/_------_/_---/----__-----/---_/_-
     \ / / / ) / / / / /___) / /
_(____/___(___(__(___/_(_ __/___(_ __/___(___ _ _/_ __(_ __
                                                           
 
Ruby tool to download, create, convert and fix subtitles.
 
 
== FEATURES:
 
* To and from: SRT, SUB, XML(TT), YML, MPL2, RSB and ASS.
* Download from opensubtitles.org
* Fixes delays. (SrtResync)
* Compatibility with "sube" (http://github.com/vic/sube)
 
 
== TODO:
 
Please visit:
  
* http://nofxx.lighthouseapp.com/projects/17299-subtitle_it
 
 
== REQUIREMENTS:
 
* hpricot
 
 
== SYNOPSIS:
 
Bash tool:
 
Convert a srt to sub:
  subtitle_it in.srt out.sub
  or
  subtitle_it -c sub in.srt
 
Add a delay of 1 minute:
  subtitle_it -d 60 in.srt
 
Create a template
  subtitle_it unexistent.file
  
 
== INSTALL:
 
 gem sources add http://gems.github.com
 sudo gem install nofxx-subtitle_it
 
 
== THE "Ruby Subtitle" Format - RSB
 
It`s just a easy way, proof of concept to edit subtitles. Here is what it looks like:
 
00:32 => 00:33 == Nice police work! | Thank you!
00:35 => 3 == Nice job!
 
MM:SS => MM:SS or N == TEXT | NEWLINE
 
Create a template to check it out.
 
 
== DEV:
 
To run tests:
 
  rake spec or autotest
  
Documentation => doc
Subtitle examples => spec/fixtures
  
 
== SUBTITLE EDITORS:
 
Try those nice editors too, if SubtitleIt does not fit your need:
 
Jubler: http://www.jubler.org/
 
Aegisub: http://www.malakith.net/aegiwiki/Main_Page
 
 
== THANKS
 
* Johanlunds - Opensubtitle.org code (to be used as a gem soon).
* Marcin (tiraeth) Chwedziak - Sub format first implementation.
 
 
== LICENSE:
 
(The MIT License)
 
Copyright (c) 2008 Marcos Piccinini, Giovanni Rapagnani, Warlley Rezende
 
 
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
 
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
 
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.