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
Would love to be able to use this with OTA HDHR Australian streams.
They require deinterlacing - would be cool to use the hardware yadif_videotoolbox video filter for this.
And remix/transcoding of DVB_Teletext subs. These subs can be quickly remuxed/transcoded to text or ass format with libzvbi using -text_format text (or ass) and -fix_sub_duration (ffmpeg cli). Would mean instead of big ugly bitmap subs - these could be displayed as native subs via WEBVTT.
Let me know what you think and if there is any way I can help.
Thanks for the detailed request, and for offering to help.
I scoped this against the engine and there is good news on the deinterlacing side. AetherEngine already runs a software bwdif/yadif deinterlacer on its software decode path, and MPEG-2/VC-1 already route there, so those deinterlace today. The gap is interlaced H.264 (typical for 1080i broadcast), which currently stays on the native AVPlayer path and is not deinterlaced. I am adding a rule that routes interlaced H.264 to the same software deinterlacer, so no hardware yadif_videotoolbox filter is required. Software bwdif is motion adaptive and actually higher quality, and it covers every interlaced codec with one path.
For the subtitles: DVB teletext needs libzvbi, which is not currently compiled into our FFmpeg build. I am rebuilding FFmpeg with libzvbi and wiring the teletext decoder to emit text (txt_format=text, txt_page=subtitle), so captions render as native text subtitles instead of bitmaps.
To validate against your exact streams, could you share:
ffprobe output for one AU channel, to confirm the video codec and field order:
Whether the captions are DVB teletext (and which page, often 801 in AU) or DVB subtitles (bitmap). The subtitle stream line from:
ffprobe -hide_banner -show_streams -select_streams s <stream>
would settle it.
A short sample capture (even 15 to 30 seconds with a subtitle visible) would let me verify teletext timing and rendering end to end. No pressure on the PR offer; the stream details alone are a big help.
Quick update: both halves are now implemented and merged.
Interlaced H.264 now routes to the software bwdif deinterlacer, so 1080i broadcast plays without combing.
DVB teletext now decodes to text through libzvbi and renders as text subtitles instead of bitmaps.
Before I call the teletext side done I want to confirm the page and timing against a real AU stream, so a short capture (or the ffprobe output from my earlier comment) would still help a lot. Also, which app are you using (Apple TV or macOS)? That tells me which build to get the change into so you can test it.
Rivulets on tvOS with Aether driving Live TV is great to hear. Both halves of this issue shipped in release 5.0.0, so any recent tag has them; the current release is 5.0.6 and that is the one I would pin. The teletext decoder also needs FFmpegBuild 1.0.5 or newer, but that comes in automatically as a transitive dependency of the package, so nothing extra to do on your side.
Yes please on the playlist. That would let me verify the teletext page mapping and cue timing end to end against real AU streams instead of synthetic samples. You can send it to [email protected] (the address in the repo's commit metadata). I will keep it private and only use it for testing this issue.
One thing to check once you are on 5.0.6: teletext captions should appear as regular text subtitle tracks in the track list. If a channel's captions do not show up, the teletext page number would be the first thing to look at, so note which channel it was.
Update: thanks to the tuner access you provided by email, I could finally run the whole thing end to end against real AU broadcasts today (1080i25 H.264 with teletext captions on page 801). That surfaced four real engine bugs, all fixed and shipped in 5.2.0:
A mid-stream-joined raw TS (which is what a live tuner stream is) froze on the first frame unless it was loaded as live with a DVR window: the software demux loop anchored the clock at 0 while the first samples carry PTS hours in. The clock now anchors at the first decoded sample.
Live sessions with a DVR window never fed subtitle packets to the overlay pipeline at all, so a selected teletext track produced zero cues. This alone explains "I could enable the teletext subs but none were appearing".
Teletext page semantics were not handled: libzvbi emits captions open-ended (valid until replaced) and page erases as empty events, which the overlay dropped. Captions now build and replace cleanly (word-by-word roll-up works).
A host calling setRate right after load could permanently wedge the synchronizer before the clock was anchored.
Verified on the actual streams via the new aetherctl play harness, in the iOS Simulator, and on a physical iPhone: deinterlacing through bwdif looks clean and captions render and replace correctly.
For Rivulets, two adoption notes:
Load tuner URLs with isLive: true and a dvrWindowSeconds (I use 1800). SourceProbe.isLive flags no-duration network streams if you want to auto-detect and reload.
On your bwdif question: for the video you need nothing custom, AetherPlayerView hosts and swaps the rendering layer internally on both paths. Subtitles are the part where your instinct was right: on the software path there is no native AVKit caption rendering, the engine publishes decoded cues on engine.$subtitleCues and the host draws them in a small overlay above the player view. That is all the "OSD" amounts to.
This also supersedes my email reply from this morning, where I guessed a missing cue overlay was the whole story. It was not: the engine produced no cues on the live path either, so even a perfect overlay would have stayed empty before 5.2.0 (and pin 5.2.0 rather than the 5.1.0 I recommended there). Jordan, once you have Rivulets on 5.2.0 with a cue overlay, I would love to hear whether it holds up on your end.
Awesome work, trying a build of Rivulet with this and I can't believe how nice the teletext subs look! Been after something that can deinterlace OTA aus tv while displaying subs in text format like AVPlayer does.
One question, how did your player travel with audio? Im trying on ch7 atm and im getting a lot of audio chopping, could be an error in my implementation though, claude is telling me cpu overload but I struggle to agree with that - not that im any expert on the matter.
Activity
superuser404notfound commentedon Jul 7, 2026
Thanks for the detailed request, and for offering to help.
I scoped this against the engine and there is good news on the deinterlacing side. AetherEngine already runs a software bwdif/yadif deinterlacer on its software decode path, and MPEG-2/VC-1 already route there, so those deinterlace today. The gap is interlaced H.264 (typical for 1080i broadcast), which currently stays on the native AVPlayer path and is not deinterlaced. I am adding a rule that routes interlaced H.264 to the same software deinterlacer, so no hardware yadif_videotoolbox filter is required. Software bwdif is motion adaptive and actually higher quality, and it covers every interlaced codec with one path.
For the subtitles: DVB teletext needs libzvbi, which is not currently compiled into our FFmpeg build. I am rebuilding FFmpeg with libzvbi and wiring the teletext decoder to emit text (txt_format=text, txt_page=subtitle), so captions render as native text subtitles instead of bitmaps.
To validate against your exact streams, could you share:
ffprobe output for one AU channel, to confirm the video codec and field order:
ffprobe -hide_banner -show_streams -select_streams v:0 <stream>Whether the captions are DVB teletext (and which page, often 801 in AU) or DVB subtitles (bitmap). The subtitle stream line from:
ffprobe -hide_banner -show_streams -select_streams s <stream>would settle it.
A short sample capture (even 15 to 30 seconds with a subtitle visible) would let me verify teletext timing and rendering end to end. No pressure on the PR offer; the stream details alone are a big help.
feat(dispatch): route interlaced H.264 to software deinterlace path (#…
feat(subtitles): set libzvbi teletext decoder options; verify text cl…
chore(deps): bump FFmpegBuild to 1.0.5 (libzvbi teletext decoder) (#107)
Merge feat/au-livetv-deint-teletext: interlaced H.264 deinterlace + D…
superuser404notfound commentedon Jul 7, 2026
Quick update: both halves are now implemented and merged.
Before I call the teletext side done I want to confirm the page and timing against a real AU stream, so a short capture (or the ffprobe output from my earlier comment) would still help a lot. Also, which app are you using (Apple TV or macOS)? That tells me which build to get the change into so you can test it.
feat(dispatch): extract testable VideoRoutingPolicy with interlaced-H…
chore(release): prepare 5.0.0
docs: close the 5.0.0 documentation gaps (#95, #107, #112, #98, #102)
tresby commentedon Jul 15, 2026
Apologies I’ve been offline for a little bit.
Appreciate it the effort to get this implemented!
Been trying to implement this into Rivulets for tvOS.
Just got a custom build with Aether being used for Live TV running.
Will try to get the new version implemented and tested.
If you’d like to test yourself I can send you a playlist for Aus TV via my personal live tv proxy?
superuser404notfound commentedon Jul 15, 2026
No apologies needed, glad to have you back.
Rivulets on tvOS with Aether driving Live TV is great to hear. Both halves of this issue shipped in release 5.0.0, so any recent tag has them; the current release is 5.0.6 and that is the one I would pin. The teletext decoder also needs FFmpegBuild 1.0.5 or newer, but that comes in automatically as a transitive dependency of the package, so nothing extra to do on your side.
Yes please on the playlist. That would let me verify the teletext page mapping and cue timing end to end against real AU streams instead of synthetic samples. You can send it to [email protected] (the address in the repo's commit metadata). I will keep it private and only use it for testing this issue.
One thing to check once you are on 5.0.6: teletext captions should appear as regular text subtitle tracks in the track list. If a channel's captions do not show up, the teletext page number would be the first thing to look at, so note which channel it was.
superuser404notfound commentedon Jul 16, 2026
Update: thanks to the tuner access you provided by email, I could finally run the whole thing end to end against real AU broadcasts today (1080i25 H.264 with teletext captions on page 801). That surfaced four real engine bugs, all fixed and shipped in 5.2.0:
Verified on the actual streams via the new
aetherctl playharness, in the iOS Simulator, and on a physical iPhone: deinterlacing through bwdif looks clean and captions render and replace correctly.For Rivulets, two adoption notes:
isLive: trueand advrWindowSeconds(I use 1800).SourceProbe.isLiveflags no-duration network streams if you want to auto-detect and reload.AetherPlayerViewhosts and swaps the rendering layer internally on both paths. Subtitles are the part where your instinct was right: on the software path there is no native AVKit caption rendering, the engine publishes decoded cues onengine.$subtitleCuesand the host draws them in a small overlay above the player view. That is all the "OSD" amounts to.This also supersedes my email reply from this morning, where I guessed a missing cue overlay was the whole story. It was not: the engine produced no cues on the live path either, so even a perfect overlay would have stayed empty before 5.2.0 (and pin 5.2.0 rather than the 5.1.0 I recommended there). Jordan, once you have Rivulets on 5.2.0 with a cue overlay, I would love to hear whether it holds up on your end.
tresby commentedon Jul 16, 2026
Awesome work, trying a build of Rivulet with this and I can't believe how nice the teletext subs look! Been after something that can deinterlace OTA aus tv while displaying subs in text format like AVPlayer does.
One question, how did your player travel with audio? Im trying on ch7 atm and im getting a lot of audio chopping, could be an error in my implementation though, claude is telling me cpu overload but I struggle to agree with that - not that im any expert on the matter.
Merge fix/issue107-audio-lookahead-pump: SW live audio look-ahead pum…
44 remaining items
fix: fall back to SPS frame_mbs_only_flag when demuxer field_order is…
feat(subtitles): keep text subtitle styling and placement to the host
fix(subtitles): keep the teletext grid row when the page carries no \an
fix(subtitles): keep cue placement across every retained-store rebuild
fix(subtitles): trim the grid padding off teletext rows at interior l…
Exclude the in-path VT decoder for interlaced H.264 (superuser404notf…
fix(audio): a renderer path resumes a clock it did not stop (superuse…
fix(playback): carry a seek target onto the source axis (#107)
Merge fix/vod-seek-session-axis: a seek carries onto the source axis (#…
Merge pull request #575 from superuser404notfound/fix/subtitle-harves…
Merge pull request #576 from superuser404notfound/fix/sw-live-seek-so…
fix(recording): start a recording at zero, not at the broadcast clock
fix(subtitles): the pump's harvest anchor is stated on the source axis (
fix(live): the software live seek publishes its landing on the source…
feat(decode): H.264 with an avcC decodes on VideoToolbox on the softw…