Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: metaflac multichannel support? (Read 2511 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

metaflac multichannel support?

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.

metaflac multichannel support?

Reply #1
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.

metaflac multichannel support?

Reply #2
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. 

 

metaflac multichannel support?

Reply #3
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.