LinuxQuestions.org
Visit Jeremy's Blog.
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 08-05-2005, 06:03 PM   #1
reksav
Member
 
Registered: Mar 2005
Posts: 34

Rep: Reputation: 15
burning mp3 as cda


is there a program for linux that will burn mp3 files as normal cd audio to play in cd players rather than mp3 players?
 
Old 08-05-2005, 06:10 PM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
cdrecord with the -audio flag set?
or use a converter to convert to wav first.

Last edited by Simon Bridge; 08-05-2005 at 06:15 PM.
 
Old 08-05-2005, 06:14 PM   #3
reksav
Member
 
Registered: Mar 2005
Posts: 34

Original Poster
Rep: Reputation: 15
using a converter is an option but if i have to go threw that hassle id just as rather go into xp to burn cds... im running fc3 with gnome if that makes a difference...
 
Old 08-06-2005, 12:00 AM   #4
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slack`er-current
Posts: 845

Rep: Reputation: 33
Use sox to convert mp3's to WAV's so they can be burned to a cd and played in a cd player.

Code:
 sox -t mp3 "$file" -t wav -r 44100 -w -s -c 2 "$(basename "$file" .mp3).wav"
Then burn them with cdrecord.

Code:
cdrecord dev=,0,0 gracetime=2 fs=4096k -v -useinfo -dao speed=12 -eject -pad -text -audio /home/yourcddirectory/*
Quote:
if i have to go threw that hassle id just as rather go into xp to burn cds..
Why even bother using Linux then?

Last edited by Linux~Powered; 08-06-2005 at 12:03 AM.
 
Old 08-06-2005, 03:18 AM   #5
spariggio82
Member
 
Registered: Apr 2004
Location: Camporotondo Etneo, Sicily
Distribution: SuSE 8.2 SuSE 9.1 Fedora C1 Slackware 10.1 Knoppix 3.9
Posts: 174

Rep: Reputation: 30
Why don't use k3b It's easy and powerfull (but I'm not sure it works under GNOME)
 
Old 08-06-2005, 12:15 PM   #6
reksav
Member
 
Registered: Mar 2005
Posts: 34

Original Poster
Rep: Reputation: 15
k3b does work in gnome but it will only burn the mp3s as mp3s on a data cd, it doesnt recognize them as audio files. linux~powered i know that can be done but like i said, the point of this was to find a way to get around having to convert them and letting the program do it itself...
 
Old 08-06-2005, 01:36 PM   #7
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slack`er-current
Posts: 845

Rep: Reputation: 33
All you have to do is write a simple script with those two main ingredients. Execute it and your done, all in one shot. Very simple.
 
Old 08-06-2005, 06:35 PM   #8
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
Quote:
Originally posted by reksav
k3b does work in gnome but it will only burn the mp3s as mp3s on a data cd, it doesnt recognize them as audio files. linux~powered i know that can be done but like i said, the point of this was to find a way to get around having to convert them and letting the program do it itself...
as long as you've got all of k3b's dependencies installed it should run ok in gnome for burning audio cd's.
 
Old 08-06-2005, 10:12 PM   #9
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Boow: please show how to configue K3B to burn mp3 files to cd and still get an audio cd out at the end of it?

One reason for not wanting to pre-convert is that the conversion process is lossy. The conversion to mp3 lost data to begin with.

I note that gnome-baker (amongst others) will burn mp3->audio cd's out of the box. This way you don't need to know about the conversion process. (It does this for you.)

This is, most of these seem to be front-ends to cdrecord, and that won't do it without converting the file first. The conversion is required because a cd player will not play mp3 format period. It wants a particular byte order, which mp3 does not do.
 
Old 08-07-2005, 09:50 PM   #10
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
k3b must have been compiled without mp3decoding support recompile from source make sure you have libmad installed. Also if you've got fedora or redhat try finding a k3b-mp3 rpm you can check freshrpms.net
 
Old 08-07-2005, 10:03 PM   #11
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
I can't be sure but I do think K3B does not burn directly from .mp3 to .cda and uses a similar conversion process but it transparent to the user... Either way you are not going to get CD quality from a compressed .mp3 anyway so saving the second conversion is not going to do much...

The easiest way is to get a player that can play CD and MP3...

KC
 
Old 08-11-2005, 07:10 PM   #12
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
Since any compressed format has to be decoded to wave before it can be burned to cd,whether k3b does the decoding or you do it by hand. Any lossy codec is not gonna make the perfect quality cd as it started from. Cd's made from good quality codecs sound way better than cassette tape.
 
Old 08-11-2005, 07:39 PM   #13
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
reksav: how did you get on?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Convert cda to mp3 maramor Linux - Software 5 07-22-2005 02:16 AM
Converting from mp3 to cda workman161 Linux - Software 4 07-17-2005 04:14 PM
Converting cda to mp3 OR ogg Cyb3rKnyght Linux - Software 2 10-18-2004 08:41 PM
Burning mp3's to .cda pAn1k Linux - Software 4 06-13-2004 03:15 PM
MP3 to WAV/CDA converter christer Linux - Software 1 10-23-2003 09:02 PM

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

All times are GMT -5. The time now is 11:45 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration