Skip to content

SSA

SubStation Alpha v4 is the predecessor of ASS. It uses a similar structure with fewer styling features.

Timing

  • Format: H:MM:SS.cc

Styling

  • Basic style definitions and a subset of ASS override tags
  • Alignment and margins are supported

Parsing

ts
import { parseSSA } from 'subforge/ssa'
import { unwrap } from 'subforge/core'

const doc = unwrap(parseSSA(ssaText))

Serialization

ts
import { toSSA } from 'subforge/ssa'

Notes

  • SSA is parsed into the same internal model as ASS.