Skip to content

feat: add subtitle codec string support (WebVTT wvtt, TTML stpp) - #19

Merged
irbisadm merged 1 commit into
mainfrom
feat/subtitles
Jul 14, 2026
Merged

feat: add subtitle codec string support (WebVTT wvtt, TTML stpp)#19
irbisadm merged 1 commit into
mainfrom
feat/subtitles

Conversation

@irbisadm

Copy link
Copy Markdown
Owner

Adds subtitle sample entries: WebVTT (wvtt, parameterless — joins SimpleCodecInfo) and TTML / timed text (stpp[.<mode>[.<profile>]], e.g. stpp.ttml.im1t). StppInfo decodes the TTML profile designator (IMSC1/2, TTML1/2, EBU-TT, DECE) to a description; unknown profiles round-trip verbatim. Format verified against paulhiggs/codec-string. 22 tests; full suite 395 passing.

feat: → minor bump (0.14.0).

WebVTT (wvtt) is parameterless and joins the SimpleCodecInfo registry. TTML/timed-text (stpp) is structured: stpp[.<mode>[.<profile>]] (e.g. stpp.ttml.im1t = IMSC1 text). StppInfo decodes the mode and the TTML profile designator (IMSC1/2, TTML1/2, EBU-TT, DECE) to a description, preserving unknown profiles verbatim. Format verified against paulhiggs/codec-string. Wired into codecInfoFactory via the stpp prefix (wvtt via isSimpleCodec).
@irbisadm
irbisadm merged commit c474cc1 into main Jul 14, 2026
6 checks passed
@irbisadm
irbisadm deleted the feat/subtitles branch July 14, 2026 21:31
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 0.14.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant