[linux-audio-user] WMA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I think that the answer is:
apt-get install w32codecs
apt-get install mplayer

then i've got some scripts to decompress wma and compress in ogg
I attach them to make your life easier

copy them in some folder of your path and type wma2ogg in the folder 
where you have your wma
(change the bitrate of ogg in the wav2ogg script if you want to)
(if you only want to have these files in ogg erase the end of the script 
wma2ogg which begins with wav2ogg)

That's it. I hope they work (I use them often). If not, ask me again.

Alejandro Lopez wrote:

>> By the way, on the page you talk about Winamp for M$ and now it's 
>> time to talk about www.zinf.org, which is *really* free (as in free 
>> speech ;)
>
>
> Hi,
>
> This post reminds me I need to burn an audio CD from a set of .WMA 
> files I've been given :-((( So far, the only thing I've been able to 
> do with these is playing them with Windows Media Player (and putting 
> them in an audio tape, remember those?).
>
> I absolutely fail to understand why, if I have some codec installed 
> (and I have since I can play the files), I still can't do a file 
> conversion to a raw waveform I could then use to burn the audio CD. As 
> for Linux, none of the tools that come with DeMuDi recognizes the 
> format either.
>
> Any suggestions, apart from asking the guy to be nicer to everyone by 
> using a convenient format?
>
> Cheers,
>
> Alex
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it's 
> FREE! http://messenger.msn.com/
>
>
>
>

-------------- next part --------------
#!/bin/bash
echo "Prem return per continuar..."
read
-------------- next part --------------
#!/bin/bash
for file in *.wav
do
oggenc -b 192 "$file"
done
-------------- next part --------------
#!/bin/bash
for f in *.wma
do 
nom=`echo "$f" | cut -d "." -f 1`
mplayer "$f" -ao pcm -aofile "${nom}.wav"
done
wav2ogg
rm *.wav
ls
echo "erase wma?"
pause
rm *.wma

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux