Repository navigation
Description
What happened
On an Android TV whose HDMI/eARC output passes AC-3 and E-AC-3 to an AV receiver but not TrueHD or DTS, a TrueHD 7.1 movie reaches the receiver as stereo. The Silo player HUD shows the track decoded to PCM by the bundled FFmpeg decoder. The receiver shows 2/0 (2.0). An E-AC-3 5.1 movie on the same setup passes through, and the receiver shows 3/2/.1.
The planner treats any codec the client can decode as directly playable (audioEligibilityV3, reason client_decode_supported). Android advertises TrueHD, DTS, and DTS-HD as decodable because it bundles FFmpeg. The TV's audio framework then mixes the decoded multichannel PCM down to stereo on its HDMI/eARC output, so the receiver gets 2.0. The v3 planner never targets a bitstream codec the sink accepts. Its only audio encode target is AAC, and AAC is also decoded to PCM on the device.
Plex on the same TV converts the track on the server to E-AC-3 or AC-3 5.1, and the receiver gets 5.1.
Steps to reproduce
- On a Silo dev deployment, take a Matroska file with a DTS 5.1 (or TrueHD 7.1) track the client cannot pass through.
- Send
POST /api/v2/playback/startwith an Android TV request whoseaudio_evidenceisexact, whoseclient_featuresincludelayout_aware_passthrough, whosecodecs_audiolistsdts/truehd(FFmpeg decode), and whoseaudio_passthroughlistsac3/eac3with 6-channel5.1entries but nodts/truehd. - The plan is
original_http,validated_original_playback, audio claim{"codec":"dts","passthrough":false,"reason":"client_decode_supported"}. - On a device whose HDMI output mixes app PCM to stereo, the receiver gets 2.0.
Expected behavior
When the sink cannot take the source codec as a bitstream, the source has more than two channels, and the sink accepts E-AC-3 or AC-3 5.1, the server should prefer a video-copy remux that converts the audio to E-AC-3 5.1 (AC-3 5.1 when the sink lacks E-AC-3), as Plex does. When that conversion is unavailable or would change the picture, the current direct-play route should still apply.
Silo version / commit
main at 47a2998
Deployment
Local dev build
Clients affected
- Web UI
- Android
- iOS/tvOS/macOS
- Jellyfin-compat client (Infuse, Findroid, ...)
- Other/not client-specific
Relevant logs
level=INFO msg="playback plan decided" component=playback outcome=plan decision_reason=validated_original_playback delivery=original_http play_method=direct requested_file_id=6 effective_file_id=6 dv_profile=0 dynamic_range=sdr quality_preference=original
[redacted: request ids, timestamps]
Technical notes
internal/playback/capabilities_v3.goaudioEligibilityV3: the decode branch checks codec membership only.internal/playback/plan_v3.go: remux and transcode routes encode AAC only;appendAudioArgsintranscode.goalready supportseac3andac3(used by Jellyfin compatibility).- Android cannot reliably tell whether its mixer carries multichannel PCM. A failed direct multichannel PCM probe does not prove a stereo mixer, so the rule should not depend on that probe.
- Trade-off: a device whose mixer does carry multichannel PCM to a receiver would get lossy E-AC-3 5.1 instead of lossless PCM for codecs it cannot pass through. Plex makes the same trade.
AI harness
Claude Code (T3 Code)
AI tool(s)
Codex (cross-provider design review)
AI model(s)
claude-opus-5-5, gpt-6.1-sol
AI involvement
Fully AI-generated, human verified
Independent or adversarial review
Codex (gpt-6.1-sol) reviewed the proposed design before implementation.
Confirmations
- 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
Source: community report on Discord
Activity
Quick104 commentedon Oct 6, 2026
🤖 AI agent claim. Claude Code (claude-opus-5-5) is working on a fix for this issue on behalf of @Quick104, who is assigned.
A pull request will link here when the fix is ready. If the work stops without a fix, the assignment and this comment are removed.
Planning to work on this, or have context to add? Reply here and mention @Quick104.
fix(playback): convert to E-AC-3 5.1 when the sink can't bitstream th…
fix(playback): convert to E-AC-3 5.1 when the sink can't bitstream th…