About

Posted 30 Jun 2006 - 03:05 by noup

SubLib is a library that eases the development of subtitling applications. It supports the most common text-based subtitle formats and allows for subtitle editing, conversion and synchronization.

SubLib is written in C# and can be used in platforms like Mono or .NET Framework.

The library is currently used by the Gnome Subtitles project.

Subtitle formats:

  • Adobe Encore DVD
  • Advanced Sub Station Alpha
  • AQ Title
  • DKS Subtitle Format
  • Karaoke Lyrics LRC
  • Karaoke Lyrics VKT
  • MacSUB
  • MicroDVD
  • MPlayer
  • MPlayer 2
  • MPSub
  • Panimator
  • Phoenix Japanimation Society
  • Power DivX
  • Sofni
  • SubCreator 1.x
  • SubRip
  • Sub Station Alpha
  • SubViewer 1.0
  • SubViewer 2.0
  • ViPlay Subtitle File

Timing operations:

  • Auto-adjust timings based on 2 correct times / synchronization points
  • Shift subtitles by a specified delay
  • Convert between framerates
  • Set input and output framerates
  • Edit times and frames

Other features:

  • Support for subtitle translation
  • Edit subtitle headers
  • Search for text, possibly using Regular Expressions
  • Replace all occurences of some text in the subtitles
  • Find the subtitle at the specified time position
  • Import text scripts
  • Character coding and subtitle format auto-detection (on opening)
  • Relaxed subtitle reading, to read subtitles that contain errors
  • Modular parsing engine which uses regular expressions to describe subtitle formats
  • Possibility to list the bits of text which couldn't be read as subtitles

Supported Operating Systems: Linux, MS Windows, Mac OS X, all POSIX (BSD/UNIX-like OSes).

SubLib is released under the GNU General Public License (GPL).