Repository navigation
Description
What happened
Opus (.opus) and Ogg Vorbis (.ogg) audiobooks don't play in the iPhone, iPad or Apple TV apps. Pressing Play shows "Something went wrong / Operation Stopped", every time, and Try Again fails the same way. The same books play in the web app, and m4b, mp3, FLAC, WAV and raw AAC books play on the same devices.
The Apple apps don't declare Opus or Vorbis, so the server plans server_remux_progressive with the audio_to_aac transformation: an audio-only fragmented MP4 over plain HTTP. That stream is generated live and doesn't support byte ranges. A plain GET and a Range: bytes=0-1 request both get 200 OK with Transfer-Encoding: chunked, no Content-Length, no Accept-Ranges and no Content-Range. AVPlayer requires byte-range support for progressive HTTP media (it probes with bytes=0-1 and expects a 206), which matches the "Operation Stopped" failure. The converted bytes themselves are valid: the full response is a 180-second mono AAC track in MP4. Browsers accept a non-ranged response, which is why the web app plays the same delivery.
The planner has no other route for an audio-only source a client can't play directly: when progressive delivery isn't available it ends with "No validated playback route is available for this audio source." (plan_v3.go, audio-only branch). Android hits that same message for WAV.
Steps to reproduce
Local build of e6df1d8ed; iOS 26.5 and tvOS 26.5 simulators running silo-apple 876fbd31c53c.
- Add an audiobook stored as
.opus(or.ogg) to an audiobook library. - Open it in the iPhone or Apple TV app and press Play.
Observed: "Something went wrong / Operation Stopped" (2× per book per device). To see the stream behaviour without a device, start playback of the .opus file with client_capabilities.codecs_audio = ["aac","mp3","flac"] and containers = ["mp4","mp3","flac"], then request the plan's stream.url with and without a Range header.
Expected behavior
Opus and Ogg Vorbis audiobooks play on Apple devices, either through a conversion route AVPlayer accepts (byte-range-capable progressive output or HLS) or another validated route.
Silo version / commit
e6df1d8eddce823a7bfd4ac2c513e9e83d835277
Deployment
Local dev build
Area
Playback and transcoding
Clients affected
iOS/tvOS/macOS
Client app and device
silo-apple 876fbd31c53c, Debug; iPhone 17 Pro and Apple TV 4K (3rd generation) simulators, iOS/tvOS 26.5.
Media and playback details
Synthetic audiobooks: Opus 24 kb/s mono in Ogg (180 s); Vorbis q1 mono in Ogg (120 s). Plan: delivery server_remux_progressive, container mp4, MIME audio/mp4, transformation audio_to_aac (recipe 4, server executor).
Relevant logs
Stream request with Range: bytes=0-1:
HTTP/1.1 200 OK
Content-Type: audio/mp4
X-Request-ID: c557c94bd715d6ce24be2a8b
Date: Tue, 27 Oct 2026 18:43:46 GMT
Transfer-Encoding: chunked
Server log when the Apple app starts playback:
level=WARN msg="protocol v3 no proxy advertises the planned recipe" component=api delivery=server_remux_progressive
(The same warning appears for web remux sessions that play, so it is not the cause on its own.)
Technical notes
- Filed instead of fixed during validation: choosing between range-capable progressive conversion (for example, converting to a file and serving it with ranges) and an audio-only HLS route is a playback design decision for the cluster setup.
- Related validation: Audiobooks #1253 CORE3/CORE6; Audiobooks — iOS silo-apple#339 C3/C6 and feat(catalog): remove smart collection item limit cap #340 C3/C6. No validation record was changed.
AI harness
Claude Code (T3 Code)
AI tool(s)
Claude Code, GitHub CLI, curl, ffprobe, Xcode simulators
AI model(s)
claude-opus-5-5
AI involvement
Fully AI-generated, human verified. Found during AI-run validation of #1253 at the maintainer's direction; the device failure was reproduced on simulators and the stream behaviour checked directly against the server.
Independent or adversarial review
None.
Confirmations
- I searched open and recently closed issues and pull requests, and this is not already reported
- I reproduced this myself on a real deployment
- Any logs provided are raw apart from marked redactions and are not AI-summarized; if none were available, I said so above
Activity
Rhainland commentedon Nov 15, 2026
Reproduced on
origin/mainat c11b0a9 with synthetic.opus,.oggand.m4baudiobooks. I started playback with the audiobook capability payload the Apple app sends, which declares no Opus, Vorbis or Ogg. The Opus and Vorbis books getserver_remux_progressivewithaudio_to_aac. On that stream,Range: bytes=0-1andRange: bytes=1000-1999both return200, chunked, with noAccept-RangesorContent-Range, and send the whole body. The m4b book getsoriginal_httpand answers206with a correctContent-Range. AVPlayer needs byte ranges for progressive HTTP, which fits the "Operation Stopped" error. I couldn't test on an Apple device, so that last step comes from the client source.The same stream has a second problem that affects every client. The audio-only remux uses
-movflags frag_keyframe. With no video keyframes, ffmpeg writes the whole book as one fragment, and only once the conversion finishes. A 5-hour Opus book sent nothing for 357 s, then 314 MB at once. Written to a pipe, that fragment's size field is 0, and ffmpeg reported 18,436 decode errors reading the served file back. Adding-frag_duration 2000000for audio-only output gave 90 fragments, no decode errors, and the first 100 KB in 0.15 s. That doesn't add range support, so it won't fix Apple playback alone, but it's worth fixing on its own.For the Apple failure itself, the options I see:
ogg/opuscontainers, in the audiobookoriginal_httpclaim. AetherEngine already plays them through FFmpeg, and the video path already declares them. The server would then send the original file with byte ranges from any node. This is the simplest, but the app calls that claim deliberately narrow, so it needs device testing.I haven't opened a PR, because the choice between these is a maintainer call.
AI disclosure: reproduced by Claude Code (claude-opus-5-5) at the maintainer's direction.
Quick104 commentedon Nov 26, 2026
Still reproduces on server 2970 ·
a16a24720with silo-apple3289bedbd(iPhone and iPad simulators, validation run for Silo-Server/silo-apple#339). Opus and Ogg Vorbis audiobooks end in "Something went wrong / Operation Stopped", and Try Again fails the same way. The server plansserver_remux_progressive, and a ranged request gets 200 from the start of the stream (internal/apiv2/playback_delivery.go:144).The client side has changed since this issue was written:
3289bedbdthe audiobook player runs on Aether (iosApp/iosApp/Screens/Audio/AudioPlayerViewModel.swift:17), not AVPlayer.iosApp/iosApp/Screens/Player/ProtocolV3/ApplePlaybackV3Capabilities.swift:88-91).iosApp/iosApp/Shared/AppleDecodeCapabilities.swift:113-116).Widening the audiobook claim might let these books direct-play and skip the conversion. The server's range handling would still matter for any other converted audio.
Evidence: https://evidence.siloserver.org/r/silo-apple/v1-validation-339/
Posted with Claude Code (claude-sonnet-5-5 testing, claude-opus-5-5 verification) and GitHub CLI at the maintainer's direction.