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.
Popularity: 1% [?]
Related Posts - The end for Windows 98 may be a boost to linux? There are articles out about the demise of official Windows 98 and ME support would be a boost to linux uptake. Realistically, I suppose it may, but I personally am not holding my breath. Here's why. 1) The people still running Windows 98/ME are likely doing so because that's what......
- Using the command line in linux - part 2 This is part two in a series of "how to use the command line in linux" style articles.... these are intended to be quite basic for those that have not used a command line before.... In part one we logged in (if necessary) and found out about the help command,......
- Tech support tutorials made easy on linux.... One of the real frustrations with phone tech support is translating step by step what is needed to the person on the other end. I know it sounds easy, but in reality - what if they've got xyz theme for their menuing and it's not there, what if... oh you......
Related Websites - Encryption: Never Leave Home Without It As portable drives have gotten physically smaller and larger in storage capacity, they've become an indespensible gadget for many. If you use yours to store vital and sensitive information, you need to secure that information with encryption. I should not need to tell you about the long list of......
- 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......
- Wordpress Backup Wordpress Backup is an essential plugin for all Wordpress blog administrators by the Blog Traffic Exchange. It performs regular backups of your upload (images) current theme, and plugin directories. Backup files are available for download and optionally emailed to a specified email. Don't get caught without a recent backup of......
Similar Posts
- Converting rm to mp3
- Recording online streams (real / wma) to mp3 format (or ogg) with mplayer
- Getting the current Date in Your Scripts
- Capturing Realmedia RM Streams to a file on Disk
- Media player and video codecs made simple…