LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-23-2005, 01:53 PM   #1
darkangel29
Member
 
Registered: Nov 2004
Location: Puerto Rico
Distribution: Ubuntu 10.04
Posts: 121

Rep: Reputation: 15
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
 
Old 09-23-2005, 02:02 PM   #2
geeman2.0
Member
 
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345

Rep: Reputation: 30
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.
 
Old 09-23-2005, 02:20 PM   #3
darkangel29
Member
 
Registered: Nov 2004
Location: Puerto Rico
Distribution: Ubuntu 10.04
Posts: 121

Original Poster
Rep: Reputation: 15
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.
 
Old 09-23-2005, 04:04 PM   #4
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
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.
 
Old 09-23-2006, 11:10 PM   #5
DaveQB
Member
 
Registered: Oct 2003
Location: Sydney, Australia.
Distribution: Debian, Ubuntu
Posts: 400

Rep: Reputation: 39
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 ?
 
  


Reply



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
FC3 - K3b not recognizing mp3s w/ k3b-mp3 installed! Forezt Linux - Software 2 07-25-2006 05:43 PM
k3b wont burn mp3s joeman3429 Fedora 4 09-30-2004 07:13 PM
K3B - Won't Burn Specific MP3s larsenmtl Linux - Software 6 05-30-2004 10:05 AM
k3b error with audio cd burn (no prob with iso burn) bluem Linux - Newbie 1 04-16-2004 08:05 AM
burn audio cds from mp3s? frieza Linux - Software 2 01-11-2004 06:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:03 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
Open Source Consulting | Domain Registration