You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support independent secondary subtitle track output #47
There's now a fully independent secondary subtitle channel alongside the primary one, so you can drive two subtitle outputs at the same time. The API mirrors the primary surface:
selectSecondarySubtitleTrack(index:) for an embedded track
selectSecondarySidecarSubtitle(url:httpHeaders:) for a sidecar file
clearSecondarySubtitle()
published secondarySubtitleCues, isSecondarySubtitleActive, isLoadingSecondarySubtitles
It runs its own side demuxer, re-arms on seek, and survives audio-track reloads independently of the primary track. The secondary channel is text-only (bitmap codecs like PGS/DVB are rejected) and always decodes to plain text, so it stays clean even when the primary is a styled ASS track. aetherctl dualsubs <file> --primary <i> --secondary <j> exercises both channels. Render the two cue streams however suits your client. Glad to hear how it works out.
I’ve tested the new secondary subtitle APIs, and dual subtitles are now running correctly. Primary and secondary subtitle tracks can be selected independently.
Thanks a lot for implementing this. The API is clean to integrate and works nicely for bilingual subtitle playback.
Activity
Merge feat/secondary-subtitles: dual subtitles (issue #47)
fix(subtitles): secondary channel always decodes plain text (no ASS m…
superuser404notfound commentedon Jun 17, 2026
Shipped in AetherEngine 3.9.0.
There's now a fully independent secondary subtitle channel alongside the primary one, so you can drive two subtitle outputs at the same time. The API mirrors the primary surface:
selectSecondarySubtitleTrack(index:)for an embedded trackselectSecondarySidecarSubtitle(url:httpHeaders:)for a sidecar fileclearSecondarySubtitle()secondarySubtitleCues,isSecondarySubtitleActive,isLoadingSecondarySubtitlesIt runs its own side demuxer, re-arms on seek, and survives audio-track reloads independently of the primary track. The secondary channel is text-only (bitmap codecs like PGS/DVB are rejected) and always decodes to plain text, so it stays clean even when the primary is a styled ASS track.
aetherctl dualsubs <file> --primary <i> --secondary <j>exercises both channels. Render the two cue streams however suits your client. Glad to hear how it works out.feat(subtitles): preserve ASS markup for external sidecars (#48)
natureraw commentedon Jun 18, 2026
It works! 🎉
I’ve tested the new secondary subtitle APIs, and dual subtitles are now running correctly. Primary and secondary subtitle tracks can be selected independently.
Thanks a lot for implementing this. The API is clean to integrate and works nicely for bilingual subtitle playback.