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
Teletext page is a load option, so it cannot be changed while a channel plays #364
LoadOptions.teletextPage reaches the engine at load, is stored as teletextPageForSubtitleTap and handed to EmbeddedSubtitleDecoder when that decoder is constructed. The page is therefore fixed for the life of the decoder, and a decoder only exists once a subtitle track is selected.
Two consequences:
A host cannot offer the page as an in-player choice, only as a setting that takes effect on the next load. Sodalite exposes it exactly that way today.
On a channel where the automatic txt_page=subtitle misses the right page, the viewer has to leave the channel, change a setting and come back.
What it would take: a settable page that rebuilds the drain decoder for the active track rather than only applying at construction. The drain path already replaces decoders on a target change (clearSubtitleDrainTarget nils them), so the mechanism exists; the page just has to travel with it.
Low priority: it only affects real transport streams carrying Teletext, and only when the automatic page selection misses.
Built and merged to main (78ff2d7), released in a later version.
setTeletextPage(_:) applies in the three places a session can be reading teletext from:
the load options replayed on internal reopens, so an audio switch or a background reload does not quietly restore the load-time page,
the decoder factories of both playback hosts,
the drain decoder of every channel currently showing a teletext track, dropped along with its cursor so the next tick re-decodes the window around the playhead exactly as a fresh selection does.
A channel showing another codec is left alone; rebuilding it would blank its overlay for a change that cannot affect it. That gate is the one place a silent failure could live, so the engine states which side it took: re-decoding N channel(s) or no active teletext track to re-decode. teletextPage reads the page in force.
aetherctl play gains --teletext-page N and --switch-teletext-page <page|auto>[@ms], the second defaulting to +20 s so the change lands on a channel that already has a track showing.
Leaving this open for one reason: real teletext needs a broadcast transport stream, and ffmpeg cannot synthesise one, so what is verified is the wiring, the gate and the no-op statement, not the decode. The claim that the rebuilt decoder actually renders the new page rests on it being the same construction path a fresh selection takes. A run against a live DVB channel closes it.
The setter shipped and is exercised on all three paths a session can be reading teletext from, and the gate plus the no-op statement are covered by tests. The only thing this thread was still carrying is a run against a live DVB channel, because ffmpeg cannot synthesise a broadcast transport stream and the decode itself therefore has no synthetic witness. That is a check on this side rather than an open question about the engine, so it does not need an issue to sit in.
If a real teletext channel ever keeps showing the old page after setTeletextPage(_:), that is worth a fresh report with the .session capture, since the line already names which branch it took.
Activity
superuser404notfound commentedon Aug 12, 2026
Built and merged to
main(78ff2d7), released in a later version.setTeletextPage(_:)applies in the three places a session can be reading teletext from:A channel showing another codec is left alone; rebuilding it would blank its overlay for a change that cannot affect it. That gate is the one place a silent failure could live, so the engine states which side it took:
re-decoding N channel(s)orno active teletext track to re-decode.teletextPagereads the page in force.aetherctl playgains--teletext-page Nand--switch-teletext-page <page|auto>[@ms], the second defaulting to +20 s so the change lands on a channel that already has a track showing.Leaving this open for one reason: real teletext needs a broadcast transport stream, and ffmpeg cannot synthesise one, so what is verified is the wiring, the gate and the no-op statement, not the decode. The claim that the rebuilt decoder actually renders the new page rests on it being the same construction path a fresh selection takes. A run against a live DVB channel closes it.
feat(subtitles): change the teletext caption page while a channel plays
superuser404notfound commentedon Sep 10, 2026
Closing this one.
The setter shipped and is exercised on all three paths a session can be reading teletext from, and the gate plus the no-op statement are covered by tests. The only thing this thread was still carrying is a run against a live DVB channel, because ffmpeg cannot synthesise a broadcast transport stream and the decode itself therefore has no synthetic witness. That is a check on this side rather than an open question about the engine, so it does not need an issue to sit in.
If a real teletext channel ever keeps showing the old page after
setTeletextPage(_:), that is worth a fresh report with the.sessioncapture, since the line already names which branch it took.