#parser #subtitle #stl

ebustl-parser

Parse subtitle files in the EBU-STL format with Rust

7 releases

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

#176 in Video

Download history 7/week @ 2024-11-28 3/week @ 2024-12-05 4/week @ 2024-12-12 248/week @ 2025-02-13 77/week @ 2025-02-20 10/week @ 2025-02-27 3/week @ 2025-03-06 10/week @ 2025-03-13

188 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

~10MB
~228K SLoC