#stl #subtitle #parser #file-format

ebustl-parser

Parse subtitle files in the EBU-STL format with Rust

7 releases

new 0.6.2 Feb 19, 2025
0.6.1 Feb 13, 2025
0.6.0 Nov 11, 2024
0.5.3 Oct 30, 2024

#844 in Parser implementations

Download history 348/week @ 2024-10-29 74/week @ 2024-11-05 61/week @ 2024-11-12 10/week @ 2024-11-19 11/week @ 2024-11-26 7/week @ 2024-12-10 147/week @ 2025-02-11

147 downloads per month

EUPL-1.2

42KB
1K SLoC

EBU-STL subtitling format in Rust

crates.io docs.rs

A basic implementation of a parser for the EBU-STL subtitling file format.

This is a fork of ebustl, for maintenance purposes

Example:

use ebustl_parser::parse_stl_from_file;

fn main() {
    let stl = parse_stl_from_file("/path/to/subtiltle.stl").expect("Parse stl from file");
    println!("{:?}", stl);
}

License: EUPL

Dependencies

~7.5MB
~198K SLoC