djohn833 / subtitles-rs

Use SRT subtitle files to study foreign languages (in progress)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rust subtitle utilities

Build Status Build status

Are you looking for substudy? Try here. (substudy has been merged into the subtitles-rs project.)

This repository contains a number of related tools and libraries for manipulating subtitles. See the README.md files in this individual subdirectories for more details.

  • substudy: Learn foreign languages using audio and subtitles extracted from video files.
  • vobsub: A Rust library for parsing subtitles in sub/idx format.
  • vobsub2png: A command-line tool for converting sub/idx subtitles to PNGs with JSON metadata.
  • opus_tools: Utilities for parsing subtitle data from the OPUS project, for use as input to various language models.
  • common_failures: Useful Fail implementations and error-handling tools.
  • cli_test_dir: A simple integration testing harness for CLI tools.

The following subtitle-related projects can be found in other repositories:

  • aligner: This GPLed library by kaegi uses dynamic programming to re-align out-of-sync subtitles using another subtitle file with known-good timing.
  • subparse: This library by kaegi parses many common subtitle formats.

License

This code is distributed under the CC0 1.0 Universal public domain grant (plus fallback license), with the exception of some data in the fixtures directory, which contains a few individual frames of subtitle data used in tests. Note that none of the individual crates include that data.

Contributions

Your feedback and contributions are welcome! Please feel free to submit issues and pull requests using GitHub.

About

Use SRT subtitle files to study foreign languages (in progress)

License:Creative Commons Zero v1.0 Universal


Languages

Language:Rust 85.8%Language:Elm 6.1%Language:OCaml 3.4%Language:HTML 1.9%Language:TypeScript 1.1%Language:JavaScript 0.8%Language:Shell 0.5%Language:CSS 0.2%Language:Dockerfile 0.1%