Many thanks for your post. This is the exact same problem that I have.
Indeed, the channels order is messed up, having sound from center coming out of rear right speaker.
I am using
I installed mencoder-mt and mplayer-mt from there, made symbolic links to those 2 by using
sudo ln -s mencoder-mt mencoder
sudo ln -s mplayer-mt mplayer
Thanks to that little trick, I am able to transcode 720p movies with 5.1 channels using only an Intel Atom 330.
But this is not the point anyway ...
When looking in the man pages for mencoder-mt, it describes the "-af channels" option just like you mentionned in your post, so yes it is compatible with the latest builds.
Regarding PMS configuration:
What I did was go into expert settings, set the following line:
channels == 6 :: -af channels=6:6:0:0:1:2:2:3:3:5:4:1:5:4
I could refine this by setting acodec == ac3 too, maybe this problem is only ac3 related.
When I look in what's currently ongoing when playing the file, this is what I get:
mencoder -ss 0 -quiet /mnt/raid/Movies/video_file.mkv -quiet -quiet -oac lavc -of mpeg -lavfopts format=asf -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 6 -lavdopts debug=0:threads=2 -lavcopts autoaspect=1:vcodec=mpeg2video:acodec=ac3:abitrate=640:threads=2:keyint=1:vqscale=1:vqmin=2 -subcp cp1252 -subfont /usr/share/fonts/truetype/msttcorefonts/Arial.ttf -subfont-text-scale 3 -subfont-outline 1 -subfont-blur 1 -subpos 98 -quiet -quiet -sid 100 -quiet -quiet -ofps 24000/1001 -sub /mnt/raid/Movies/video_file.srt -af channels=6:6:0:0:1:2:2:3:3:5:4:1:5:4 -mc 0 -noskip -af lavcresample=48000 -srate 48000 -o /tmp/javaps3media/mencoder1248170282327
Anyway, it just seems to not take this channels mapping into account at all.
Is there anything I am missing here?
Krister: Would you mind posting the content of your PMS.conf file please? It would help me a lot.
Thanks in advance,