LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 02-14-2009, 12:09 PM   #1
peteyperson
Member
 
Registered: Jan 2009
Distribution: openSUSE 11.1, with KDE 4
Posts: 71

Rep: Reputation: 16
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
 
Old 02-14-2009, 12:21 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 209Reputation: 209Reputation: 209
I use an app called transKode it converts to and from many formats.
 
Old 02-14-2009, 12:32 PM   #3
frieza
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,205

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
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
 
Old 02-14-2009, 04:27 PM   #4
BigNate37
LQ Newbie
 
Registered: Nov 2007
Location: Canada
Distribution: Ubuntu 8.10
Posts: 25

Rep: Reputation: 15
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.
 
Old 02-14-2009, 05:50 PM   #5
frieza
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,205

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
i think ffmpeg can natively handle mp3s
 
Old 02-15-2009, 05:42 AM   #6
peteyperson
Member
 
Registered: Jan 2009
Distribution: openSUSE 11.1, with KDE 4
Posts: 71

Original Poster
Rep: Reputation: 16
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} View Post
I use an app called transKode it converts to and from many formats.
 
Old 02-15-2009, 06:01 AM   #7
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by peteyperson View Post
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
 
Old 02-15-2009, 10:56 AM   #8
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
lame --decode should suffice. Keep it simple.
 
Old 02-16-2009, 02:23 PM   #9
peteyperson
Member
 
Registered: Jan 2009
Distribution: openSUSE 11.1, with KDE 4
Posts: 71

Original Poster
Rep: Reputation: 16
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} View Post
You need to add the GCC package.

A short tutorial on Compiling from source code
 
Old 02-16-2009, 04:45 PM   #10
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by peteyperson View Post
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).
 
Old 02-16-2009, 10:14 PM   #11
peteyperson
Member
 
Registered: Jan 2009
Distribution: openSUSE 11.1, with KDE 4
Posts: 71

Original Poster
Rep: Reputation: 16
Nothing by that name coming up from a search on 'Install Software'.

Petey

Quote:
Originally Posted by {BBI}Nexus{BBI} View Post
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).
 
Old 02-17-2009, 03:18 AM   #12
dopla
Member
 
Registered: Aug 2008
Location: Beacon Bay, East London, South Africa
Distribution: Ubuntu
Posts: 30

Rep: Reputation: 16
Did you try lame?
 
Old 02-17-2009, 06:43 AM   #13
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by peteyperson View Post
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
Code:
uname -r
 
Old 02-18-2009, 10:07 AM   #14
peteyperson
Member
 
Registered: Jan 2009
Distribution: openSUSE 11.1, with KDE 4
Posts: 71

Original Poster
Rep: Reputation: 16
I did try LAME, it outputted a wav file that the email package couldn't read.

Petey

Quote:
Originally Posted by dopla View Post
Did you try lame?
 
Old 02-18-2009, 10:10 AM   #15
peteyperson
Member
 
Registered: Jan 2009
Distribution: openSUSE 11.1, with KDE 4
Posts: 71

Original Poster
Rep: Reputation: 16
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} View Post
Try kernel-source. Be sure to install the version matching your current running kernel. Check the version via commandline with
Code:
uname -r
 
  


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
Converting mp3 to wav using mencoder cold Linux - Software 1 12-18-2008 05:09 PM
Converting an RA file to a WAV or an MP3 one hhegab Linux - Software 2 04-26-2005 05:55 AM
Converting WAV to MP3 ? dolphans1 Mandriva 8 08-03-2004 03:52 AM
Converting mp3 to wav J.W. Linux - Software 2 03-10-2004 01:41 AM
Converting mp3 to wav. ??? rayflynn Linux - General 2 12-11-2001 05:07 AM


All times are GMT -5. The time now is 03:18 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration