LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-03-2005, 10:04 PM   #1
April
LQ Newbie
 
Registered: Apr 2005
Distribution: Slackware 10.1
Posts: 18

Rep: Reputation: 0
MP3 burning software


Does anyone know offhand of any existing console based burning software that allows burning of MP3 files [as audio CD's] without having to first decode them to .wav files?

I think K3b does this, and I know that the next version of Fireburner is supposed to support this, but both of them are GUI based.

I found one...mp3burn [there's also a GUI based version, Xmp3burn], but after installation, one by one, mp3burn seemed to request a never ending list of perl modules needed to run.

Does anyone know of any others?

Last edited by April; 05-03-2005 at 10:13 PM.
 
Old 05-03-2005, 10:35 PM   #2
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 33
If you installed the f/ series of packages it is on your own computer under /usr/doc/Linux-HOWTOs/MP3-CD-Burning. You can do it easily in the console.
by cutting and pasting the commands into a terminal.

I like madplay to transencode mp3 to wav's; mpg321 worked also but sounded slightly boomy to me
You may need to add madplay from your slackware install cd's



edited for clarity

Last edited by shepper; 05-03-2005 at 10:39 PM.
 
Old 05-03-2005, 11:36 PM   #3
April
LQ Newbie
 
Registered: Apr 2005
Distribution: Slackware 10.1
Posts: 18

Original Poster
Rep: Reputation: 0
I think you may have misunderstood my question. Either that, or I am misunderstanding you!

I read the HOWTO you mentioned regarding MP3 burning, however, it didn't exactly address my question.

What I want to do, is take a batch of MP3 files, and WITHOUT having to first convert them to .wav files, burn them to a disk, with the output to the disk being an AUDIO CD [playable on a normal CD player]

Like I said, I think K3bsupports this, as well as the upcoming version of Fireburner. But the only console based software I found was mp3burn [not burnmp3, as mentioned in the howto you mentioned] but mp3burn wanted an endless list of perl modules installed.

The only thing I found in the howto regarding this issue was this:

Quote:
5. Software

There are some programs available, that can automate the process of creating
CDs from MP3 files. Here is arbitrarily selected list:

* burnmp3 - Program to automate burning with DAO method. [http://
richardsnow.bizland.com/burnmp3/] http://richardsnow.bizland.com/burnmp3
/.

* mp32dao - a script from cdrdao distribution, in the contrib directory.
[http://cdrdao.sourceforge.net/] http://cdrdao.sourceforge.net/
I looked at the address given for burnmp3, but got a 403 forbidden error message.

I looked at mp32dao also, but that's not quite what I am looking for.

Oh well, For now, I will just stick with my usual method of decoding first, and then I guess I will have to use the upcoming version of Fireburner, which will allow direct burning of MP3 files to create an audio CD. Fireburner is great, it would just be nice if there was a command line version!

Last edited by April; 05-03-2005 at 11:38 PM.
 
Old 05-04-2005, 12:19 AM   #4
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 33
Normal audio cd players only handle *wav files. They will not open iso9660 formated cd's.


Here are the abreviated instructions from the howto:

Quote:
2.1.1. Filename Cleanup

1. Collect all MP3 files in one directory.

2. If any filenames contain spaces, first convert them to underscores:
for i in *.mp3; do mv "$i" `echo $i | tr ' ' '_'`; done

This first step is important because, even if unix itself allows spaces
in filenames, most programs get confused by them.

3. If your MP3 files came from DOS/Windows, they may have uppercase
extensions. You can convert whole names to lowercase or just extensions.
For everything lowercase do:
for i in *.[Mm][Pp]3; do mv "$i" `echo $i | tr '[A-Z]' '[a-z]'`; done

to convert just extensions:
for i in *.MP3; do mv "$i" "`basename "$i" .MP3`.mp3"; done
Quote:
2.1.2.1. mpg123 and mpg321

Originally, there was only mpg123. However, it uses a proprietary licensing,
and now there's an open source replacement - mpg321. Both commands use the
same syntax:
for i in *.mp3; do mpg321 -w `basename $i .mp3`.wav $i; done

When decoding 22khz MP3 files the output of mpg123 may be distorted. I don't
know how well mpg321 deals with this problem. If you're converting with
mpg123, use:
for i in *.mp3; do mpg123 --rate 44100 --stereo --buffer 3072 --resync -w `basename $i .mp3`.wav $i; done


Mpg123 can be obtained from [http://www.mpg123.de/] http://www.mpg123.de/.

Mpg321 is available from [http://mpg321.sourceforge.net/] http://
mpg321.sourceforge.net/.

NOTE I noticed that with some MP3 files mpg123 output was distorted. At first
I thought that MP3's were bad, but then I checked with another player and
they sounded OK. So mpg123 is not my converter of choice.
-----------------------------------------------------------------------------

2.1.2.2. MAD

Another MP3 player/decoder, and the one I prefer, is madplay. It's available
from [http://www.mars.org/home/rob/proj/mpeg/] http://www.mars.org/home/rob/
proj/mpeg/. With madplayer, the command line is:
for i in *.mp3; do madplay -o `basename $i .mp3`.wav $i; done

Unfortunately, madplay also had problems with some of MP3 files I had. I
don't think there's a problem with the decoder, but rather with it handling
broken MP3 files.
Quote:
-----------------------------------------------------------------------------

2.2. Normalisation

Normalisation is a process during which all the sound files are brought to
the same relative loudness level. I use a program by Chris Vaill (<
cvaill@cs.columbia.edu>), called normalize - it can be obtained from [http://
www.cs.columbia.edu/~cvaill/normalize/] http://www.cs.columbia.edu/~cvaill/
normalize/

I use the following syntax (-m is for mix mode, where all files should be as
loud as possible):
normalize -m *.wav
-----------------------------------------------------------------------------
Quote:
3. Burning Your CD

There are many programs to create CDs from WAV files. I use cdrecord for
command-line burning and XCDROAST for gui. For cdrecord, you have to know
what SCSI device your CD-writer is. If you're using ATAPI writer, with older
kernel, use SCSI emulation (kernel module ide-scsi). As of kernel 2.6, you
can use ATAPI directly, without SCSI emulation, by prepending ATAPI: to the
device specification. Let's assume, that your ATAPI cdwriter is on the second
IDE bus as a master. Thus, it will have /dev/hdc device file. To instruct the
kernel that you want to treat it as a SCSI device, add the following line to
/etc/lilo.conf:
append=" hdc=ide-scsi"

Also, if your kernel doesn't automatically load ide-scsi module, add insmod
ide-scsi into your rc.local (or equivalent) file. Once you have our CD-writer
recognized as a SCSI device, run cdrecord --scanbus to find out what's the
"dev" parameter to cdrecord. On my system, the output looks like the
following:
scsibus1:
1,0,0 100) 'IOMEGA ' 'ZIP 250 ' '51.G' Removable Disk
1,1,0 101) 'HP ' 'CD-Writer+ 7100 ' '3.01' Removable CD-ROM

So, the cdrecord command line will contain dev=1,1,0 to specify the device.
Here is the complete command on my system:
cdrecord dev=1,1,0 -eject speed=2 -pad -audio *.wav

And, with kernel 2.6:
cdrecord dev=ATAPI:1,1,0 -eject speed=2 -pad -audio *.wav
Note that you have to specify the address of your burner and can usually increase the speed.
 
Old 05-04-2005, 12:23 AM   #5
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Try http://bashburn.sourceforge.net
 
Old 05-04-2005, 12:48 AM   #6
April
LQ Newbie
 
Registered: Apr 2005
Distribution: Slackware 10.1
Posts: 18

Original Poster
Rep: Reputation: 0
That looks like the ticket for now. Thanks gbonvehi!

shepper, thanks for all the info. I know that files need to be .wav's to create an audio CD, I was just looking for something console based that did the conversion on the fly (like Nero does - MP3 files to AUDIO CD)

Last edited by April; 05-04-2005 at 12:50 AM.
 
Old 06-14-2005, 02:33 AM   #7
geletine
Member
 
Registered: Apr 2005
Distribution: Slackware
Posts: 213
Blog Entries: 2

Rep: Reputation: 30
i have not looked at bashburn, i presume it changes the mp3s to wavs automatically, in the background and then dumps them on cds, then proberly deletes them, mp3 is a compressed format, a standard cd plays uncompressed audio data, so it has to somewhere along the proccess uncompress mp3s to a suitable uncompressed format (wav) and the place them on a cd to write.

It would be nice if mp3 could be burned on to cd, without having to change format, to save harddisk space, all there do is change the mp3 to wav and burn it to cd on the fly.

how else can the mp3s uncompress, to ram?

if someone could explain the process

the actual burning in K3b is done by the command line utilities cdrecord, cdrdao, and growisofs.
i am sure gnomebaker uses similar procedures.
 
Old 06-14-2005, 02:41 AM   #8
geletine
Member
 
Registered: Apr 2005
Distribution: Slackware
Posts: 213
Blog Entries: 2

Rep: Reputation: 30
in fact i just read on the gnomebaker website : gnomebaker.sourceforge.net

Requirements: libgnomeui-2.0 gtk+-2.0 >= 2.4 libglade-2.0 cdtools mkisofs libvorbis libvorbisfile mpg123 oggdec sox growisofs

mp3123 is the mp3-wav converter
 
Old 06-14-2005, 11:19 AM   #9
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Of course, the mp3s have to be decompressed somewhere when burning and compressed when ripping.
Bashburn does this into a pipeline it does not use files.
 
Old 06-14-2005, 05:16 PM   #10
geletine
Member
 
Registered: Apr 2005
Distribution: Slackware
Posts: 213
Blog Entries: 2

Rep: Reputation: 30
what do you mean by a pipline?
 
Old 06-14-2005, 07:27 PM   #11
BrianW
Member
 
Registered: Jul 2003
Location: Montana
Posts: 297

Rep: Reputation: Disabled
THere are several programs like Nero to use (sorry didn't read the entire thread so I have no idea what has been posted).

k3b - KDE based burning program (most like Nero imho) Its been awhile since I burned a disc, but I believe k3b converts and writes on the fly.
GnomeBaker - GNOME burning program, only 2 options (MP3 and Data CD). I like it though, however I can't remember if it requires a temp dir for conversions.
Graveman - GNOME, Data DVD/CD and Audio CD. This needs a temporary directory to convert mp3 to wav first before burning.

I believe there is actually a few more that may come with GNOME (well GSB Freerock) but I haven't really ever looked since I use k3b the most. Good luck.

Last edited by BrianW; 06-14-2005 at 07:29 PM.
 
Old 06-14-2005, 10:19 PM   #12
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
A pipe is a space in memory that can contain anything (a variable actually) and it's used when redirecting the output of a program to something. It's usually used to redirect to another program, a good example is when you use grep togheter with a command separated with | like: dmesg | grep cd
If you still don't understand (I'm not good explaining things ), go into bash man page (man bash) and search for Pipelines by typing /Pipelines

Last edited by gbonvehi; 06-14-2005 at 10:33 PM.
 
Old 06-15-2005, 02:27 AM   #13
Andronik
Member
 
Registered: Sep 2003
Location: Estonia Tartu
Distribution: Debian, edition depends on what i run it, wheezy on main box.
Posts: 91

Rep: Reputation: 15
Re: MP3 burning software

Quote:
Originally posted by April


I found one...mp3burn [there's also a GUI based version, Xmp3burn], but after installation, one by one, mp3burn seemed to request a never ending list of perl modules needed to run.

Does anyone know of any others?

maybe late and a bit offtopic.

Perl can be your friend. this never ending list can be really easy to solve. most important, it can help you in another perl situations too.you must have Perl itself installed (5.8.x something)

do as root:

cpan -e

answer manual configuration questions, they are easy to follow. choose region and some folders and etc.
for auto-resolving dependencies allow them while answering.

then

cpan ?

gives u some imagination of syntax.

now

i /missing::modulename/

this gives your possible match's of exact package name you are looking for.

now you can just install if name is found

for example following command from cpan console will install Perl audio-mixer for perl panel.

i Audio::Mixer

you can install anything you like from worldwide CPAN library like that now.
do some google, what is CPAN

never used mp3burn, so can't tell is it good or not.
 
Old 06-15-2005, 06:49 AM   #14
geletine
Member
 
Registered: Apr 2005
Distribution: Slackware
Posts: 213
Blog Entries: 2

Rep: Reputation: 30
do you mean hard disk memory? if so its kind of like convering mp3s to .wavs.
in otherwords to burn mp3s to audio cd on-the-fly certain amount of harddisk memory is required to fufill the task.

you cannot make a audio cd from mp3s with say 300mb on your hardisk?
i may of misunderstood you.
 
Old 06-16-2005, 07:13 AM   #15
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
It uses memory if you don't have enough, starts swapping.

There's casually a article on pipes from today here: http://technology.newsforge.com/tech...?tid=119&tid=2
It explains other uses, but may help you understand.

Edit: I've just come across this on Freshmeat.net: http://www.ivarch.com/programs/pv.shtml
It's a app that will tell you the progress of data between two programs using a pipe. I haven't used it but seems nice.

Last edited by gbonvehi; 06-16-2005 at 09:26 AM.
 
  


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
a prog for burning mp3 on cd safrout Linux - Software 28 12-20-2002 12:16 AM
Burning MP3 CDs bxb32001 Linux - Software 12 08-25-2002 10:56 PM
MP3 Burning Software? RedHatMN Linux - General 2 04-08-2002 07:00 PM
mp3/cd burning program Coproscefalo Linux - General 2 01-10-2002 03:24 AM
Burning MP3 Cdroms Raygun Linux - General 0 05-18-2001 08:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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