SOFT HINTS > HOW TO ADD LAME MP3 ENCODER TO AIMP3 AUDIO CONVERTER
HOW TO ADD LAME MP3 ENCODER TO AIMP3 AUDIO CONVERTER PDF Print E-mail
(35 votes, average: 4.40 out of 5)

Since the introduction of AIMP version 3 the lame mp3 encoder was removed from AIMP audio converter. Haven't understood why and why it was not at least replaced by another mp3 encoder. Anyways the L.A.M.E. remains the best mp3 encoder according to my knowledge and AIMP the best and lightest MP3 player out there and moreover includes all the basic tools, like a converter and an mp3 ID3 tagger and renamer.
So here are the steps I took to install LAME functionality back to AIMP.

1. Download the latest LAME package (3.99.5) from here (http://www.rarewares.org/mp3-lame-bundle.php) or here (http://lame.sourceforge.net/) . Choose 32bit or 64bit according to your operating system.
2. From the zip bundle unzip "lame.exe" and "lame_enc.dll "
to "C:\Program Files (x86)\AIMP3\Modules" (windows 7 or windows 8).

Now there two ways you can follow from now on.
1. Locate in the folder above the file "Encoders.xml" and rename it to something like "Encoders.old" or delete it. (Note this method works only with the 32bit version of LAME. )
Start AIMP3 audio converter and now the MP3 format exists again and clicking on options bring up a menu with all the 3 basic encoding parameters of LAME. That is Mode (VBR, ABR, CBR), Quality (VBR quality or bitrate for CBR, ABR), and finally the Channels (Mono , Stereo, Joint Stereo). Remember that the default Channel setup is joint stereo . Don't use Stereo or Dual or Mono unless you know what you are doing.

image002
Note2: After AIMP updates to newer version if MP3 dissapears you need to rename the "Encoders.xml" file again since it was recreated.

2. The above works OK but what if you want to use advanced parameters or the 64bit version of LAME. In that case you need to open the "Encoders.xml" file with a text editor (like notepad++), go at the end of the file and find the "</encoders>" tag. Place the cursor at the beginning of line and press ENTER to make an empty line. Now place the cursor at the empty line and and paste the following code:

<encoder Name="Lame MP3" App="lame.exe">
<description>
<inputformats type="autogen">
<autogen SampleRates="8000;11025;12000;16000;22050;24000;32000;44100;48000" SampleFormats="16" Channels="1;2" />
</inputformats>
<property name="Ext" value=".mp3" />
</description>
<presets>
<preset Name="CBR 320 kbps INSANE" cmdparams="-b 320 -q 0 - %output%" />
<preset Name="CBR 256 kbps" cmdparams="-b 256 -q 0 - %output%" />
<preset Name="CBR 192 kbps" cmdparams="-b 192 -q 0 - %output%" />
<preset Name="CBR 128 kbps" cmdparams="-b 128 -q 0 - %output%" />
<preset Name="CBR 96 kbps" cmdparams="-b 96 -q 0 - %output%" />
<preset Name="VBR UHQ V0 (245Kbps)" cmdparams="-V 0 -q 0 - %output%" />
<preset Name="VBR HQ V1 (220Kbps)" cmdparams="-V 1 -q 0 --lowpass 19.7 -b128 - %output%" />
<preset Name="VBR HQ V2 (190Kbps)" cmdparams="-V 2 -q 0 --lowpass 19.7 -b96 - %output%" />
<preset Name="VBR STANDART V3 (175Kbps)" cmdparams="-V 3 -q 0 --lowpass 19 -b96 - %output%" />
<preset Name="VBR PORTABLE V4 (165Kbps)" cmdparams="-V 4 -q 0 --lowpass 18 -b128 - %output%" />
<preset Name="VBR PORTABLE V5 (130Kbps)" cmdparams="-V 5 -q 0 --lowpass 18 -b112 - %output%" />
<preset Name="VBR PORTABLE V6 (115Kbps)" cmdparams="-V 6 -q 0 --lowpass 17 -b112 - %output%" />
<preset Name="ABR RADIO quality 80kbps " cmdparams="---preset 80 -q0 --lowpass 15 - %output%" />
<preset Name="ABR PHONE quality 56kbps mono" cmdparams="--preset 56 -q0 --lowpass 15 -m m - %output%" />
</presets>
</encoder>

Here is a picture of how it should look like .

image004

3. Now you are almost ready to rip an (unprotected) audio cd to mp3. At the audio converter add files , select the cd drive , type "*" at file name and press ENTER. All audio files will come up. Select all with Ctrl + A and press open.
image006

4. Now you see something like that.
image008
Choose Format: Lame MP3.
Enable rename output file with the following mask %tn. %R - %T (track number. Artist - Title).
Enable Move output to and select where you want to save the output files.

Finally at the format open the encoding parameters drop down menu and choose your wanted quality.
image010
Leave the Sample rate, Sample format and channels unchecked unless you know what you are doing.

5. Select to output an mp3 for each audio input file from the drop down at bottom right.
Capture-11
6. You are ready. Press start.

Notes.
Lame encoder profile command lines in the Encoders.xml are my personal selections based on various forums out there. You can of course alter the settings or create your liking.

 

Add your comment

Your name:
Subject:
Comment:

Anti-spam: complete the taskJoomla CAPTCHA
Comments (23)
Thank You
23Sunday, 09 August 2015 20:52
Percy
Thanks be to the poster. I once came here and it worked the first time, but I had to perform a clean install of my pc and had to come back. It worked again, 2/2
Encoders
22Wednesday, 27 May 2015 17:15
Ja
Why should I use encoders file. Xml, yet with him encode to mp3 functioning properly.?
Access to encoders.xml file
21Sunday, 26 April 2015 19:07
Dj Mentzik
Reply to James: Since the xml file is in protected area a work around is like that.
1. Make a copy of original xml with some other name
2. Edit the copy of xml file.
3. Rename the original by chaging the extention eg. .xmlorg
4. Rename the copied xml file to encoders.xml
This way you also keep the org in case you need it for backup.
Thank you so much!!!
20Sunday, 26 April 2015 18:16
Yak
Thank you so much!!!
nope..........
19Sunday, 05 April 2015 01:27
james nigh
i just keep getting a "make sure this file isn't open in another program" when trying to save encoders.xml.

even THOUGH AIMP3 IS CLOSED!!!!!!!! >:(
poland
18Saturday, 21 March 2015 22:35
piterson poland
thx, very nice quality!super code
big up !
17Sunday, 04 January 2015 11:29
bboyGogus
Yes ! You help me a lot ! Big up from Poland !
new folder of Encoders in AIMP3 ver3.60 (Beta)
16Thursday, 18 December 2014 20:49
s3n0
You must download lame enconder and paste him into new directory now:
"\AIMP3\System\Encoders\lame_enc.dll"
Gracias
15Monday, 10 November 2014 19:20
El mudo Vazquez
Grande viejitaaaaa
Germany
14Tuesday, 05 August 2014 16:45
Thomas
Thank you very much.
Thailand
13Saturday, 28 June 2014 06:12
Government Programmer
Thank you very much man.
aimp3 mp3 fix
12Saturday, 19 April 2014 07:45
Leegb11
Good job, mate !
awesome!
11Sunday, 16 March 2014 22:04
rajat
this worked really well... nice instruction set
AIMP3 Converter
10Friday, 10 January 2014 11:34
Javier Lobo
Thanks!
Thanks!
9Saturday, 28 December 2013 09:20
KanKuna
Worked like a charm. Got ripping in a minute! Thanks!
Thank you
8Tuesday, 17 December 2013 01:45
nope.avi
Great tutorial
thanks
7Wednesday, 31 July 2013 23:17
George Mentzikof
thanks a bunch! worked like a charm
Fixed the broken link.
6Sunday, 30 June 2013 20:35
Dj mentzik
Thank you guys. Glad I helped!
Thanks!!!!!!!!
5Wednesday, 19 June 2013 17:20
nichita2
i never found some instruction and encoder codes.
Some help for you...
4Wednesday, 19 June 2013 03:33
James
I was having trouble at first, but here's what I did:

First, your link is broken:

"http://www.musicalgalaxy.com/newsite/(http://www.rarewares.org/mp3-lame-bundle.php"


Should be linked to simply:

http://www.rarewares.org/mp3-lame-bundle.php


Second, THAT site has 32- and 64-bit versions - I downloaded the 64-bit version, and it DOES have the .exe file and the .dll file. The second link you provided doesn't have these files included in the package.

Hope this helps... that is where I got stuck..
good job
3Tuesday, 28 May 2013 12:21
yakamoz
I did everyting the same way and its work very well
Thanks...

(a little things, the link you put on the site (http://www.rarewares.org/mp3-lame-bundle.php) does not work when I click on it.
Cant find lame.exe
2Wednesday, 24 April 2013 13:45
Josh Baker
Hi ive tried extrating all the files from the lame download and cannot find a file called lame.exe or lame_enc.dll any help?
Thank you
1Sunday, 21 April 2013 19:13
Dave
Thank you so much for this tip! AIMP is a fine program with wonderful sound and options! LAME 64 w/AIMP is powerful once these instructions are followed! :-)
What do you want from my site?