LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-26-2005, 10:40 PM   #1
shane25119
Member
 
Registered: Aug 2003
Location: Illinois
Distribution: Linux Mint XFCE
Posts: 654

Rep: Reputation: 53
Need a MP3 Encoder for Gnome


Hi guys,
I have a sizable music collection, mostly in MP3. I do however have a few ogg and wma files. Now rumor has it that my girlfriend wants to buy me an iPod for my birthday and the program I use to manage my music (madman) only supports mp3. I have searched high and low for an encoder. The best I have found is Soundconverter which does not support mp3. Most everything I see is a ripper, which I do not need. Prefferably I would like something that can do whole directories at once, I just want it to be flexible from format to format. Any advice you guys can toss my way would be great.
 
Old 12-26-2005, 10:45 PM   #2
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
I use lame.
 
Old 12-26-2005, 10:47 PM   #3
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 48
LAME(google for it). I've got it working, but it's not in the official debian repos. It might be in the Ubuntu, check out http://www.emcken.dk/weblog/archives...nd-Juicer.html for information on setting up sound juicer(however it is a ripper). GRIP might just re-encode, I'm not sure, but lame is what you need for mp3 encoding.
 
Old 12-26-2005, 10:59 PM   #4
shane25119
Member
 
Registered: Aug 2003
Location: Illinois
Distribution: Linux Mint XFCE
Posts: 654

Original Poster
Rep: Reputation: 53
And then with lame I work from the command line? What would the syntax be?
 
Old 12-26-2005, 11:31 PM   #5
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
lame [options] <infile> <outfile>

I normally do something like:

lame -b 128 -q 0 somefile.wav somefile.mp3

-b is the bit rate, q is quality where 0 is the best and 9 is the worst.

do 'man lame' to get the full options list.
 
Old 12-26-2005, 11:44 PM   #6
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
I use

lame -h -v -V 4 blah.wav blah.mp3

you'd need to do ogg -> wav etc first
 
Old 12-26-2005, 11:59 PM   #7
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
To re-encode from OGG to WAV, I'd use this:
Code:
lame --decode filename.ogg filename.wav
Then, use the above commands to re-encode to MP3.

Last edited by scuzzman; 12-27-2005 at 04:21 AM.
 
Old 12-27-2005, 12:45 AM   #8
dmartins
Member
 
Registered: Oct 2005
Location: Ontario, Canada
Distribution: Arch, Gentoo
Posts: 98

Rep: Reputation: 15
be careful encoding from mp3 to other formats, they all use different ways of deciding what to discard from the tracks and you can end up with your sound quality getting worse.
 
Old 12-27-2005, 01:02 PM   #9
shane25119
Member
 
Registered: Aug 2003
Location: Illinois
Distribution: Linux Mint XFCE
Posts: 654

Original Poster
Rep: Reputation: 53
Is there a way to use Lame to do a whole directory at once?
 
Old 12-27-2005, 01:09 PM   #10
kvnband
Member
 
Registered: Jan 2004
Distribution: Suse 10.2
Posts: 107

Rep: Reputation: 15
You can also use ogg2mp3 (http://amor.cms.hu-berlin.de/~h0444y2j/linux.html) There are instructions on using it in the forum (search for ogg2mp3)
Kevin
 
Old 12-27-2005, 01:13 PM   #11
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Make your life easyer :)

There is ogg2mp3 in Gentoo portage, it's a perl script.

ogg2mp3 homepage

Couple of minutes late.
 
Old 12-27-2005, 01:37 PM   #12
shane25119
Member
 
Registered: Aug 2003
Location: Illinois
Distribution: Linux Mint XFCE
Posts: 654

Original Poster
Rep: Reputation: 53
I tried using lame, but what I got was static, and lots of it. I was trying to convert some WMA files, which I have since learned were DRM'd, the other files I needed to convert were in FLAC format, those also produced static. I found a Windows application I can run with Wine, but I would much prefer to do it all natively in Linux.
 
Old 12-27-2005, 04:40 PM   #13
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
I use lame all the time and never get static... make a wav first... see if it's static.
 
Old 12-28-2005, 12:46 AM   #14
shane25119
Member
 
Registered: Aug 2003
Location: Illinois
Distribution: Linux Mint XFCE
Posts: 654

Original Poster
Rep: Reputation: 53
Thats an affirmative. Tried a wav first, and static
 
  


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 phatbastard Linux - Software 4 11-13-2004 07:53 PM
any easy mp3-encoder? jaan kaer Linux - Newbie 9 03-12-2004 05:20 PM
mp3 encoder doralsoral Linux - Software 12 01-14-2004 08:57 PM
MP3 Encoder- Best? tombomb300 Linux - Software 10 11-23-2003 06:26 AM
Mp3 Encoder Half_Elf Linux - Software 3 08-02-2002 07:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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
Open Source Consulting | Domain Registration