For instance, I have a video (Alien Nation, ripped from DVD) with an usual 4.1-channel audio format. Using mkvmerge all I know is that the audio track has 5 channels. When I play the video using VLC, I can see more info about the configuration: 3F1R/LFE, meaning 3 front channels, 1 rear channel, and 1 low-frequency channel.
My work-around for now is to assume channel counts below 5 have no LFE channel, 5 and above do:
1 → 1
2 → 2
3 → 3
4 → 4
5 → 4.1
6 → 5.1
7 → 6.1
8 → 7.1
etc.
I’d like to be more certain, however, when the channel count includes an LFE channel or not.