LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   script .wma > .mp3 (https://www.linuxquestions.org/questions/linux-general-1/script-wma-mp3-431299/)

usa1234 04-03-2006 07:10 AM

script .wma > .mp3
 
Hi
You can use the following script to convert your .wma files into .mp3 files.
Quote:

#!/bin/sh
mplayer $1 -ao pcm:file=$1.wav; lame $1.wav $1.mp3
After convertion, the converted file has name like this;
<filename>.wma.mp3
you can rename it to;
<filename>.mp3
I have tested this script and it suerly is working.
NOTE: mplayer and lame are prerequisite for this script.
Thanks

XavierP 04-03-2006 01:45 PM

Moved: This thread is more suitable in Linux-General and has been moved accordingly to help your thread/question get the exposure it deserves.


All times are GMT -5. The time now is 02:23 AM.