SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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:
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!
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
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.
-----------------------------------------------------------------------------
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.
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
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)
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.
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.
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.
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
Distribution: Debian, edition depends on what i run it, wheezy on main box.
Posts: 91
Rep:
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.