LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-03-2006, 07:10 AM   #1
usa1234
Member
 
Registered: Aug 2004
Posts: 69

Rep: Reputation: 15
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
 
Old 04-03-2006, 01:45 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

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


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wma to Mp3 Knowledgements Slackware 23 09-23-2006 09:07 AM
wma to mp3 pulsez Linux - Newbie 5 10-27-2005 07:17 PM
MP3 to WMA spotslayer Linux - Software 5 10-08-2004 04:45 PM
how to convert a wma to mp3?? yenonn Linux - General 2 04-26-2004 07:25 PM
Is WMA better than MP3 Imek General 6 12-04-2003 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:25 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
Open Source Consulting | Domain Registration