A library to extract the text from various forms of subtitles.
- Extract text from
.srt
files, while handling all lines terminators (\n
,\r
,\r\n
) - Extract text from
.ass
/.ssa
files, while handling all lines terminators (\n
,\r
,\r\n
)
- Harmonize
parse_file_contents
and thesubtitle
type - Support for
.ass
/.ssa
files- Basic support with
\n
line ending - Support for
\r
,\r\n
- Basic support with
- Function that takes a filename as parameter for convenience
- Executable that reads a file, recognizes the extension and prints out all the text
- Basic documentation (how to use, example program)
- Extract more info from the subtitles (timing, position, will be type-dependant since different types of subtitles have different type of info)
- Manipulations of the subtitles (modify the timing, change the position)
- Extensive test suite (especially for
.srt
files that lack a precise spec) - More subtitles types