Crates.io | pgs-parse |
lib.rs | pgs-parse |
version | 0.1.0 |
source | src |
created_at | 2024-09-23 18:29:22.818239 |
updated_at | 2024-09-23 18:29:22.818239 |
description | Parse Presentation Graphic Stream (SUP files) |
homepage | https://github.com/mbolaric/pgs |
repository | https://github.com/mbolaric/pgs |
max_upload_size | |
id | 1384359 |
size | 90,583 |
Parsing Presentation Graphic Stream (BluRay Subtitle Format - SUP files)
use pgs_parse::PgsParser;
let parser = PgsParser::parse("subtitle.sup");
match parser {
Ok(parser) => {
let ds = parser.get_display_sets();
// ...
},
Err(err) => {
// ...
}
}