LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion
User Name
Password
LinuxAnswers Discussion This forum is to discuss articles posted to LinuxAnswers.

Notices


Reply
  Search this Thread
Old 01-03-2005, 03:09 PM   #1
cadj
Member
 
Registered: Aug 2003
Location: Melbourne Australia
Distribution: Debian Stretch
Posts: 374

Rep: Reputation: 32
Post DISCUSSION: Convert WMA to MP3


This thread is to discuss the article titled: Convert WMA to MP3
 
Old 01-03-2005, 03:17 PM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
do u have any idea for converting real media audio to mp3 format??
 
Old 01-10-2005, 07:26 PM   #3
cadj
Member
 
Registered: Aug 2003
Location: Melbourne Australia
Distribution: Debian Stretch
Posts: 374

Original Poster
Rep: Reputation: 32
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
 
Old 01-10-2005, 08:16 PM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
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
 
Old 01-11-2005, 01:04 AM   #5
cadj
Member
 
Registered: Aug 2003
Location: Melbourne Australia
Distribution: Debian Stretch
Posts: 374

Original Poster
Rep: Reputation: 32
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
 
Old 01-11-2005, 06:23 PM   #6
sk545
Member
 
Registered: Aug 2002
Posts: 312

Rep: Reputation: 30
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
 
Old 01-12-2005, 06:37 AM   #7
cadj
Member
 
Registered: Aug 2003
Location: Melbourne Australia
Distribution: Debian Stretch
Posts: 374

Original Poster
Rep: Reputation: 32
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
 
Old 01-16-2005, 08:20 AM   #8
sk545
Member
 
Registered: Aug 2002
Posts: 312

Rep: Reputation: 30
cool.
 
Old 01-24-2005, 07:28 AM   #9
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
I have converted from real audio, just make sure you have the codecs installed for maplayer.
 
Old 01-24-2005, 08:07 AM   #10
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
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
 
Old 01-25-2005, 12:36 PM   #11
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
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.
 
Old 01-25-2005, 01:16 PM   #12
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
will try that

thanks!!
 
Old 01-26-2005, 01:00 AM   #13
oiaohm
LQ Newbie
 
Registered: Jun 2004
Posts: 10

Rep: Reputation: 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.
 
Old 01-26-2005, 10:03 AM   #14
cadj
Member
 
Registered: Aug 2003
Location: Melbourne Australia
Distribution: Debian Stretch
Posts: 374

Original Poster
Rep: Reputation: 32
true, thanks for the input,

if i could only edit the tutorial
 
Old 02-02-2005, 09:56 PM   #15
thick_guy_9
Member
 
Registered: Jan 2004
Location: Singapore
Distribution: VMS, CentOS
Posts: 109

Rep: Reputation: 16
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
 
  


Reply

Tags
amarok, convert, mp3, wma



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert wma to ogg lixy Linux - Software 20 10-12-2011 05:58 PM
convert wma > mp3? andrewlkho Linux - Software 31 08-20-2007 12:26 AM
wma to mp3 pulsez Linux - Newbie 5 10-27-2005 07:17 PM
Any program that can convert mp3 files to wma? josh_hd_new Linux - Newbie 1 01-21-2005 02:03 AM
how to convert a wma to mp3?? yenonn Linux - General 2 04-26-2004 07:25 PM

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

All times are GMT -5. The time now is 04:41 PM.

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