Help - Search - Members - Calendar
Full Version: metaflac multichannel support?
Hydrogenaudio Forums > Lossless Audio Compression > FLAC
nitro322
I'm ripping the 5.1 audio stream from a DVD-Video disc and compressing the resulting WAV files with FLAC. I'd like to add album replaygain values as well, but metaflac complains that "ERROR: # of channels (6) is not supported, must be 1 or 2". metaflac does not support multichannel tracks at all?

If not, how can I apply the replaygain data? metaflac is the only option that I know of. I know that flac can do it as well, but it won't work here because I'm encoding each track individually so that I can add track titles and numbers. I'm then attempting to use metaflac at the end of the process just to add the replaygain values.

Any ideas? Thanks.
jcoalson
the problem is only in adding replaygain (flac --replay-gain or metaflac --add-replay-gain). all code I've seen only works for 1 or 2 channels.
nitro322
So does the ReplayGain spec itself only support up to 2-channel audio? I tried doing some similar tests using oggenc w/ vorbisgain, and it too suffers this limitation. I'm trying to understand if the issue is with the utilities I'm trying to use (metaflac and vorbisgain), or if ReplayGain simply cannot be applied to multichannel audio by any program.

If it's the latter, that's rather unfortunate. sad.gif
graue
It's not totally clear how doing multichannel replaygain would work. There's another thread about it:

http://www.hydrogenaudio.org/forums/index....showtopic=20225

foobar2000 apparently will scan multichannel files for replaygain, but it's closed source and doesn't seem to document its formula. It's basically an issue of what way you assume people are going to have their 5.1 systems set up -- it would be good to know how foobar2000 does it; other than that, I can see no reason why the actual coding of support would be difficult.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.