LinuxAnswers Discussion This forum is to discuss articles posted to LinuxAnswers. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
01-03-2005, 04:09 PM
|
#1
|
Member
Registered: Aug 2003
Location: Melbourne Australia
Distribution: Debian Stretch
Posts: 374
Rep:
|
DISCUSSION: Convert WMA to MP3
This thread is to discuss the article titled: Convert WMA to MP3
|
|
|
01-03-2005, 04:17 PM
|
#2
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
do u have any idea for converting real media audio to mp3 format??
|
|
|
01-10-2005, 08:26 PM
|
#3
|
Member
Registered: Aug 2003
Location: Melbourne Australia
Distribution: Debian Stretch
Posts: 374
Original Poster
Rep:
|
yes, i cant think of any reason this method wont work with real media audio,
in the script, just change references to *.wma to *.rm or whatever the extension is
|
|
|
01-10-2005, 09:16 PM
|
#4
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
thanks for u reply
but i tried that too
the problem with me i think is of appropriate plugins
i got the "all "and "esential" packages of plugins form mplayer's site
what else do i need in plugins??
regards
|
|
|
01-11-2005, 02:04 AM
|
#5
|
Member
Registered: Aug 2003
Location: Melbourne Australia
Distribution: Debian Stretch
Posts: 374
Original Poster
Rep:
|
might havto try
http://www1.mplayerhq.hu/homepage/design7/codecs.html
and install the realmedia codecs, i havent used these as i apt-get the win32codecs package in debian
|
|
|
01-11-2005, 07:23 PM
|
#6
|
Member
Registered: Aug 2002
Posts: 312
Rep:
|
Very nice. I have to give this a try sometime...
It *should* work with realmedia, i mean the process is basically the same, i think. I looked here for more info:
http://linuxathome.com/index.php?p=91
|
|
|
01-12-2005, 07:37 AM
|
#7
|
Member
Registered: Aug 2003
Location: Melbourne Australia
Distribution: Debian Stretch
Posts: 374
Original Poster
Rep:
|
this process can be used for any tipe of media that your mplayer can play, including extracting the audio from video files (mov, wmv mpg etc)
im planning to make a GUI frontend to this using something like xdialog, ill need to learn a bit but it should come one day
|
|
|
01-16-2005, 09:20 AM
|
#8
|
Member
Registered: Aug 2002
Posts: 312
Rep:
|
cool.
|
|
|
01-24-2005, 08:28 AM
|
#9
|
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194
Rep:
|
I have converted from real audio, just make sure you have the codecs installed for maplayer.
|
|
|
01-24-2005, 09:07 AM
|
#10
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
Quote:
Originally posted by aaa
I have converted from real audio, just make sure you have the codecs installed for maplayer.
|
what plugins do u require for converting from real audio to mp3 etc ???
please post the command also
regards
|
|
|
01-25-2005, 01:36 PM
|
#11
|
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194
Rep:
|
http://www1.mplayerhq.hu/MPlayer/rel...050115.tar.bz2
These are the real player 9 codecs. Look here for other codecs. Extract the codecs and put them in /usr/local/lib/codecs. MPlayer can convert to WAV, the script uses lame to convert the wav to mp3.
|
|
|
01-25-2005, 02:16 PM
|
#12
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
will try that
thanks!!
|
|
|
01-26-2005, 02:00 AM
|
#13
|
LQ Newbie
Registered: Jun 2004
Posts: 10
Rep:
|
The script?
Why have to rename makes no sence to me.
for i in *.wma ; do mplayer -vo null -vc dummy -af resample=44100 -ao pcm -waveheader $i && lame -m s audiodump.wav -o $i; done
Becomes
for i in *.wma ; do mplayer -vo null -vc dummy -af resample=44100 -ao pcm -waveheader $i && lame -m s audiodump.wav -o "`basename "$i" .wma`.mp3"; done
This is safer due to the face that you are not directly deleting the file you are working on.
Now a cleanup at end would make more thought. Ie what happens if the conversion is bad.
|
|
|
01-26-2005, 11:03 AM
|
#14
|
Member
Registered: Aug 2003
Location: Melbourne Australia
Distribution: Debian Stretch
Posts: 374
Original Poster
Rep:
|
true, thanks for the input,
if i could only edit the tutorial
|
|
|
02-02-2005, 10:56 PM
|
#15
|
Member
Registered: Jan 2004
Location: Singapore
Distribution: VMS, CentOS
Posts: 109
Rep:
|
hi,
how can I convert WMA to OGG using XINE?
I am hoping this won't turn into a Xine vs Mplayer flame thread.
bye
|
|
|
All times are GMT -5. The time now is 10:07 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|