Skip to main content


Please be aware that much of the software linked to or mentioned on this forum is niche and therefore infrequently downloaded. Lots of anti-virus scanners and so-called malware detectors like to flag infrequently downloaded software as bad until it is either downloaded enough times, or its developer actually bothers with getting each individual release allow listed by every single AV vendor. You can do many people a great favor when encountering such a "problem" example by submitting them to your AV vendor for examination. For almost everything on this forum, it is a false positive.
Topic: Renaming "back" channels of 5.1 FLACs (Read 430 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Renaming "back" channels of 5.1 FLACs


I understand that the correct channel naming for 5.1 layouts is: FL, FR, FC, LFE, SL, SR. The last two being "surround", not "back". It's 7.1ch that adds the back channels as BL and BR (or whatever letters are the standard). SL and SR are actually in the "middle" and the added two in 7.1 are placed at the back. Like this diagram. Everything makes sense and we're happy.

BUT, in the old days the common belief was that 5.1 had the "back" channels (BL and BR in the above diagram) and 7.1 added the "side" ones (the word "surround" didn't appear at all). Idk if that was some kind of old standard before the advent of 7.1 or it was wrong all along.

Thing is, some programs still carried the old standard into the era of the "surround" naming convention. Back when I made my own BD remuxes I had quite a lot of discs with LPCM 5.1 which I converted to FLAC. I don't remember which program(s) I used, ffmpeg, foobar probably, but all my FLACs ended up as "L R C LFE Lb Rb". Those last two should really be "Ls Rs". Assuming the program(s) didn't mess with the channels order then it isn't a real issue, the layout is correct, but is there a way of renaming the channels? If I re-encode the FLAC the channel layout carries along and I don't see how to alter it.

Nowadays I convert all LPCM with eac3to which writes the proper channel data as "L R C LFE Ls Rs".


Re: Renaming "back" channels of 5.1 FLACs

Reply #1
For FLAC you can use metaflac
Code: [Select]
Also, some software can remap channels during conversion, for example, foobar2000 with DSP Matrix mixer.

Notice, that some decoders which don't support reading WAVEFORMATEXTENSIBLE_CHANNEL_MASK from FLAC can still treat files as 5.1 back anyway.

SimplePortal 1.0.0 RC1 © 2008-2021