Help - Search - Members - Calendar
Full Version: Replaygain And Lame
Hydrogenaudio Forums > Lossy Audio Compression > MP3 > MP3 - General
Agent69
When I convert a .wav to .mp3 using Lame 3.97, I get this message:

CODE

Writing LAME Tag...done
ReplayGain: -4.5dB


However, when I look at the file's properties in Foobar2K, I don't see any mention of the file's ReplayGain values in either tab of the property dialog box . Is this a case where Foobar isn't showing them to me, or a case where Lame isn't writing the value to the MP3 file?

Thank you.
benski
There is a special spot in the LAME header for a replay gain value. However, I'm not aware of any decoder that reads it from there (most use ID3v2 and APEv2)
Agent69
Interesting. So Foobar can make use of the ReplayGain values in the Lame header but it doesn't show it?
Lyx
No, no application at all reads or writes it, as benski said. This - currently - is lame-only data.
Agent69
For some reason, I thought that Foobar would display the Lame assigned RPG values of a file when you brought up its properties, just like it does for ENC_DELAY, but I guess that I am mis-remembering.

Thanks!
robert
QUOTE(Lyx @ Jun 29 2008, 02:07) *

No, no application at all reads or writes it, as benski said. This - currently - is lame-only data.

I was told that mad decoder and its derivates uses it. And since iTunes looks into our enc_delay and padding information already, it may use this one too.
To be honest, I don't use LAME's replaygain code and turn it off with --noreplaygain to speed up encoding. I use foobar to add album-gain information to my files anyway.
gib
QUOTE(robert @ Jun 28 2008, 23:29) *
To be honest, I don't use LAME's replaygain code and turn it off with --noreplaygain to speed up encoding.

What a good idea. I just encoded a CD image to -V3 --vbr-new and then again with --noreplaygain added. The respective encode times were 159 seconds and 148 seconds. Nice. I'll happily take a free 7% speedup.

Edit: I just realized that foobar automatically adds the --noreplaygain switch, so I've already been taking advantage of that speedup unbeknownst to me. laugh.gif
Agent69
QUOTE(robert @ Jun 29 2008, 04:29) *

QUOTE(Lyx @ Jun 29 2008, 02:07) *

No, no application at all reads or writes it, as benski said. This - currently - is lame-only data.

I was told that mad decoder and its derivates uses it. And since iTunes looks into our enc_delay and padding information already, it may use this one too.
To be honest, I don't use LAME's replaygain code and turn it off with --noreplaygain to speed up encoding. I use foobar to add album-gain information to my files anyway.


Thanks for the information Robert. I will start using -noreplaygain as well, since nothing I use uses the information.
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.