LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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, 04:09 PM   #1
cadj
Member
 
Registered: Aug 2003
Location: Melbourne Australia
Distribution: LinuxMint Elyssa
Posts: 373

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, 04:17 PM   #2
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
do u have any idea for converting real media audio to mp3 format??
 
Old 01-10-2005, 08:26 PM   #3
cadj
Member
 
Registered: Aug 2003
Location: Melbourne Australia
Distribution: LinuxMint Elyssa
Posts: 373

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, 09:16 PM   #4
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
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, 02:04 AM   #5
cadj
Member
 
Registered: Aug 2003
Location: Melbourne Australia
Distribution: LinuxMint Elyssa
Posts: 373

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, 07: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, 07:37 AM   #7
cadj
Member
 
Registered: Aug 2003
Location: Melbourne Australia
Distribution: LinuxMint Elyssa
Posts: 373

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, 09:20 AM   #8
sk545
Member
 
Registered: Aug 2002
Posts: 312

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

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

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

Rep: Reputation: 46
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, 02:16 PM   #12
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
will try that

thanks!!
 
Old 01-26-2005, 02: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, 11:03 AM   #14
cadj
Member
 
Registered: Aug 2003
Location: Melbourne Australia
Distribution: LinuxMint Elyssa
Posts: 373

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

if i could only edit the tutorial
 
Old 02-02-2005, 10:56 PM   #15
thick_guy_9
Member
 
Registered: Jan 2004
Location: Singapore
Distribution: VMS, RHEL, Slackware & FreeBSD
Posts: 99

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


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 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 06:58 PM
convert wma > mp3? andrewlkho Linux - Software 31 08-20-2007 01:26 AM
wma to mp3 pulsez Linux - Newbie 5 10-27-2005 08:17 PM
Any program that can convert mp3 files to wma? josh_hd_new Linux - Newbie 1 01-21-2005 03:03 AM
how to convert a wma to mp3?? yenonn Linux - General 2 04-26-2004 08:25 PM


All times are GMT -5. The time now is 03:45 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration