LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 06-08-2004, 01:11 PM   #1
mbryner
LQ Newbie
 
Registered: Jun 2004
Location: Southern Oregon
Distribution: Mandriva 2006
Posts: 13

Rep: Reputation: 0
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.
 
Old 06-08-2004, 01:49 PM   #2
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,037

Rep: Reputation: 54
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).
 
Old 06-08-2004, 02:36 PM   #3
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 77
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.

Last edited by bulliver; 06-08-2004 at 02:38 PM.
 
Old 06-08-2004, 03:21 PM   #4
mbryner
LQ Newbie
 
Registered: Jun 2004
Location: Southern Oregon
Distribution: Mandriva 2006
Posts: 13

Original Poster
Rep: Reputation: 0
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...
 
Old 06-08-2004, 03:27 PM   #5
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 77
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
 
Old 06-09-2004, 02:53 AM   #6
mbryner
LQ Newbie
 
Registered: Jun 2004
Location: Southern Oregon
Distribution: Mandriva 2006
Posts: 13

Original Poster
Rep: Reputation: 0
doesn't work

bulliver:

great idea, but the script doesn't work for titles with spaces in them.
 
Old 06-09-2004, 03:38 AM   #7
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 77
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...
 
Old 06-09-2004, 05:36 AM   #8
Speek
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 105

Rep: Reputation: 32
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.
 
Old 06-09-2004, 05:55 AM   #9
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
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.
 
Old 06-10-2004, 01:35 AM   #10
mbryner
LQ Newbie
 
Registered: Jun 2004
Location: Southern Oregon
Distribution: Mandriva 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Works like a charm! Thanks everyone.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mp3 Encoder/Decoder .wav Ripper JediDB Linux - Software 6 08-03-2005 06:46 PM
Need an Ogg Vorbis encoder mark.johnson Linux - Software 4 03-07-2005 04:28 PM
Text => Wav, OGG, or MP3 BluNavig8or Linux - Software 2 01-04-2005 04:59 PM
what app to use to convert ogg to mp3 or wav under Community 10.1 tolstyi Mandriva 5 12-01-2004 06:03 AM
wav--->ogg casey24601 Linux - Software 1 11-25-2003 08:53 PM


All times are GMT -5. The time now is 12:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration