• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1011
  • Last Modified:

Is libmp3lame available for XP?

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?  
0
JohnStahlarbeiter
Asked:
JohnStahlarbeiter
  • 2
  • 2
1 Solution
 
crissandCommented:
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:

http://www.allformp3.com/mp3_wav/mwc2.htm
0
 
JohnStahlarbeiterAuthor Commented:
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.

John
0
 
crissandCommented:
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                         Robert.Hegemann@gmx.de
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
:processArgs
      if "%1"=="" goto endmark
      for %%f in (%1) do %thecmd% "%%f"
      if errorlevel 1 goto errormark
      shift
      goto processArgs
:errormark
      echo.
      echo.
      echo ERROR processing %1
      echo.
:endmark
rem
rem      finished
rem
0
 
JohnStahlarbeiterAuthor Commented:
Thanks!  I'll try it!

John
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now