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 .
01-03-2005, 04:09 PM
#1
Member
Registered: Aug 2003
Location: Melbourne Australia
Distribution: LinuxMint Elyssa
Posts: 369
Thanked: 2
DISCUSSION: Convert WMA to MP3
[
Log in to
get rid of this advertisement]
This thread is to discuss the article titled:
Convert WMA to MP3
01-03-2005, 04:17 PM
#2
Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Thanked: 1
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: LinuxMint Elyssa
Posts: 369
Thanked: 2
Original Poster
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
Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Thanked: 1
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: LinuxMint Elyssa
Posts: 369
Thanked: 2
Original Poster
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: 309
Thanked: 0
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: LinuxMint Elyssa
Posts: 369
Thanked: 2
Original Poster
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: 309
Thanked: 0
cool.
01-24-2005, 08:28 AM
#9
Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194
Thanked: 0
I have converted from real audio, just make sure you have the codecs installed for maplayer.
01-24-2005, 09:07 AM
#10
Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Thanked: 1
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
Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194
Thanked: 0
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
Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Thanked: 1
will try that
thanks!!
01-26-2005, 02:00 AM
#13
LQ Newbie
Registered: Jun 2004
Posts: 10
Thanked: 0
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: LinuxMint Elyssa
Posts: 369
Thanked: 2
Original Poster
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, RHEL, Slackware & FreeBSD
Posts: 99
Thanked: 0
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
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 01:33 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
LQ Podcast
LQ Radio