1 unstable release
0.1.0 | Sep 23, 2024 |
---|
#1078 in Parser implementations
66KB
1K
SLoC
Presentation Graphic Stream
Parsing Presentation Graphic Stream (BluRay Subtitle Format - SUP files)
Usage
use pgs_parse::PgsParser;
let parser = PgsParser::parse("subtitle.sup");
match parser {
Ok(parser) => {
let ds = parser.get_display_sets();
// ...
},
Err(err) => {
// ...
}
}
lib.rs
:
PGS Parsing Library
This library provides functionality for parsing PGS (Presentation Graphic Stream) subtitles, commonly used in Blu-ray media. It defines various modules and components needed for reading, decoding, and processing PGS files.
Example Usage
use pgs_parse::PgsParser;
let parser = PgsParser::parse("subtitle.sup");
match parser {
Ok(parser) => {
let ds = parser.get_display_sets();
// ...
},
Err(err) => {
// ...
}
}
Dependencies
~86KB