#stl #subtitle #parser #file-format

ebustl-parser

Parse subtitle files in the EBU-STL format with Rust

4 releases

new 0.5.3 Oct 30, 2024
0.5.2 Oct 30, 2024
0.5.1 Oct 30, 2024
0.5.0 Oct 30, 2024

#735 in Parser implementations

Download history 347/week @ 2024-10-28

347 downloads per month

EUPL-1.2

38KB
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
~188K SLoC