Skip to main content

Crate libpgs

Crate libpgs 

Source

Modules§

ebml
error
io
m2ts
mkv
pgs
sup

Structs§

ExtractionStats
I/O statistics from an extraction operation.
Extractor
Streaming PGS extractor that yields display sets incrementally.
PgsTrackInfo
Metadata about a PGS track found in the container.
TrackDisplaySet
A display set annotated with its source track.
TrackDisplaySets
Display sets extracted from a single PGS track.

Enums§

ContainerFormat
Container format of the source file.
MkvStrategy
MKV extraction strategy override.

Functions§

extract_all_display_sets
Extract all PGS Display Sets from all tracks in a container file.
extract_all_display_sets_with_stats
Extract all PGS Display Sets from all tracks and return I/O statistics.
extract_display_sets
Extract PGS Display Sets from a container file for a single track.
extract_display_sets_with_stats
Extract PGS Display Sets for a single track and return I/O statistics.
list_pgs_tracks
List all PGS tracks in a container file.
write_sup_file
Write Display Sets as a raw .sup file (concatenated PGS segments with headers).