HydrogenAudio

Lossless Audio Compression => FLAC => Topic started by: chapas on 2007-03-15 21:54:42

Title: Foobar2k Converter + FLAC + --replay-gain flag not working
Post by: chapas on 2007-03-15 21:54:42
Hello. I'm trying to use Foobar2k converter module plus flac.exe (1.1.2) to convert some Monkey's Audio files to FLAC. If I introduce the flag "--replay-gain" in the Parameters section of Foobar2k converter, the encoding fails instantly with this error: "Error writing to file (Encoder has terminated prematurely with code 1; please re-check parameters) : file://C:\test.flac". I don't know how to get a more verbose error. Can someone help me?

The Parameters:
Code: [Select]
-s -5 --replay-gain - -o %d
Title: Foobar2k Converter + FLAC + --replay-gain flag not working
Post by: Junon on 2007-03-15 22:17:43
-s -V -5 %s -o %d --replay-gain works, simply copy & paste it. But for what reason would you have to include the ReplayGain scan in the command line? Foobar features its own scanner, providing both track and album gain.

Besides, FLAC 1.1.2 isn't up-to-date. The current version is 1.1.4 (http://sourceforge.net/project/showfiles.php?group_id=13478&package_id=12675)
Title: Foobar2k Converter + FLAC + --replay-gain flag not working
Post by: chapas on 2007-03-17 15:48:42
Thanks! It worked. So it seems I can't do replaygain and piping at the same time, so I need to specify a tempfile. I just updated to flac 1.1.4 too, thanks for the tip