LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   get k3b to burn mp3s (https://www.linuxquestions.org/questions/linux-newbie-8/get-k3b-to-burn-mp3s-366337/)

darkangel29 09-23-2005 02:53 PM

get k3b to burn mp3s
 
How can I get k3b to burn .mp3s to normal audio cds that will work on normal cd player?? I'm using mandrake 2005. Thanx for anything

geeman2.0 09-23-2005 03:02 PM

It's dead simple really.

Start a new audio cd project, then drag and drop the mp3s into the play list to be burnt. It will automatically convert them to cd tracks.

Just be careful not to create a data cd project, or you'll just end up with the mp3 files themselves on the disc.

darkangel29 09-23-2005 03:20 PM

Thanks and what about .wma to audio cd?? Where do I download the plug in because is giving me some error message about being an unsupported format.

teckk 09-23-2005 05:04 PM

Put the .ram files that you want to convert into a folder. Make a text file with this script and call it somethng like convert.sh Then make it executable. Run this script in the same folder as the media files.


#!/bin/bash
#
# convert ram files into mp3s

for i in *.ram
do
#convert the ram file to a wav
mplayer -ao pcm:file="$i.wav" `cat "$i"`
#convert that wav file to an mp3
lame -h -b 192 "$i.wav" "$i.mp3"
#remove the wav file, it's useless now
rm "$i.wav"
#fix up the filename by removing extrenous extensions
x=`echo "$i.mp3"|sed -e 's/ram.mp3/mp3/'`
mv "$i.mp3" "$x"
done


I've used this with .ra, .ram before. I think that this will work for .wma too.

#!/bin/bash
#
# convert wma files into mp3s

for i in *.wma
do
#convert the wma file to a wav
mplayer -ao pcm:file="$i.wav" `cat "$i"`
#convert that wav file to an mp3
lame -h -b 192 "$i.wav" "$i.mp3"
#remove the wav file, it's useless now
rm "$i.wav"
#fix up the filename by removing extrenous extensions
x=`echo "$i.mp3"|sed -e 's/wma.mp3/mp3/'`
mv "$i.mp3" "$x"
done


Let us know how it turns out.

DaveQB 09-24-2006 12:10 AM

I think a fifo pipe would save temp disk storage converting to wav.

Just a thought.

Oh yeah, I am searching to see if its possible for k3b to convert wma to CD audio wave or you can only burn them to audio CD with a 3rd step script ?


All times are GMT -5. The time now is 10:18 AM.