Expand description
ASS/SSA subtitle codec + container for oxideav.
This crate hosts the parser, writer, codec, and container for the
Advanced SubStation Alpha (.ass) and SubStation Alpha (.ssa) text
subtitle formats. It is a sibling to oxideav-subtitle, which hosts
the “lightweight” text formats (SRT, WebVTT) and the shared subtitle
IR re-exports.
| Format | Codec id | Container name | Extensions |
|---|---|---|---|
| ASS/SSA | ass | ass | .ass, .ssa |
The public API mirrors oxideav-webp / oxideav-gif:
register_codecs— add the ASS codec.register_containers— add the ASS container + probe.register— do both.
Format-to-format converters between ASS and the SRT/WebVTT formats
from oxideav-subtitle live in transform.
Re-exports§
pub use animate::extract_cue_animation;pub use animate::parse_overrides;pub use animate::AnimatedTag;pub use animate::ClipRect;pub use animate::CueAnimation;pub use animate::KaraokeKind;pub use animate::KaraokeSpan;pub use animate::RenderState;pub use drawing::parse_drawing;pub use render::make_animated_decoder;pub use render::AnimatedRenderedDecoder;pub use transform::ass_to_srt;pub use transform::ass_to_webvtt;pub use transform::srt_to_ass;pub use transform::webvtt_to_ass;
Modules§
- animate
- Typed extraction + time-evaluation of ASS animated override tags.
- codec
Decoder/Encoderimplementations for ASS/SSA.- container
- Container for the standalone ASS/SSA subtitle format.
- drawing
- ASS drawing-mode parser.
- render
- Animated subtitle decoder: wraps a base ASS subtitle decoder and
emits rasterised RGBA
Frame::Videos sampled at a caller-controlled moment in cue-local time. - transform
- Direct ASS ↔ SRT / ASS ↔ WebVTT converters.
Functions§
- cue_
to_ bytes_ pub - Serialise one cue to a single
Dialogue:line. Public alias of the crate-privatecue_to_bytesso integration tests + external drivers can build packets without going through the demuxer. - parse
- register
- Unified registration entry point — installs the ASS codec into the
codec sub-registry and the ASS container into the container
sub-registry of the supplied
RuntimeContext. - register_
codecs - Register the ASS codec (decoder + encoder).
- register_
containers - Register the ASS container (demuxer + muxer + probe).
- write