LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   GUI encoder from wav to ogg/mp3 (https://www.linuxquestions.org/questions/linux-software-2/gui-encoder-from-wav-to-ogg-mp3-191142/)

mbryner 06-08-2004 12:11 PM

GUI encoder from wav to ogg/mp3
 
Do any of you know of any nice gui that converts wav's to ogg's/mp3's. I don't want grip or ripperx -- they only work with CD's as far as I can tell. I have a lot of wav's I've been ripping from old cassette tapes with audacity, and would like a way to encode them to both ogg and mp3 without doing 'oggenc' and 'lame' for each on the command line. Thanks.

Hammett 06-08-2004 12:49 PM

well, it is not GUI, but really easy to use, and it's called Bladeenc (http://bladeenc.mp3.no/). I've been using it for long time and works pretty well. You can set some parameters to conversion (such as bitrate and some others).

bulliver 06-08-2004 01:36 PM

What do you need a gui for? Just use:
Code:

for i in *.wav; do oggenc $i; done
for your oggs, and for mp3s use:
Code:

for i in *.wav; do x=`echo ${i} | sed -e 's/wav/mp3/'` ;lame $i $x; done
Both these commands will convert all .wavs in a directory to oggs or mp3s respectively.

mbryner 06-08-2004 02:21 PM

Thanks for the replies
 
Thanks bulliver and Hammett for the recommendations. That answered the question: I guess there isn't already a GUI. I don't *need* GUI; I'm OK w/ command line, but just thought someone might have written a useful program like that already. I'll just put bulliver's suggestion into a script, add the needed options, and run the script from each directory to do batch encoding! The 'sed' part of the script helped a lot, BTW...

bulliver 06-08-2004 02:27 PM

He he, cool. I'm sure there is a gui, but in the time it takes you to find and install it your files could be converted :)

mbryner 06-09-2004 01:53 AM

doesn't work
 
bulliver:

great idea, but the script doesn't work for titles with spaces in them.

bulliver 06-09-2004 02:38 AM

Well, I do almost all my work from the cli so I make a point of not putting spaces in my filenames.

I noticed that ripperX allows you to convert wavs to mp3s, maybe try that...

Speek 06-09-2004 04:36 AM

Re: doesn't work
 
Quote:

Originally posted by mbryner
great idea, but the script doesn't work for titles with spaces in them.
Just put double quotes around $i and it will work for filenames with spaces too.

jschiwal 06-09-2004 04:55 AM

When working with filename expansion, it is a good idea to put the variable in double quotes:

for i in *.wav; do oggenc "$i"; done

This way, if a file contains white-space, the $i variable isn't split into seperate files after $i is evaluated.

mbryner 06-10-2004 12:35 AM

Works like a charm! Thanks everyone.


All times are GMT -5. The time now is 08:52 AM.