Is libmp3lame available for XP?

Posted on 2005-04-28
Last Modified: 2008-01-09
I need to batch convert 8000 large wav files into tiny mp3 files.  SOX from sourceforge would do it, and is available for windows, but the windows version doesn't support MP3.  

The documention says that MP3 is optionally supported,and requires libraries libmad and libmp3lame.

Are these files available for windows?  If so, from where?  
Question by:JohnStahlarbeiter
    LVL 18

    Accepted Solution

    I don't think is a windows build for libmp3lame, but you can find sources on sourceforge and build your own. For batch converting you can use lame_enc.dll, but you must find how to call the library from sox. Antaway, there is a shareware program that can do batch converting:

    Author Comment

    Good answer.

    And thanks for bothering to look up a shareware program for me.

    I've looked at a lot of shareware converters, this one was the first I tested.  The trial version will convert only 10 files in batch, and that works, but it loads (on my machine) only 2730 files in a batch.  I need to convert 8000.

    It looks like it divides any large number of files by an integer which is as small as possible to get a number of files it can handle (max 3000?).  

    I've written the support url to ask what the deal is.  Running 3 batch jobs wouldn't be so bad, I guess.  I haven't found ANY software (except SOX) that will do 8000 in a batch.

    LVL 18

    Expert Comment

    I use lame.exe for batch processing, with a bat file. I did'n't wrote the bat file, but I can put it here:

    @echo off
    rem  ---------------------------------------------
    rem  PURPOSE:
    rem  - put this Batch-Command on your Desktop,
    rem    so you can drag and drop wave files on it
    rem    and LAME will encode them to mp3 format.
    rem  - put this Batch-Command in a place mentioned
    rem    in your PATH environment, start the DOS-BOX
    rem    and change to a directory where your wave
    rem    files are located. the following line will
    rem    encode all your wave files to mp3
    rem     "lame.bat *.wav"
    rem  ---------------------------------------------
    rem                         C2000  Robert Hegemann
    rem  ---------------------------------------------
    rem  please set LAME and LAMEOPTS
    rem  LAME - where the executeable is
    rem  OPTS - options you like LAME to use

          set LAME=lame.exe
          set OPTS=--preset cd

    rem  ---------------------------------------------

          set thecmd=%LAME% %OPTS%
          lfnfor on
          if "%1"=="" goto endmark
          for %%f in (%1) do %thecmd% "%%f"
          if errorlevel 1 goto errormark
          goto processArgs
          echo ERROR processing %1
    rem      finished

    Author Comment

    Thanks!  I'll try it!


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Keep your audience engaged and get the most out of your next presentation with these quick Prezi tips.
    Many programs have tried to outwit PowerPoint in terms of technology and skill. These programs, however, still lack several characteristics that PowerPoint has possessed from the start. Here's why PowerPoint replacements won't entirely work for desi…
    This video will give a brief orientation and organization of Logic Pro X, and how to access different work spaces quickly with keyboard shortcuts.
    Viewers will learn how to use Macros for greater control over Rack parameters in Ableton Live. Group devices into a Rack by selecting them and pressing Command-G (Ctrl-G on PC): Control-click (Right Click on PC) a parameter to access pop-up menu, …

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now