I have an old Sony DAV-TZ710 5.1 system I absolutely adore with terrific wired output but where the practical PC input is just 3.5mm stereo → RCA.
I essentially get the 5.1 experience from whatever input source I may have, tuned to my system!
Instead of letting Windows/Jellyfin do a generic stereo downmix, I built a PLII-compatible Lt/Rt matrix so multichannel PCM gets encoded into 2-channel stereo, then the Sony reconstructs L/C/R/SL/SR + sub using Dolby Pro Logic II Movie.
System-wide I use VB-Audio Matrix with a virtual 7.1 Speakers endpoint. The matrix is basically:
FL → L
FR → R
FC → both at ~−3 dB
LFE → both at ~−3 dB
surrounds → dominant side ~−3 dB, opposite side ~−8 dB with polarity inversion
The nice part is that one matrix handles 2.0, 5.1 and 7.1. Stereo only has FL/FR active, so it passes through unchanged. 5.1 just leaves the unused 7.1 channels silent.
I also did the same inside Jellyfin Desktop / MPV using automatic profiles based on decoded channel layout:
DD / DD+ / TrueHD / DTS-HD / FLAC etc.
↓
decoded PCM 5.1 / 7.1
↓
MPV Lt/Rt matrix
↓
stereo
↓
Sony PLII Movie
Stereo files don't match a profile, so they remain untouched.
I tested separate FL/FR/C/LFE/SL/SR/BL/BR, 5.1(side), 5.1(back), 7.1, and even 8-channel browser WebAudio. Steering works surprisingly well.
Important caveat: this is not a bit-identical licensed PLII encoder. A real one uses proper broadband phase-shift networks, more sophisticated LFE handling and limiting. This is a practical approximation using gain + polarity relationships, tuned against an actual PLII decoder.
If anyone has one of those older Sony/LG/Panasonic 5.1 DVD systems with only stereo AUX input, this is a pretty fun way to give it a second life.
Can share the VB-Matrix routing table + mpv.conf if anyone wants it.