Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
How to convert a directory of .wav to .mp3?
Results 1 to 5 of 5

Thread: How to convert a directory of .wav to .mp3?

  1. #1

    How to convert a directory of .wav to .mp3?

    Hey all,

    After searching for hours I decided to post here in hope of finding a solution. I am trying to convert a directory of .wav files to .mp3 using lame. I can easily convert them file by file using the command below:

    lame -h -b 192 whatever.wav whatever.mp3

    This gets tiresome considering I have a large amount of wavs that I need to convert. I have researched on google for a script without any luck. I have also read the lame --help section.

    What is the best way possible to achieve this without using a frontend. Have I over looked a command? or missed the magical url to the correct script to do this?

    I appreciate any help I can get with this. Thanks

  2. #2
    Guest

    Re:How to convert a directory of .wav to .mp3?

    i suppose you could do lame -h or man lame to find out what sort of options for mass converting it can do. youcould likely do something like:

    lame -h -b 192 *.wav

    but i don't know if lame will automatically name each file and append the .mp3. you could potentially end out with one huge mp3

    i would definitely look through lame's manpage to see what sort of mass converting options they have. (i know oggenc can do mass coverting)

  3. #3

    Re:How to convert a directory of .wav to .mp3?

    Hey Sarah,

    Thanks for replying. I tried lame -h -b 192 *.wav earlier. When using that command it did not detect any of the wavs in the directory. Earlier when viewing help/man pages it did not have any options for mass converting. Looks like I may be trying oggenc.

  4. #4

    Re:How to convert a directory of .wav to .mp3?

    The solution was mlame. Just wanted to let you all know.

  5. #5

    Re:How to convert a directory of .wav to .mp3?

    [quote author=slackware link=board=2;threadid=6502;start=0#61274 date=1046803691]
    The solution was mlame. Just wanted to let you all know.
    [/quote]

    another way of doing it would be a loop:

    Code:
    for i in *.wav; do
    lame -arguments $i
    done
    in this case mlame is a better choice, but this is just useful to know for other commands

Similar Threads

  1. Convert VCD to DVD
    By omidkamangar in forum Windows - General Topics
    Replies: 2
    Last Post: 03-26-2007, 02:12 AM
  2. convert doc to tif
    By mabar in forum Windows - General Topics
    Replies: 0
    Last Post: 06-16-2006, 04:21 AM
  3. Linux, should I convert?
    By cloverm in forum Linux - General Topics
    Replies: 37
    Last Post: 07-22-2005, 03:26 PM
  4. Convert flac to mp3
    By shebang in forum Linux - Software, Applications & Programming
    Replies: 5
    Last Post: 05-01-2005, 07:35 AM
  5. convert fc3 dvd to cd's
    By chinmaynautiyal in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 01-19-2005, 02:40 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •