Help - Search - Members - Calendar
Full Version: lame.exe fixed for .mp2 and mp3 decoding
Hydrogenaudio Forums > Lossy Audio Compression > MP3 > MP3 - General
burnett_s
Hi there !

In RareWares there are two versions of LAME 3.97 b1. Could someone explain me the difference between these two versions of LAME and should I replace the bundle lame.exe with the lame.exe fixed version ?

QUOTE
Encoders/decoders built using LAME 3.97 beta 1 2005-09-29

Bundle: includes lame.exe, lame_enc.dll (ICL4.5) and lameACM.acm (ICL9.0)
Download (594Kb)

lame.exe fixed for .mp2 and mp3 decoding: lame.exe only (ICL4.5) - also includes amended source code files and diff files. For mp3 and mp2 decoding, this now yields the same output as foobar2000 but the error checking remains unchanged.
2005-10-15
Download (222Kb)


Greetings
Gonzalo
john33
The difference is pretty much as indicated. The fixed version has mp2 decoding encabled and, more importantly, the mp3 decoding takes account of the encoder and decoder delays so that the output is sample accurate compared to the original source.

So, if you use lame for decoding, yes, you may wish to use this version. If you don't, it is of no interest to you. wink.gif
burnett_s
QUOTE(john33 @ Nov 4 2005, 06:35 AM)
The difference is pretty much as indicated. The fixed version has mp2 decoding encabled and, more importantly, the mp3 decoding takes account of the encoder and decoder delays so that the output is sample accurate compared to the original source.

So, if you use lame for decoding, yes, you may wish to use this version. If you don't, it is of no interest to you. wink.gif
*



Thank you John for your reply !
Well yes, sometimes I use lame for decoding too 'cause I don't like to burn mp3s directly to a cd-r, I like to decode to wav first. I don't trust the "on the fly" method.
On the HA wiki page of List of recommended LAME compiles the Win32 compile belongs to rarewares.org. Do you know if that link of lame3.97b1 already includes the fixed version of lame or not?

Thank you for your help.
Greetings
Gonzalo

john33
No, that's the standard compile. You need the one that is specifically described as the 'fixed' .exe. smile.gif
xmixahlx
pretty much any other method of decoding mp{2,3} would be better than using lame...


later
burnett_s
QUOTE(xmixahlx @ Nov 4 2005, 05:33 PM)
pretty much any other method of decoding mp{2,3} would be better than using lame...


later
*



I'm sorry, I did not understand what you meant.

Gr.
Gonzalo
rjamorim
QUOTE(xmixahlx @ Nov 4 2005, 06:33 PM)
pretty much any other method of decoding mp{2,3} would be better than using lame...
*


Yes. People should be using Nitrane or DigiDeck.
burnett_s
QUOTE(rjamorim @ Nov 4 2005, 10:38 PM)
Yes. People should be using Nitrane or DigiDeck.


In the wiki page doesn't appear these decoders ? Do you know why?
DigiDeck is recommended too ?
The development stopped in mid-1998 and in the wiki page of HA says:
Older decoders could provide bad quality, due mostly to encoder implementation errors. Such bad encoders include Winamp before version 2.666 (using Playmedia's low quality AMP engine), decoders based on old XAudio, and Digideck. Also, some older decoders did not work well with VBR streams.

Retrieved from "http://wiki.hydrogenaudio.org/index.php?title=Best_MP3_Decoder"

Gr.
Gonzalo


burnett_s
OK, just to clear this thing.
I use LAME 3.97b1 to encode to MP3.
And I also use it to decode to WAV.
Should I continue using LAME for decoding ?
Should I use another decoder ?

Gr.
Gonzalo
zombiewerewolf
QUOTE(burnett_s @ Nov 5 2005, 10:07 AM)
QUOTE(rjamorim @ Nov 4 2005, 10:38 PM)
Yes. People should be using Nitrane or DigiDeck.


In the wiki page doesn't appear these decoders ? Do you know why?
DigiDeck is recommended too ?
The development stopped in mid-1998 and in the wiki page of HA says:
Older decoders could provide bad quality, due mostly to encoder implementation errors. Such bad encoders include Winamp before version 2.666 (using Playmedia's low quality AMP engine), decoders based on old XAudio, and Digideck. Also, some older decoders did not work well with VBR streams.

Retrieved from "http://wiki.hydrogenaudio.org/index.php?title=Best_MP3_Decoder"

Gr.
Gonzalo
*


Those words are sarcastic. He did not really recommend you to use Nitrane or DigiDeck.
burnett_s
QUOTE(zombiewerewolf @ Nov 5 2005, 01:16 AM)
*

Those words are sarcastic. He did not really recommend you to use Nitrane or DigiDeck.
*



1. I was NOT sarcastic.
2. Anyway, rjamorim is the only one who can says if I was sarcastic or not, not you.

Gonzalo

EDIT : I figured this out http://www.hydrogenaudio.org/forums/index....topic=30820&hl=
n3tfury
QUOTE(burnett_s @ Nov 4 2005, 10:24 PM)
QUOTE(zombiewerewolf @ Nov 5 2005, 01:16 AM)
*

Those words are sarcastic. He did not really recommend you to use Nitrane or DigiDeck.
*



1. I was NOT sarcastic.
2. Anyway, rjamorim is the only one who can says if I was sarcastic or not, not you.

Gonzalo

EDIT : I figured this out http://www.hydrogenaudio.org/forums/index....topic=30820&hl=
*



i believe he meant that rjamorim was being sarcastic, not you. =o
burnett_s
QUOTE(n3tfury @ Nov 5 2005, 02:06 AM)
*

i believe he meant that rjamorim was being sarcastic, not you.    =o
*



Nop, he did not mean that.
kjoonlee
Oh yes he did.
VCSkier
QUOTE(burnett_s @ Nov 5 2005, 01:10 AM)
QUOTE(n3tfury @ Nov 5 2005, 02:06 AM)
*

i believe he meant that rjamorim was being sarcastic, not you.    =o
*



Nop, he did not mean that.
*


only zombiewerewolf can say for sure... wink.gif lol

i assure you, burnett_s, rjamorim was certainly being sarcastic, as he very often is. we've just grown to love and accept it around here. rolleyes.gif
burnett_s
QUOTE(burnett_s @ Nov 5 2005, 12:27 AM)
OK, just to clear this thing.
I use LAME 3.97b1 to encode to MP3.
And I also use it to decode to WAV.
Should I continue using LAME for decoding ?
Should I use another decoder ?

Gr.
Gonzalo
*



Reading a lot of posts here in HA I discovered that decoding using Foobar's diskwriter is the preferred method.

QUOTE(timcupery @ Feb 13 2005, 01:58 AM)
There are a couple of reasons I decode using Foobar's diskwriter instead of Winamp's. These won't necessarily matter for people's mp3 files...
1. Foobar reads LAME headers to do gapless decodes. Whereas Winamp will add 576 samples of basically silence, at the beginning, and whatever number of leftover samples at the end of the track. This only really matters with live music, or songs that are supposed to be gapless.
2. With foobar you can dither the output. This is useful if you have significantly lowered the volume of the mp3 files using replaygain - it's possible that you'll get a noise floor that's too low with the outputted wave files. And this doesn't matter for files that haven't had their volume lowered with replaygain, or have only been dropped a small bit.
*


http://www.hydrogenaudio.org/forums/index....ndpost&p=273029

QUOTE(timcupery @ Feb 13 2005, 02:27 PM)
Mp3 files are in frames of 1152 samples each. CD-audio tracks are in "frames" (basically) of 588 samples (75 of these per second, for a total of 44100 samples per second).
Most mp3 encoders introduce a delay of some samples into the first frame before the actual info from the encoded wav begins. In LAME, this delay is 576 samples.
Also note that since mp3 files need to be an integer of frames (you can't really have half a frame, or if you can, your mp3 header information is messed up), there will be some null samples at the end.
LAME deals with this by writing info to the header on the number of samples of delay (at the start) and padding (at the end). So a file might say
enc_delay: 576
enc_padding: 1644
Foobar reads this information and does not play (or decode) the initial 576 samples, or the last 1644, thus providing true gapless playback. So you end up with a decoded file the exact length of the initial encoded wav file.
Winamp ignores this information, and thus plays (and decodes) the extra samples. And it's not always clean silence, sometimes with a very slight baseline noise, so you can't actually get rid of the initial 576 samples from a winamp decode by "removing null samples".

So the upshot: if decoding a live album that was encoded with LAME, use foobar.

http://www.hydrogenaudio.org/forums/index....ndpost&p=273153

QUOTE(dev0 @ Jan 21 2005, 02:43 PM)
LAME uses mpglib, which is known to be reliable, but doesn't decode gaplessly.
foobar2000 uses mpglib too, decodes gaplessly and lets you use its advanced dithering algorithms for optimal quality beyond audibility.
*


http://www.hydrogenaudio.org/forums/index....ndpost&p=267076

QUOTE(Gabriel @ Jan 21 2005, 03:45 PM)
I would not trust Lame's decoding too much.
There are probably still some uncorrected bugs in the mpglib version we are using.
*


http://www.hydrogenaudio.org/forums/index....ndpost&p=267087

QUOTE(picmixer @ Jan 21 2005, 09:16 PM)
Foobar2000 uses a custom modified version of mpglib as dev0 already said and should be absolutely safe for decoding LAME encoded mp3 to wav. Plus you will be sure that all your tracks will be decoded gapless.

http://www.hydrogenaudio.org/forums/index....ndpost&p=267133

Well, it seems that Foobar2000 is the best. tongue.gif

Never_Again
Good research, but if had you had dug deeper you would have found that Apollo is the best MP3 decoder: best MP3 decoder... for sound quality, for Winamp or other apps.
zombiewerewolf
@burnett_s
If you regularly read this forum, you would know who I mentioned about.
Anyway, I meant rjamorim who was sarcastic, not you.

I'm sorry that I disappointed you with an ambiguous off-topic post.
kjoonlee
Best for sound quality? Can you prove that? smile.gif

http://wiki.hydrogenaudio.org/index.php?ti...est_MP3_Decoder
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.