I have alot of music on my system that was ripped or dowloaded using Win Media Player. K3b will not allow me to burn CD's in Kubuntu using these files because they are wma files. >
So I searched out how to convert the files to mp3, so that I could burn on to CD's using kb3. I found what seemed like 2 solid ways to do this.
Neither of these worked for me...
Question: Is is legal for me to convert these? If so, why so complicated?
This was the bash script that I made. It did not truly convert the files to mp3, seems like it only changed the file extension.
SoundConverter didn't work for me either
Is it possible for me to get this done? & do any of you know a method that works
So I searched out how to convert the files to mp3, so that I could burn on to CD's using kb3. I found what seemed like 2 solid ways to do this.
- 1. using a bash script w/ mplayer & Lame.
- 2. using the program soundconverter
Neither of these worked for me...
Question: Is is legal for me to convert these? If so, why so complicated?
This was the bash script that I made. It did not truly convert the files to mp3, seems like it only changed the file extension.
Code:
#!/bin/bash current_directory=$( pwd ) #remove spaces for i in *.wma; do mv "$i" `echo $i | tr ' ' '_'`; done #remove uppercase for i in *.[Ww][Mm][Aa]; do mv "$i" `echo $i | tr '[A-Z]' '[a-z]'`; done #Rip with Mplayer / encode with LAME 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 #convert file names for i in *.wma; do mv "$i" "`basename "$i" .wma`.mp3"; done rm audiodump.wav
Is it possible for me to get this done? & do any of you know a method that works
Comment