How to convert WAV or OGG files to MP3?
I'm a newbie trying to figure out how to convert downloaded audio files to MP3. I looked in the Zenwalk Manual, and it mentioned the softwares "Assunder" and "Lame" - neither of which I can find in Netpkg. I basically just want to rip CD's, convert to MP3, and load them on a flashdrive so I can plug it into my car radio. Any help would be appreciated. Thanks!
|
easiest is to use ffmpeg
how shows here http://www.mygnulinux.com/?p=56 but it has dependencies i don't use zenwalk but maybe this helps http://packages.zenwalk.org/?p=ffmpe...rsion=snapshot ---------- Post added 30-11-11 at 10:55 ---------- easiest is to use ffmpeg how shows here http://www.mygnulinux.com/?p=56 but it has dependencies i don't use zenwalk but maybe this helps http://packages.zenwalk.org/?p=ffmpe...rsion=snapshot |
FFmpeg might be easy to use, if you are the sort of person who likes using the command line, and can remember the commands.
IMO its easier to use a GUI CD ripper. Personally I prefer Rubyripper to the other linux CD rippers, but all should do a decent job for MP3s. @ Javelin Dan- maybe it would help if you spelt the name right? Its 'asunder', not 'assunder' http://littlesvr.ca/asunder/ |
The K3B CD burning program is another program that can rip CDs. I checked the zenwalk site, and it is listed.
|
Thanks to all who responded. Yeah, My spellin nevr was two gud. I'll try your suggestions and report back - may take a few days. Just to let you know, I'm not AT ALL comfortable with the command line - I'm OK with one or two simple commands, but get absolutely lost in long strings of code. So I'd like to do this as simply as possible; within a desktop environment if at all possible. Thanks again!
|
I've actually written a script to do this.
You need oggdec and lame to do this: Code:
#!/usr/bin/env python Run it from the command line as Code:
./ogg2mp3.py To make it usable anywhere on your system, you need to put this script in a directory like /usr/bin/ or /usr/local/bin/ |
hi
my link shows you how to convert. the command is (as a non-root user) Code:
ffmpeg -i trackX.wav trackX.mp3 |
Solved!
I just wanted to report back and chronicle my success for all the other raw newbies that follow in my footsteps. First, I want to thank everyone who responded. It was because of your response (plus some scrounging on the beginner’s forum) that I was able to figure this out. I know many of you monitor this forum regularly and try to help as many people as possible. Being a rank armature myself, most of the problems I had was simply in not knowing and having to figure out some basic stuff that most people would assume was common knowledge. Here’s what I did:
1). I went to the default repository and downloaded “Asunder”. My main problem here was lack of full knowledge of how to use the repository. I did not have a check mark next to “not installed” on the right side of the repository page. When I finally figured this out, it opened up a vast amount of available software that I didn’t previously know was there. Once revealed, I easily found “Asunder and downloaded it. 2.) I went to the first “restricted” repository and eventually found “Lame”. I say eventually because I first clicked on the restricted choice but saw the same repository I’d had before. I then remembered that whenever you change repositories, you have to click the “reload” button at the top right side of the page. Once done, all was well and I found “Lame”. Note: remember to re-select your default repository and reload the page before you leave! 3.) Using “Asunder” couldn’t be much easier, but a few footnotes are necessary for the beginner. Simply insert a CD of your choice, close out of “CD Player” that will automatically begin, select “Multimedia” from the applications menu, and click on “Asunder”. Note that the default format to save the ripped files is OOG. Simply go into the preferences tab and put a check next to Mp3. While there, de-select OGG or you will have files of both formats in your music folder – ask me how I know. Everything else is slick as snot! Click on “Rip” and find something to do for 5 or 10 minutes. When done, close out of “Asunder” and find your newly ripped files in your home folder, then drag-n-drop to your Music folder (or wherever you wish). Then, insert your flash drive, Mp3 player, etc, right click on your chosen music file, and click “send to” (select device). It’s really as simple as that! Last night I ripped about 7 Christmas CD’s and moved them to a flash drive that I plugged into the car radio so my wife can enjoy them while she drives without the hassle of shuffling multiple CD’s. If I can figure it out, anyone can! Enjoy your music! :) |
Glad to see you got a solution.
By the way, I always recommend lame for MP3 encoding. In the past I have had problems playing MP3s on hardware devices when the MP3s were generated from other programs like GStreamer or VLC (through some CD-ripping front-end programs). For some odd reason some of those MP3s show up as "unrecognized format" on some hardware media players. Probably has to do with variable bitrate MP3s or because some programs use the MP2 codec when MP3 is not available. |
vharishankar -
Is this done automatically since I installed "Lame" or are there further steps I need to take that I don't know about? All the various CD's I ripped seem to play just fine so far... |
Quote:
Note: your test bed should be a hardware MP3 player if you use them. If it plays fine in your Linux system, that by itself is not a sign that the MP3 file would play fine in hardware player. However, if you aren't using any hardware MP3 players, you needn't worry. Some of the cheaper type of hardware MP3 players also seem to have trouble with Variable Bitrate MP3s. |
How do I check to make sure it is using "Lame" and how do I change it if not?
|
Quote:
Also you can check if lame is running in the background during the encoding, by running top or checking System Activity (in KDE the key is Ctrl+Esc to bring up system tasks). (Note: if a program uses libmp3lame directly, lame won't be running in the background) |
Thank you - I truly appreciate your help!
|
All times are GMT -5. The time now is 08:57 PM. |