ffmpeg -i input.mkv -c:v libx265 -c:a libopus -b:a 128k -ac6 output.mkv
NOTE: The following switches need to be specifically set:
-b:a 128k -ac 6