Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-14-2009, 12:09 PM
|
#1
|
Member
Registered: Jan 2009
Distribution: openSUSE 11.1, with KDE 4
Posts: 71
Rep:
|
Converting short mp3 file to wav?
Trying to convert short "you've got email" mp3 to wav file.
Not found a good solution on a search of Google and LinuxQ.
Anyone know of one?
Thanks
Petey
|
|
|
02-14-2009, 12:21 PM
|
#2
|
Senior Member
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313
|
I use an app called transKode it converts to and from many formats.
|
|
|
02-14-2009, 12:32 PM
|
#3
|
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
|
mplayer can also do it (in a terminal, type mplayer -ao pcm filename.mp3 should produce a file called audiodump.wav which can then be renamed to whatever you want
|
|
|
02-14-2009, 04:27 PM
|
#4
|
LQ Newbie
Registered: Nov 2007
Location: Canada
Distribution: Ubuntu 8.10
Posts: 25
Rep:
|
ffmpeg is a shell-based video converter that comes with some distros.
The simplest way to use it for what you want to do is
Code:
ffmpeg -i inputfile.mp3 outputfile.wav
It will figure out what codec to use based on filenames. You may need to get an MP3 codec for your system first, and I'm afraid I don't remember if/how I had to do that.
|
|
|
02-14-2009, 05:50 PM
|
#5
|
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
|
i think ffmpeg can natively handle mp3s
|
|
|
02-15-2009, 05:42 AM
|
#6
|
Member
Registered: Jan 2009
Distribution: openSUSE 11.1, with KDE 4
Posts: 71
Original Poster
Rep:
|
Hi,
I added TransKode. It said it lacked a C compiler and the ./configure command stopped working at that point. Not managed to get configure and make commands to work on anything yet, but was giving it a try anyway.
Petey
Quote:
Originally Posted by {BBI}Nexus{BBI}
I use an app called transKode it converts to and from many formats.
|
|
|
|
02-15-2009, 06:01 AM
|
#7
|
Senior Member
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313
|
Quote:
Originally Posted by peteyperson
Hi,
I added TransKode. It said it lacked a C compiler and the ./configure command stopped working at that point. Not managed to get configure and make commands to work on anything yet, but was giving it a try anyway.
Petey
|
You need to add the GCC package.
A short tutorial on Compiling from source code
|
|
|
02-15-2009, 10:56 AM
|
#8
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083
|
lame --decode should suffice. Keep it simple.
|
|
|
02-16-2009, 02:23 PM
|
#9
|
Member
Registered: Jan 2009
Distribution: openSUSE 11.1, with KDE 4
Posts: 71
Original Poster
Rep:
|
Hi,
Added the GCC package and still have various issues when running ./configure. Figured those out, but now have one I don't know how to resolve:
checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!
Thanks,
Petey
Quote:
Originally Posted by {BBI}Nexus{BBI}
|
|
|
|
02-16-2009, 04:45 PM
|
#10
|
Senior Member
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313
|
Quote:
Originally Posted by peteyperson
Hi,
Added the GCC package and still have various issues when running ./configure. Figured those out, but now have one I don't know how to resolve:
checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!
Thanks,
Petey
|
Add the kernel-devel package to your system. When you've finished you should be able to successfully compile most things as, you will already have everything required in place (mostly).
|
|
|
02-16-2009, 10:14 PM
|
#11
|
Member
Registered: Jan 2009
Distribution: openSUSE 11.1, with KDE 4
Posts: 71
Original Poster
Rep:
|
Nothing by that name coming up from a search on 'Install Software'.
Petey
Quote:
Originally Posted by {BBI}Nexus{BBI}
Add the kernel-devel package to your system. When you've finished you should be able to successfully compile most things as, you will already have everything required in place (mostly).
|
|
|
|
02-17-2009, 03:18 AM
|
#12
|
Member
Registered: Aug 2008
Location: Beacon Bay, East London, South Africa
Distribution: Ubuntu
Posts: 30
Rep:
|
Did you try lame?
|
|
|
02-17-2009, 06:43 AM
|
#13
|
Senior Member
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313
|
Quote:
Originally Posted by peteyperson
Nothing by that name coming up from a search on 'Install Software'.
Petey
|
Try kernel-source. Be sure to install the version matching your current running kernel. Check the version via commandline with
|
|
|
02-18-2009, 10:07 AM
|
#14
|
Member
Registered: Jan 2009
Distribution: openSUSE 11.1, with KDE 4
Posts: 71
Original Poster
Rep:
|
I did try LAME, it outputted a wav file that the email package couldn't read.
Petey
Quote:
Originally Posted by dopla
Did you try lame?
|
|
|
|
02-18-2009, 10:10 AM
|
#15
|
Member
Registered: Jan 2009
Distribution: openSUSE 11.1, with KDE 4
Posts: 71
Original Poster
Rep:
|
Now this worked! :-)
And I now can configure and install apps that need that type of installation. As a result I've been able to install two apps I couldn't do before. Thanks very much.
I tried installing the two programs mentioned but both didn't get the right result in the end. A friend just recommended running a Windows app under Wine - which he'd done successfully - to convert to wav file. This worked. Foobar 2000.
So it all worked out quite well in the end.
Cheers
Petey
Quote:
Originally Posted by {BBI}Nexus{BBI}
Try kernel-source. Be sure to install the version matching your current running kernel. Check the version via commandline with
|
|
|
|
All times are GMT -5. The time now is 04:12 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|