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: lame.exe fixed for .mp2 and mp3 decoding (Read 6749 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

lame.exe fixed for .mp2 and mp3 decoding

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
Greetings
Sonny Burnett.

lame.exe fixed for .mp2 and mp3 decoding

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

lame.exe fixed for .mp2 and mp3 decoding

Reply #2
Quote
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.
[{POST_SNAPBACK}][/a]


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 [a href="http://wiki.hydrogenaudio.org/index.php?title=LAME_Compiles]List of recommended LAME compiles[/url] 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
Greetings
Sonny Burnett.

lame.exe fixed for .mp2 and mp3 decoding

Reply #3
No, that's the standard compile. You need the one that is specifically described as the 'fixed' .exe.

lame.exe fixed for .mp2 and mp3 decoding

Reply #4
pretty much any other method of decoding mp{2,3} would be better than using lame...


later

lame.exe fixed for .mp2 and mp3 decoding

Reply #5
Quote
pretty much any other method of decoding mp{2,3} would be better than using lame...


later
[a href="index.php?act=findpost&pid=339575"][{POST_SNAPBACK}][/a]


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

Gr.
Gonzalo
Greetings
Sonny Burnett.

lame.exe fixed for .mp2 and mp3 decoding

Reply #6
Quote
pretty much any other method of decoding mp{2,3} would be better than using lame...[a href="index.php?act=findpost&pid=339575"][{POST_SNAPBACK}][/a]


Yes. People should be using Nitrane or DigiDeck.

lame.exe fixed for .mp2 and mp3 decoding

Reply #7
Quote
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
Greetings
Sonny Burnett.

lame.exe fixed for .mp2 and mp3 decoding

Reply #8
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
Greetings
Sonny Burnett.

lame.exe fixed for .mp2 and mp3 decoding

Reply #9
Quote
Quote
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
[a href="index.php?act=findpost&pid=339630"][{POST_SNAPBACK}][/a]

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

lame.exe fixed for .mp2 and mp3 decoding

Reply #10
Quote
[{POST_SNAPBACK}][/a]
Those words are sarcastic. He did not really recommend you to use Nitrane or DigiDeck.
[a href="index.php?act=findpost&pid=339639"][{POST_SNAPBACK}][/a]


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  [a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=30820&hl=]http://www.hydrogenaudio.org/forums/index....topic=30820&hl=[/url]
Greetings
Sonny Burnett.

lame.exe fixed for .mp2 and mp3 decoding

Reply #11
Quote
Quote
[{POST_SNAPBACK}][/a]
Those words are sarcastic. He did not really recommend you to use Nitrane or DigiDeck.
[a href="index.php?act=findpost&pid=339639"][{POST_SNAPBACK}][/a]


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  [a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=30820&hl=]http://www.hydrogenaudio.org/forums/index....topic=30820&hl=[/url]
[a href="index.php?act=findpost&pid=339641"][{POST_SNAPBACK}][/a]


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

lame.exe fixed for .mp2 and mp3 decoding

Reply #12
Quote
[a href="index.php?act=findpost&pid=339639"][{POST_SNAPBACK}][/a]
i believe he meant that rjamorim was being sarcastic, not you.    =o
[a href="index.php?act=findpost&pid=339646"][{POST_SNAPBACK}][/a]


Nop, he did not mean that.
Greetings
Sonny Burnett.


lame.exe fixed for .mp2 and mp3 decoding

Reply #14
Quote
Quote
[a href="index.php?act=findpost&pid=339639"][{POST_SNAPBACK}][/a]
i believe he meant that rjamorim was being sarcastic, not you.    =o
[a href="index.php?act=findpost&pid=339646"][{POST_SNAPBACK}][/a]


Nop, he did not mean that.
[a href="index.php?act=findpost&pid=339647"][{POST_SNAPBACK}][/a]

only zombiewerewolf can say for sure...    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. 
a windows-free, linux user since 1/31/06.

lame.exe fixed for .mp2 and mp3 decoding

Reply #15
Quote
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
[{POST_SNAPBACK}][/a]


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

Quote
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.
[a href="index.php?act=findpost&pid=273029"][{POST_SNAPBACK}][/a]

[a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=31024&view=findpost&p=273029]http://www.hydrogenaudio.org/forums/index....ndpost&p=273029[/url]

Quote
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
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.
[{POST_SNAPBACK}][/a]

[a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=30820&view=findpost&p=267076]http://www.hydrogenaudio.org/forums/index....ndpost&p=267076[/url]

Quote
I would not trust Lame's decoding too much.
There are probably still some uncorrected bugs in the mpglib version we are using.
[{POST_SNAPBACK}][/a]

[a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=30820&view=findpost&p=267087]http://www.hydrogenaudio.org/forums/index....ndpost&p=267087[/url]

Quote
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. 
Greetings
Sonny Burnett.


lame.exe fixed for .mp2 and mp3 decoding

Reply #17
@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.