__ __
/ ) / , / /
----\--------------/__--_/_------_/_---/----__-----/---_/_-
\ / / / ) / / / / /___) / /
_(____/___(___(__(___/_(_ __/___(_ __/___(___ _ _/_ __(_ __
Ruby tool to download, create, convert and fix subtitles.
- Automatic Download on the terminal
- To and from: SRT, SUB, XML(TT), YML, MPL2, RSB and ASS.
- Fixes delays. (SrtResync)
- Compatibility with "sube" (http://github.com/vic/sube)
Download subtitle:
subtitle_it Cool-Video.avi
This will search all languages for the video. You can filter:
subtitle_it -l Eng Cool-Video.avi
You can use -c option. It convert subtitles to given format:
subtitle_it -l Eng -c srt Cool-Video.avi
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
gem install subtitle_it
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.
- OpenSubtitles.org - WORK SubtitleIt Agent
- addic7ed.com -
gem install addic7ed
- legendas.tv - EVIL NOAPI
*NOAPI = Mechanize playground...
To run tests:
rake spec or autotest
Documentation => doc Subtitle examples => spec/fixtures
Series: https://github.com/michaelbaudino/addic7ed-ruby
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
- Johanlunds - Opensubtitle.org code (to be used as a gem soon).
- Marcin (tiraeth) Chwedziak - Sub format first implementation.
Please visit: