Converting Audio to PCM Wave format



To make sure you’ve go the idea that mplayer is really a swiss army knife for media files that can do most anything. I wanted to get a post JUST on this idea. Any media format that mplayer recognizes it can dump the audio to the most common and readable audio format out there, the PCM Wav file.

Here’s how it goes:

Usually this is just an intermediary step en route to another file format (mp3 for instance..)

Here’s a line I’ve used from a script of mine:

mplayer -ao pcm:file=$1_$date.wav $1.rm

so… this calls mplayer and gives the audio output driver as the pcm output driver and the filename you can see I’ve controlled with the command switch again. In this case I was converting from a .rm file to the wave format. Unfortunately the rm file was not named descriptively enough for my taste, so I’ve added a variable that tags the date to the filename as well.

So… let’s say you run converttowav myaudio

Then mplayer will take the source of myaudio.rm and give you myaudio_todaysdate.wav in the nice compatible (and easily convertable) wav format.

Related Posts

Blog Traffic Exchange Related Posts
  • Mustek ScanExpress A3 USB 1200 Pro Scanners... I had a nice microtek scanner that for the last year has refused to work and I decided to replace it. I have a project coming up that would require scanning some larger format pages so I was really pleased to find a $165 A3 scanner (usually the larger......
  • Converting MPG video to dv files I don't know much about the dv format, except that it is a standard format that many camcorders use. For this reason, many video editors (such as kino for linux) prefer to see files coming in dv format. The problem I ran into is that the new handycam dvd puts......
  • Open Source NTFS driver for linux with Read and Write support Linux has full support for so many file systems. Fat32, which is the filesystem of the Win98 and ME systems has had full read-write support as long as I can remember, but NTFS has not. In fact, NTFS has had read-only support in the main open source driver, but NO......
Blog Traffic Exchange Related Websites
  • Audacity Powerfull,Free Cross-Platform Sound Editor Audacity Powerfull,Free Cross-Platform Sound Editor With so many audio editors out there, finding the right tool for the job can be tricky. The multiplatform, open-source editor Audacity has leaped to the top of our list with its clean interface, excellent features, and support for 32-bit floating-point audio. Audacity succeeds at......
  • Configure Microsoft Word, Excel 2007 to save file in 97-2003 format This method is recommended to prevent compatibility issue. You have an option to choose a default file format in Word 2007. Follow instruction below : • Click on Microsoft Office Button • Click on “Word Options” button located on the lower-right of the menu. Remark: In Excel 2007, the option......
  • Best Free Video Converter Ever I have been using Any Video Converter for several weeks and I am very satisfied with the conversion results. Previously I use other free software and when I compared the videos that was converted with the old software and the one converted using AVC the result were so obvious. The......
www.pdf24.org    Send article as PDF   

Similar Posts


See what happened this day in history from either BBC Wikipedia
Search:
Keywords:
Amazon Logo

Comments are closed.


Switch to our mobile site