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 3.98 Final (Read 232704 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

LAME 3.98 Final

Reply #125
If space is not an issue, I would recommend going with lossless (FLAC, or similar). That way you can be sure you have no audible artifacts, and you can transcode (for an iPod, for example) at will. I'm not an MP3 hater, but lossy compression only makes sense in situations where space is an issue. Do you have any reason to prefer very large MP3s to lossless?

Yes, sorry I did not make that clear in my initial post. I want to use the mp3's for my iPod. I already use flac to stream music within the home, but lossless files (flac or aac) are going to limit the amount of music I can get on the iPod.

Rgds

LAME 3.98 Final

Reply #126
Yes, sorry I did not make that clear in my initial post. I want to use the mp3's for my iPod. I already use flac to stream music within the home, but lossless files (flac or aac) are going to limit the amount of music I can get on the iPod.

Rgds

AAC is not lossless, you mean ALAC.

That said, if it's just for the iPod and you don't need the better general compatibility of MP3s, use AAC instead of MP3; for the same quality the files are smaller. Only drawback is the encoder is half the speed of LAME.

LAME 3.98 Final

Reply #127
Thanks
EAC>1)fb2k>LAME3.99 -V 0 --vbr-new>WMP12 2)MAC-Extra High

LAME 3.98 Final

Reply #128
maybe it is time for some changes
a. i wouldn't recommend any particular version
b. just update the thread with recommended usage command line(s)/switches when there is a decently different/newer version out there


This is a good idea, i thought about that as well. I updated the Wiki accordingly.

LAME 3.98 Final

Reply #129
OK, I've updated the lame.exe download now compiled to use the libsndfile 1.0.18pre22a dll and I've also added a build of lamedropXPd that works with the same dll and both now accept FLAC files as input and process accordingly. 

(Both builds include the new dll.)

Hi John,
Whenever you get around to updating the "lame_enc.dll modified to use INI File" for 3.98, is there any way you can add more options to what you can specify in the INI file? for example, Mono/JStereo switch, CBR/ABR switch, CBR/ABR bitrate value (and these would be ignored when a LamePreset is used)? I think these additional switches would make the binary more useful to more people. I would appreciate it if you could consider implementing some or all of these switches. Thanks

LAME 3.98 Final

Reply #130
I have uploaded a sample, that both LAME 3.97 and 3.98 struggle at -V3 and -V2. I got 10/10 with 3.97, since there's a smear at 0:13. The smear seems to have gone on 3.98, but there is a warbling noise on the distorted guitar riff at the start of the track.

Linchpin Sample

Code: [Select]
foo_abx 1.3.3 report
foobar2000 v0.9.5.5
2008/08/09 17:55:53

File A: C:\Temp\Linchpin3.98V2.mp3
File B: C:\Temp\Listen Tests\Linchpin.wav

17:55:53 : Test started.
17:56:12 : 01/01  50.0%
17:56:17 : 02/02  25.0%
17:56:33 : 03/03  12.5%
17:57:08 : 04/04  6.3%
17:57:31 : 05/05  3.1%
17:57:38 : 06/06  1.6%
17:58:05 : 07/07  0.8%
17:58:30 : 08/08  0.4%
17:58:36 : 09/09  0.2%
17:58:42 : 10/10  0.1%
17:58:50 : 11/11  0.0%
17:59:29 : 12/12  0.0%
17:59:31 : Test finished.

 ----------
Total: 12/12 (0.0%)
"I never thought I'd see this much candy in one mission!"

LAME 3.98 Final

Reply #131

OK, I've updated the lame.exe download now compiled to use the libsndfile 1.0.18pre22a dll and I've also added a build of lamedropXPd that works with the same dll and both now accept FLAC files as input and process accordingly. 

(Both builds include the new dll.)

Hi John,
Whenever you get around to updating the "lame_enc.dll modified to use INI File" for 3.98, is there any way you can add more options to what you can specify in the INI file? for example, Mono/JStereo switch, CBR/ABR switch, CBR/ABR bitrate value (and these would be ignored when a LamePreset is used)? I think these additional switches would make the binary more useful to more people. I would appreciate it if you could consider implementing some or all of these switches. Thanks

Sorry, I've not been ignoring this but I was away when you posted it!  I plan to take a look at this over the next week, or so.

LAME 3.98 Final

Reply #132
There is new version of the modified dll now at the Lame Libraries page at Rarewares. This is a 3.98 ICL10.1 compile and contains much more flexibility than previously. From the new .ini file:
Code: [Select]
[lame_enc]
LamePreset=V2.00
Stereo=JS
Scale=0.0
ExperimentalY=0

REM LamePreset is specified as follows:
REM  For VBR settings V0.00 to V9.00, specify LamePreset=Vn.nnn.
REM  The specified value will be chacked and defaulted to V2.0 if invalid.
REM
REM  For ABR settings, specify LamePreset=ABRnnn, where nnn = desired bitrate.
REM  The specified value will be checked and limited to within 8 - 320.
REM  
REM  Similarly, for CBR, specify LamePreset=CBRnnn, where nnn = desired bitrate.
REM  For CBR, the indicated bitrate will be checked and will be adjusted to
REM  the nearest valid CBR bitrate.
REM  
REM  If the 'LamePreset' line is invalid, it will default to 128kbps CBR, as normal.
REM
REM To specify Mono, specify Stereo=Mono
REM  Please Note: In order for downmixing to Mono to work correctly, you will
REM  need to select a setting on the CDex Settings page that allows you to
REM  select Mono. Failure to do this will result in incorrect encoding.
REM To specify Joint Stereo, specify Stereo=JS
REM The default is Joint Stereo.
REM
REM Scale can be used to apply the ReplayGain factor to scale the samples
REM  as floating point numbers within LAME before encoding.
REM  Valid values are > 0.0 and less than 1.0, default = 0.0.
REM
REM ExperimentalY is used to toggle the switch ON or OFF. Set to 1 if you want
REM  it changed to ON or OFF, depending whether it is already set.
REM  If set to anything other than 1,it will be ignored.
REM
REM NOTE: ONLY the FIRST 5 lines of this file are read and used.

LAME 3.98 Final

Reply #133
@ john33: Thanks a million!
Sorry for my poor English, I'm trying to get better... ;)
"The greatest trick the Devil ever pulled, was convincing the world he didn't exist."

LAME 3.98 Final

Reply #134


OK, I've updated the lame.exe download now compiled to use the libsndfile 1.0.18pre22a dll and I've also added a build of lamedropXPd that works with the same dll and both now accept FLAC files as input and process accordingly. 

(Both builds include the new dll.)

Hi John,
Whenever you get around to updating the "lame_enc.dll modified to use INI File" for 3.98, is there any way you can add more options to what you can specify in the INI file? for example, Mono/JStereo switch, CBR/ABR switch, CBR/ABR bitrate value (and these would be ignored when a LamePreset is used)? I think these additional switches would make the binary more useful to more people. I would appreciate it if you could consider implementing some or all of these switches. Thanks

Sorry, I've not been ignoring this but I was away when you posted it!  I plan to take a look at this over the next week, or so.

Thank you very much, John! I was away for a while also, and when I visited HA today, I was amazed how much work you have done for my request! Thank you again!!

LAME 3.98 Final

Reply #135
Great news!
Lame 3.98 for Mac OS X (universal binary) available on my website.


I've compiled it long time ago on my G5 myself, but I just tried your universal binary: I get a bus error on my iMac G5  Maybe it's not realy "universal"?
WavPack 4.50.1 -hhx6 | LAME 3.98.2 -V 0

LAME 3.98 Final

Reply #136
I'm a Linux newbie.

Where and how I can get Lame 3.98 for Ubuntu Linux 8.04 LTS ? 

Now it's too early to puzzle with compiling my own stuff from the source code...
Sorry for my poor English, I'm trying to get better... ;)
"The greatest trick the Devil ever pulled, was convincing the world he didn't exist."

LAME 3.98 Final

Reply #137
You will have to :

- wait for a hardy backport
- wait for intrepid release
- use win32 binary through WINE
- backport source from intrepid , then build a .deb for your release.
- download build-essential & compile the old way  ./configure [options] && make && sudo make install

LAME 3.98 Final

Reply #138
You will have to :

- wait for a hardy backport
- wait for intrepid release
- use win32 binary through WINE
- backport source from intrepid , then build a .deb for your release.
- download build-essential & compile the old way  ./configure [options] && make && sudo make install
Friend of mine has suggested me to add a custom repository. I've added those mentioned there and there was Lame 3.98 available.

Unfortunately I don't have any idea if I would brake something by that or cause any problems...
Sorry for my poor English, I'm trying to get better... ;)
"The greatest trick the Devil ever pulled, was convincing the world he didn't exist."

LAME 3.98 Final

Reply #139

You will have to :

- wait for a hardy backport
- wait for intrepid release
- use win32 binary through WINE
- backport source from intrepid , then build a .deb for your release.
- download build-essential & compile the old way  ./configure [options] && make && sudo make install
Friend of mine has suggested me to add a custom repository. I've added those mentioned there and there was Lame 3.98 available.

Unfortunately I don't have any idea if I would brake something by that or cause any problems...



Thats the debian repo i use but its not for ubuntu. I think the lame package is okay for you since it won't pull in harmfull stuff - if you want to be safe download the .deb only .

LAME 3.98 Final

Reply #140
For the benefit of those who have been after a 64 bit compile, I've just tested a 64 bit Intel compile against the standard 32 bit version, as posted on Rarewares. It is important to remember that the 64 bit compile is NOT using the nasm routines as they are incompatible, at least currently. This test was run under WindowsXP Pro x64, the system comprising: e6700 @ 3.2GHz, 4GB OCZ Reaper PC2 6400, Asus P5W-DH De Luxe.
Code: [Select]
F:\Testdir>lame -V 2 01.wav 01.mp3
LAME 3.98 64bits (http://www.mp3dev.org/)
CPU features: , SSE (ASM used), SSE2
Using polyphase lowpass filter, transition band: 18671 Hz - 19205 Hz
Encoding 01.wav to 01.mp3
Encoding as 44.1 kHz j-stereo MPEG-1 Layer III VBR(q=2)
    Frame          |  CPU time/estim | REAL time/estim | play/CPU |    ETA
  9211/9211  (100%)|    0:06/    0:06|    0:06/    0:06|   37.467x|    0:00
32 [  76] %*
40 [   1] %
48 [   0]
56 [   0]
64 [   3] %
80 [   4] %
96 [  11] %
112 [  17] %
128 [  46] %
160 [2183] %%%%%%%%%%%%%%%*****************
192 [4756] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%**************************
224 [1159] %%%%%%%**********
256 [ 412] %%%***
320 [ 543] %%%%%***
-------------------------------------------------------------------------------
   kbps        LR    MS  %     long switch short %
  196.8       53.7  46.3        88.9   6.2   4.9
Writing LAME Tag...done
ReplayGain: -1.8dB

F:\Testdir>lame -V 2 01.wav 01.mp3
LAME 3.98 32bits (http://www.mp3dev.org/)
CPU features: MMX (ASM used), SSE (ASM used), SSE2
Using polyphase lowpass filter, transition band: 18671 Hz - 19205 Hz
Encoding 01.wav to 01.mp3
Encoding as 44.1 kHz j-stereo MPEG-1 Layer III VBR(q=2)
    Frame          |  CPU time/estim | REAL time/estim | play/CPU |    ETA
  9211/9211  (100%)|    0:06/    0:06|    0:06/    0:06|   39.896x|    0:00
32 [  76] %*
40 [   1] %
48 [   0]
56 [   0]
64 [   3] %
80 [   4] %
96 [  11] %
112 [  16] %
128 [  47] %
160 [2188] %%%%%%%%%%%%%%%*****************
192 [4748] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%**************************
224 [1161] %%%%%%%**********
256 [ 413] %%%***
320 [ 543] %%%%%***
-------------------------------------------------------------------------------
   kbps        LR    MS  %     long switch short %
  196.8       53.7  46.3        88.9   6.2   4.9
Writing LAME Tag...done
ReplayGain: -1.8dB

F:\Testdir>

As you can see, although the 64 bit compile comes close, the standard 32 bit compile is still faster. The small encoding discrepancies are inaudible, to my ears at least! 

It's also important to bear in mind that the 64 bit compile is using compiler optimisations alone, no code changes have been made other than to exclude the nasm routines from the build.

LAME 3.98 Final

Reply #141
LAME 3.98.2 source are available on SF.net, dated 2008-09-22.

The following notes are attached to the release:

Quote
The 3.98.2 release is a maintenance release over 3.98.
Changes do not affect audio quality, but operational bug fixes only:
- build system related: some fixes for mp3rtp and abx tools
- encoder padding values were not correct when resampling was involved
- frequency filtering API was broken; in case you want to use your own higher quality filtering method, it is now possible again to disable LAME buildin filters
- ID3 tagging:
--id3v1-only switch did not work anymore, fixed
--tg <genre> improved, now it matches more often one of the ID3v1 genres, even when small spelling errors are involved
--add-id3v2-size <n> is a new switch, it allows to define your own padding of n bytes.

NOTE: Version 3.98.1 contains a bug that will let it crash when encoding CBR/ABR or with old VBR at setting q0, q1 or q2!

LAME 3.98 Final

Reply #142
LAME 3.98.2 source are available on SF.net, dated 2008-09-22.
.....

I've not been at home since late Friday, and I will not be back until later this evening so, sorry about the absence of new builds on Rarewares, but I'll attend to it on my return either later tonight, or tomorrow.

LAME 3.98 Final

Reply #143
Thank you for your consistent dedication, John. It is much appreciated

LAME 3.98 Final

Reply #144
A full set of compiles is now on Rarewares.

LAME 3.98 Final

Reply #145
Thanks
Blubb

LAME 3.98 Final

Reply #146
Thnx for the new complies john33

LAME 3.98 Final

Reply #147
Thank you Mr. John33 


 

LAME 3.98 Final

Reply #149
and 3.98.2 is somehow broken. It doesn't compile on OS X. Neither with gcc 3.3 nor with 4.0.1 :
Code: [Select]
(cd .libs/libmp3lame.lax/libmpgdecoder.a && ar x /Users/frankseyen/Desktop/Lame 3.98.2/lame-398-2/libmp3lame/../mpglib/.libs/libmpgdecoder.a)
ar: /Users/frankseyen/Desktop/Lame: Inappropriate file type or format
make[3]: *** [libmp3lame.la] Error 1

WavPack 4.50.1 -hhx6 | LAME 3.98.2 -V 0