Skip to content

feat(ops): bitmap subtitle cues for any codec, walked or served from an index - #28

Merged
gravity-zero merged 7 commits into
masterfrom
feat/subtitle-bitmap-cues
Nov 17, 2026
Merged

gravity-zero merged 7 commits into
masterfrom
feat/subtitle-bitmap-cues

Conversation

@gravity-zero

Copy link
Copy Markdown
Owner

A bitmap subtitle track (PGS, VobSub, DVB) as timed pictures through one call, and the blocks of any subtitle track, both walked or served from a SubtitleIndex. Additive only.

  • feat(ops): ForEachSubtitleBitmap / ForEachSubtitleBitmapFrom pick the decoder from the track's codec and date the cues; BitmapCue is the type PGSCue names
  • feat(ops): ForEachSubtitleBlock / ForEachSubtitleBlockFrom give a subtitle track's blocks (SubtitleBlock), a damaged region passed over as a Lost call
  • the WebVTT and PGS extractors, walked and indexed, now read through the same path: one place for the stale-index checks and the damage tolerance; their behaviour and messages are unchanged
  • feat(cli): extract-subtitle -format png for the three codecs, with -index; -format pgs unchanged
  • docs: library.md, cli.md, recipes, README

Tests: the real VobSub and DVB samples give the same cues walked and from an index, pixels included; the rules that end a cue on scripted display sets; refusals; a new fuzz target for the cue assembly.

Local: gate exit 0 and make preflight RELEASE=v0.68.0 exit 0 on 9a8d2e3. gorelease against v0.67.0: compatible changes only, v0.68.0.

@gravity-zero
gravity-zero merged commit 9a8d2e3 into master Nov 17, 2026
13 checks passed
@gravity-zero
gravity-zero deleted the feat/subtitle-bitmap-cues branch November 18, 2026 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant