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
[bug] Multichannel-to-stereo transcodes are quieter than comparable apps #746
Users report that the same files sound quieter in Silo than in Plex or Jellyfin when Silo converts surround audio to stereo.
The server currently asks FFmpeg for the target channel count with -ac 2 but does not apply a downmix gain. A local 5.1 center-channel fixture measured about -9.7 LUFS after Silo's current stereo conversion. Applying the +6 dB downmix boost used by Jellyfin produced about -3.7 LUFS.
This is specific to server-owned multichannel-to-stereo conversion. Direct play, copied audio, stereo-to-stereo conversion, and surround output should not change.
Reproduction
Create or select a 5.1 source with center-channel dialogue.
Encode it through Silo's current AAC stereo arguments.
Compare the result with the same FFmpeg conversion using a post-downmix +6 dB gain.
The current output is about 6 dB quieter on material that does not engage the limiter.
No server error is expected; this is an audio-recipe difference.
Expected behavior
When the selected source track has more than two channels and Silo encodes exactly two output channels, Silo should restore up to 6 dB after downmixing while preventing clipping.
Acceptance criteria:
Downmix to stereo before applying gain or limiting.
Use a peak-safe limiter with enough headroom for AAC overshoot.
Do not boost stereo or mono sources, surround outputs, direct play, or copied audio.
Freeze the selected source channel count through local, remote-node, token reconstruction, Jellyfin compatibility, and prepared-download paths.
Version the byte-affecting audio recipe so mixed-version nodes cannot silently produce the old output.
Cover positive, negative, clipping, and reconstruction cases with tests.
Related: #579, which tracks output-channel negotiation and is not fixed by this change.
Environment
Base commit: 20ae82ae05edcfef151a02738e323cf1a97034ef
Local FFmpeg fixture; the original reports came from Silo users comparing the same files across apps.
AI use
Tool: T3 Code (Codex harness)
Model: gpt-5.6-sol
Involvement: AI-assisted; measurements and source paths were checked against the repository and local FFmpeg output.
Activity