LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   LinuxAnswers Discussion (https://www.linuxquestions.org/questions/linuxanswers-discussion-27/)
-   -   DISCUSSION: Convert WMA to MP3 (https://www.linuxquestions.org/questions/linuxanswers-discussion-27/discussion-convert-wma-to-mp3-273400/)

cadj 01-03-2005 03:09 PM

DISCUSSION: Convert WMA to MP3
 
This thread is to discuss the article titled: Convert WMA to MP3

masand 01-03-2005 03:17 PM

do u have any idea for converting real media audio to mp3 format??

cadj 01-10-2005 07:26 PM

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

masand 01-10-2005 08:16 PM

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

cadj 01-11-2005 01:04 AM

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

sk545 01-11-2005 06:23 PM

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

cadj 01-12-2005 06:37 AM

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 ;)

sk545 01-16-2005 08:20 AM

cool. :)

aaa 01-24-2005 07:28 AM

I have converted from real audio, just make sure you have the codecs installed for maplayer.

masand 01-24-2005 08:07 AM

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

aaa 01-25-2005 12:36 PM

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.

masand 01-25-2005 01:16 PM

will try that

thanks!!

oiaohm 01-26-2005 01:00 AM

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.

cadj 01-26-2005 10:03 AM

true, thanks for the input,

if i could only edit the tutorial

thick_guy_9 02-02-2005 09:56 PM

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 06:01 PM.