Jan Stary wrote (2025-01-12 20:16 CET):
> These are some example files from Dolby:
> https://ott.dolby.com/OnDelKits/DDP/Dolby_Digital_Plus_Online_Delivery_Kit_v1.4.1/Test_Signals/muxed_streams/MPEG2TS/MPEG2TS_Muxed_Streams.html
> 
> Thesr contain 5.1 audio. Playing it on my stereo gear
> (I only have two ears anyway), I would expect the players
> (mplayer, ffplay, mpv, vlc) to do the reasonable thing:
> figure out the "right" position in the stereo panorama
> and play it "there".
> 
> But it seems only mplayer does that - for example,
> all the other players play the "center" channel on the left.
> 
> If anyone cares about this, can you plese confirm/report what
> the various players do with this on your stereo hardware?

If you tell the players that you really want stereo, they do the right
thing.

$ ffplay -af "aformat=channel_layouts=stereo" ...
$ mpv --audio-channels=stereo ...

If you don't tell the players what to do, they will send all the
channels and let the sound system deal with it.

ffplay0: 48000Hz, s16le, play 0:5, 9 blocks of 480 frames
ffplay0: allocated 4320/12000 fr buffers
sock 5: building SETVOL message, vol = 127
cmap_init: nch = 2, ostart = 0, onext = 0, istart = 0, inext = 4
dec: s16le, 6 channels

The sndiod mixing capabilities are very pragmatic with no smart logic
about how to distribute missing channels to the remaining ones.

It's best to tell the application what channel layout you want.

Best regards,
Stefan

Reply via email to