LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   i want to convert .wav file into mp3 files in batch mode (https://www.linuxquestions.org/questions/linux-software-2/i-want-to-convert-wav-file-into-mp3-files-in-batch-mode-58374/)

sparsh 05-06-2003 09:43 AM

i want to convert .wav file into mp3 files in batch mode
 
hi friends
has anybody idea about a gui based mp3 encoder in linux. so that i can convert a no of .wav files into mp3 files.
plz write me as soon as possible..


thanks

acid_kewpie 05-06-2003 10:00 AM

really is a lot less farting around to do it in a terminal

Code:

for i in *.wav
do
  lame $i `basename $i .wav`.mp3
done

sooooooooooooo easy.

RolledOat 05-06-2003 10:02 AM

How about Konqueror. Open the directory with the wavs, highlight what you want, select 'Open With' then enter
mpg123 <Desired Options>
and it will convert all the files.

I don't use MP3, so the encoder name above might not be right? I am now an ogg man, but I simply 'Open' groups of wavs with oggenc, or to convert back to wavs, oggdec.

RO

sparsh 05-07-2003 01:43 AM

hi
i tried with konqueror but i am unable find open with mp3 option

acid_kewpie 05-07-2003 01:58 AM

mpg123 isn't an encoder, just a player.

use
the
script

RolledOat 05-07-2003 12:33 PM

What is the name of the encoder in /usr/bin. That is what you would type in as 'Open With'. I really don't know because I use OGG. mp3enc. Putting in 'lame <options>' will work if it is installed.

RO

hoodooman 11-20-2007 10:53 AM

Ecasound quick wav to mp3 batch conversion
 
Install Ecasound.Install Lame.Cd to folder containing the wav files and type the following ecaconvert .mp3 *.wav


All times are GMT -5. The time now is 11:31 AM.