Mailinglist Archive: opensuse-multimedia (43 mails)
| < Previous | Next > |
Re: [SLE] .mp3 to .wav conversion tool
- From: Oliver Ob <ob_ok@xxxxxxx>
- Date: Wed, 12 Jun 2002 23:17:52 +0200
- Message-id: <3D07BA80.C652B6E3@xxxxxxx>
Keith Winston schrieb:
>
> On Sun, May 12, 2002 at 10:22:30AM -0700, neal mcdermott wrote:
> > Hi All,
> >
> > At the moment I am learning how to use cdrecord and have been able to make
> > data cds. I am now trying to make a music cd from mp3s, and am assuming that
> > I will have to convert them to .wav files and then burn them to a disk.
> >
> > I am wondering if anyone can recommend a good conversion tool, preferably one
> > that comes with the personal edition of 8.0. I tried using sox but got the
> > error message that it could not recognize .mp3 files.
>
> I use mpg123 which should be on the CDs (at least it is on the Pro CDs).
> You want to convert them to cdr format, not wav for burning to CD.
>
> This is the script I use, just put the mp3 files in the ~/burn/data
> directory.
>
> #!/bin/bash
> #
> # This is a CD-R script for burning mp3 files directly to CD.
> # The mpg123 program converts mp3s to cdr format, and cdrecord burns
> # the tracks on the CD.
> #
>
> for I in /home/foo/burn/data/*.mp3
> do
> mpg123 --cdr - "$I" | cdrecord dev=0,0,0 -audio -pad -v -speed=2
> -nofix -
> done
> cdrecord dev=0,0,0 -fix
>
> ####
>
> Best Regards,
> Keith
Damn!
Someone posted this file:
(I repost it to ensure I made no typo lapsus...)
#!/bin/bash
#
# This is a CD-R script for burning mp3 files directly to CD.
# The mpg123 program converts mp3s to cdr format, and cdrecord burns
# the tracks on the CD.
for I in /mnt/dir/*.mp3
do
mpg123 --cdr - "$I" | cdrecord dev=0,1,0 -audio -pad -v -speed=2
-nofix -
done
cdrecord dev=0,1,0 -fix
I now tried it out and ruined one. :-(
It does not properly convert the MP3s to WAV.
These errors occur:
1. It converts to a zero length file, meaning
that it will burn a track size of 0 MB audio
2. cdrecord aborts with:
Track 1 has unknown length.
Cannot open new session.
3. The disk cannot be fixated in the end.
cdrecords aborts with:
Cannot fixate without track list (not yet implemented)
Now, how can I fix the script to work it out?
Maybe I just mis-spelled or mistyped something.
Do you find the error?
--
*º¤., ¸¸,.¤º*¨¨¨*¤ =Oliver@home= *º¤., ¸¸,.¤º*¨¨*¤
I http://www.bmw-roadster.de/Friends/Olli/olli.html I
I http://www.bmw-roadster.de/Friends/friends.html I
I http://groups.yahoo.com/group/VGAP-93 I
I http://home.t-online.de/home/spacecraft.portal I
>>> Telek0ma iBBMS - soon back online +49.4503.TRSi1/TRSi2 <<<
>
> On Sun, May 12, 2002 at 10:22:30AM -0700, neal mcdermott wrote:
> > Hi All,
> >
> > At the moment I am learning how to use cdrecord and have been able to make
> > data cds. I am now trying to make a music cd from mp3s, and am assuming that
> > I will have to convert them to .wav files and then burn them to a disk.
> >
> > I am wondering if anyone can recommend a good conversion tool, preferably one
> > that comes with the personal edition of 8.0. I tried using sox but got the
> > error message that it could not recognize .mp3 files.
>
> I use mpg123 which should be on the CDs (at least it is on the Pro CDs).
> You want to convert them to cdr format, not wav for burning to CD.
>
> This is the script I use, just put the mp3 files in the ~/burn/data
> directory.
>
> #!/bin/bash
> #
> # This is a CD-R script for burning mp3 files directly to CD.
> # The mpg123 program converts mp3s to cdr format, and cdrecord burns
> # the tracks on the CD.
> #
>
> for I in /home/foo/burn/data/*.mp3
> do
> mpg123 --cdr - "$I" | cdrecord dev=0,0,0 -audio -pad -v -speed=2
> -nofix -
> done
> cdrecord dev=0,0,0 -fix
>
> ####
>
> Best Regards,
> Keith
Damn!
Someone posted this file:
(I repost it to ensure I made no typo lapsus...)
#!/bin/bash
#
# This is a CD-R script for burning mp3 files directly to CD.
# The mpg123 program converts mp3s to cdr format, and cdrecord burns
# the tracks on the CD.
for I in /mnt/dir/*.mp3
do
mpg123 --cdr - "$I" | cdrecord dev=0,1,0 -audio -pad -v -speed=2
-nofix -
done
cdrecord dev=0,1,0 -fix
I now tried it out and ruined one. :-(
It does not properly convert the MP3s to WAV.
These errors occur:
1. It converts to a zero length file, meaning
that it will burn a track size of 0 MB audio
2. cdrecord aborts with:
Track 1 has unknown length.
Cannot open new session.
3. The disk cannot be fixated in the end.
cdrecords aborts with:
Cannot fixate without track list (not yet implemented)
Now, how can I fix the script to work it out?
Maybe I just mis-spelled or mistyped something.
Do you find the error?
--
*º¤., ¸¸,.¤º*¨¨¨*¤ =Oliver@home= *º¤., ¸¸,.¤º*¨¨*¤
I http://www.bmw-roadster.de/Friends/Olli/olli.html I
I http://www.bmw-roadster.de/Friends/friends.html I
I http://groups.yahoo.com/group/VGAP-93 I
I http://home.t-online.de/home/spacecraft.portal I
>>> Telek0ma iBBMS - soon back online +49.4503.TRSi1/TRSi2 <<<
| < Previous | Next > |