1. Fresh tarball of lame source. 2. Edited /lame-3.96.1/libmp3/lame/mpglib_interface.c Changed #include "interface.h" to #include "../mpglib/interface.h" 3. Same for /lame-3.96.1/mpglib/interface.c
4. $ ./configure --enable-nams CFLAGS="-march=athlon-xp -Wall -fstrength-reduce -finline-functions -freduce-all-givs -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -fprefetch-loop-arrays"; 5. I edited /lame-3.96.1/mpglib/MakeFile and changed: NASM_FORMAT = -f elf To this: NASM_FORMAT = -f win32 -DWIN32 6. $ make; make install I got a lame.exe but when I run it, I get: D:\Incoming\junk>lame.exe test.wav --alt-preset standard LAME version 3.96.1 (http://lame.sourceforge.net/) Using polyphase lowpass filter, transition band: 18671 Hz - 19205 Hz Encoding test.wav to test.wav.mp3 Encoding as 44.1 kHz VBR(q=2) j-stereo MPEG-1 Layer III (ca. 7.3x) qval=3 Frame | CPU time/estim | REAL time/estim | play/CPU | ETA 10798/10800 (100%)| 0:39/ 0:39| 0:39/ 0:39| 7.0546x| 0:00 32 [ 80] ** 128 [ 498] %%***** 160 [ 3202] %%%%%%%%%%%%%%%%%%%%%************************ 192 [ 4783] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%************************************ 224 [ 1569] %%%%%%%%************** 256 [ 473] %%%%*** 320 [ 195] %%* average: 188.1 kbps LR: 4638 (42.94%) MS: 6162 (57.06%) Writing LAME Tag...done ReplayGain: -6.5dB Looks okay, right? Well, no, because when I compare it to the ICL version of lame I got off rareware.org: D:\Incoming\junk>lame-icl4.5 test.wav --alt-preset standard LAME version 3.96.1 (http://lame.sourceforge.net/) CPU features: MMX (ASM used), 3DNow! (ASM used), SSE Using polyphase lowpass filter, transition band: 18671 Hz - 19205 Hz Encoding test.wav to test.wav.mp3 Encoding as 44.1 kHz VBR(q=2) j-stereo MPEG-1 Layer III (ca. 7.3x) qval=3 Frame | CPU time/estim | REAL time/estim | play/CPU | ETA 10798/10800 (100%)| 0:33/ 0:33| 0:33/ 0:33| 8.5437x| 0:00 32 [ 80] ** 128 [ 514] %%%***** 160 [ 3220] %%%%%%%%%%%%%%%%%%%%%%*********************** 192 [ 4759] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%************************************ 224 [ 1557] %%%%%%%*************** 256 [ 469] %%%%*** 320 [ 201] %%* average: 188.0 kbps LR: 4638 (42.94%) MS: 6162 (57.06%) Writing LAME Tag...done ReplayGain: -6.5dB You'll notice this version has a line that says, "CPU features: MMX (ASM used), 3DNow! (ASM used), SSE" where mine doesn't. What am I doing wrong? __________________________________ Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more. http://info.mail.yahoo.com/mail_250 _______________________________________________ mp3encoder mailing list [email protected] http://minnie.tuhs.org/mailman/listinfo/mp3encoder
