You are not logged in.

#1 2010-06-09 06:37:11

dedhart
Member
Registered: 2006-07-02
Posts: 123

Could use some help with command line burning

I was looking for ways to create some CD's with artist, track and album info, and I came across this:
http://apocalyptech.com/linux/cdtext/
Anyways the cue sheet option looked good for large files, so I tried making a cue sheet for A State of Trance 2010 in the same fashion as the example on this wikipedia page:
http://en.wikipedia.org/wiki/Cue_sheet_(computing)
But when using the command: cdrecord dev=/dev/sr0 cuefile=A_State_of_Trance_2010_disk_1.cue
I get the following error: cdrecord: Unsupported filetype 'MP3' on line 3 col 39 in 'A_State_of_Trance_2010_disk_1.cue'.
Ok so apparently cdrecord doesn't support burning MP3 files from a cue sheet? Ok so I figured I'd try cdrdao:
cdrdao write --device /dev/sr0 A_State_of_Trance_2010_disk_1.cue
And I get: ERROR: A_State_of_Trance_2010_disk_1.cue:138: Cannot determine length of track data specification.
Anyone know what I need to burn this file to a cd?

Offline

#2 2010-06-09 18:27:45

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: Could use some help with command line burning

dedhart wrote:

I was looking for ways to create some CD's with artist, track and album info, and I came across this:
http://apocalyptech.com/linux/cdtext/
Anyways the cue sheet option looked good for large files, so I tried making a cue sheet for A State of Trance 2010 in the same fashion as the example on this wikipedia page:
http://en.wikipedia.org/wiki/Cue_sheet_(computing)
But when using the command: cdrecord dev=/dev/sr0 cuefile=A_State_of_Trance_2010_disk_1.cue
I get the following error: cdrecord: Unsupported filetype 'MP3' on line 3 col 39 in 'A_State_of_Trance_2010_disk_1.cue'.
Ok so apparently cdrecord doesn't support burning MP3 files from a cue sheet? Ok so I figured I'd try cdrdao:
cdrdao write --device /dev/sr0 A_State_of_Trance_2010_disk_1.cue
And I get: ERROR: A_State_of_Trance_2010_disk_1.cue:138: Cannot determine length of track data specification.
Anyone know what I need to burn this file to a cd?

you need to decode mp3 to wav and change the appropriate line in the cue file


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#3 2010-06-10 02:43:05

dedhart
Member
Registered: 2006-07-02
Posts: 123

Re: Could use some help with command line burning

cdrecord: Unknown filetype 'WAV' on line 3 col 39 in 'A_State_of_Trance_2010_disk_1.cue'.
[pwner@myhost A State of Trance 2010]$ cdrdao write --device /dev/sr0 A_State_of_Trance_2010_disk_1.cue
Cdrdao version 1.2.3 - (C) Andreas Mueller <andreas@daneb.de>
A_State_of_Trance_2010_disk_1.cue:3: Unsupported file type

Nope, any other suggestions?
BTW heres the cue file, if it doesn't look right let me know:

TITLE "A State of Trance 2010 - disk 1 - On the Beach"
PERFORMER "Mixed by Armin Van Buuren"
FILE "A_State_of_Trance_2010_disk_1.mp3" MP3
  TRACK 01 AUDIO
    TITLE "Closer"
    PERFORMER "Susana & Omnia & The Blizzard"
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    TITLE "Who We Are"
    PERFORMER "Luigi Lusini"
    INDEX 01 05:54:00
  TRACK 03 AUDIO
    TITLE "Days of Wonder"
    PERFORMER "M6"
    INDEX 01 11:49:00
  TRACK 04 AUDIO
    TITLE "Near the End"
    PERFORMER "Matt Zo"
    INDEX 01 16:40:00
  TRACK 05 AUDIO
    TITLE "Sincere"
    PERFORMER "Monogato"
    INDEX 01 22:05:00
  TRACK 06 AUDIO
    TITLE "Last Minute"
    PERFORMER "Ron Hagen & Al Exander"
    INDEX 01 26:31:00
  TRACK 07 AUDIO
    TITLE "Savanna"
    PERFORMER "The Thrillseekers"
    INDEX 01 30:53:00
  TRACK 08 AUDIO
    TITLE "Lovers Lane"
    PERFORMER "Ørjan Nilsen"
    INDEX 01 35:17:00
  TRACK 09 AUDIO
    TITLE "Cut and Run"
    PERFORMER "Beat Service & Emma Lock"
    INDEX 01 40:08:00
  TRACK 10 AUDIO
    TITLE "Stranger To Myself (Tenishia's Burnout Mix)"
    PERFORMER "Tenishia & Aneym"
    INDEX 01 45:50:00
  TRACK 11 AUDIO
    TITLE "She Moves"
    PERFORMER "Andy Moor & Carrie Skipper"
    INDEX 01 51:24:00
  TRACK 12 AUDIO
    TITLE "Shades of Grey"
    PERFORMER "DJ Governor"
    INDEX 01 58:45:00
  TRACK 13 AUDIO
    TITLE "Ibiza Sunrise (Classic Dub)"
    PERFORMER "Myon & Shane 54 and Labworks"
    INDEX 01 64:31:00
  TRACK 14 AUDIO
    TITLE "Run Till U Shine (Cosmic Gate Remix)"
    PERFORMER "Andrew Bennett & Sir Adrian"
    INDEX 01 70:39:00

Offline

#4 2010-06-10 03:24:45

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: Could use some help with command line burning

I think that the type is WAVE and not WAV

EDIT: A better cue sheet desc http://wiki.hydrogenaudio.org/index.php?title=Cuesheet when you need audio info, hydrogenaudio is a good place to start looking.

Last edited by kazuo (2010-06-10 03:28:21)

Offline

#5 2010-06-14 14:46:53

tri1976
Member
Registered: 2009-09-07
Posts: 152

Re: Could use some help with command line burning

dedhart, did you figure out how to burn CD-TEXT for audio cd?  Do you mind sharing it?  I was able to burn an audio cd using cdrecord and cue sheet ("cdrecord -v -eject dev=/dev/sr0 driveropts=burnfree -pad cuefile=cuesheet.cue"), but when I put it in my cd player, there is no text?  I'm using cdrtools 3.0

Offline

#6 2010-06-17 13:54:56

dedhart
Member
Registered: 2006-07-02
Posts: 123

Re: Could use some help with command line burning

Yeah using WAVE worked for me, however now there are roughly 1 second gaps between the tracks. Any idea how to make a gapless CD. There are no gaps in the original file so I thought it would just burn it as is without the gaps.

Offline

#7 2010-06-17 14:58:45

tri1976
Member
Registered: 2009-09-07
Posts: 152

Re: Could use some help with command line burning

cdrecord dev=/dev/sr0 cuefile=A_State_of_Trance_2010_disk_1.cue

Does this command give you CD-TEXT?

Offline

#8 2010-06-17 15:08:15

dedhart
Member
Registered: 2006-07-02
Posts: 123

Re: Could use some help with command line burning

Yes it does. Not all cd players will read CD-TEXT however, but most linux media players will recognize it ( I believe i-tunes should as well)

Offline

#9 2010-06-17 17:26:04

tri1976
Member
Registered: 2009-09-07
Posts: 152

Re: Could use some help with command line burning

Interesting.  My cue sheet look something like this:

FILE "01. Cau Kinh Tinh Yeu - Don Ho.wav" WAVE
  TRACK 01 AUDIO
    TITLE "Cau Kinh Tinh Yeu"
    PERFORMER "Don Ho"
    INDEX 01 00:00:00
FILE "02. Dau Chan Tinh Ai & Toc Ngang Bo Vai - Nhu Loan, Nguyen Thang.wav" WAVE
  TRACK 02 AUDIO
    TITLE "Dau Chan Tinh Ai & Toc Ngang Bo Vai"
    PERFORMER "Nhu Loan, Nguyen Thang"
    INDEX 01 00:00:00
FILE "03. Toi Muon Noi Yeu Em - Nguyen Hung.wav" WAVE
  TRACK 03 AUDIO
    TITLE "Toi Muon Noi Yeu Em"
    PERFORMER "Nguyen Hung"
    INDEX 01 00:00:00

When I use a command similar to yours, it complains that pad is needed.  I add in "-pad" option and was able to burn an audio cd.  I put it in my car cd player (which show CD-TEXT for other CDs) and no text is available.  What cdrtools version are you using?  I thought I have the latest and greatest (maybe that's the problem)

Offline

#10 2010-06-18 01:26:06

dedhart
Member
Registered: 2006-07-02
Posts: 123

Re: Could use some help with command line burning

cdrtools 2.01.01a77-1

Offline

#11 2010-06-18 01:53:15

dedhart
Member
Registered: 2006-07-02
Posts: 123

Re: Could use some help with command line burning

Have you tried cdrdao? might be easier to create a toc file for cdrdao than a cue sheet. Anyways, I just put the disk in my cd player just to see how it sounds & I hear no gaps! smile I guess my problem is solved. Strange though that I'd hear gaps when I play it back in Audacious.
Do you get text if you play your cd in your computer? Anyways I guess CD-TEXT is different from the information stored on store bought CD's cause it seems some media players that display information from store bought cd's won't display CD-TEXT, so how to get it to mimic info on a store bought cd is beyond me, unless maybe somehow you copy the whole cd as an iso image and burn it that way...

Offline

#12 2010-07-05 19:56:02

tri1976
Member
Registered: 2009-09-07
Posts: 152

Re: Could use some help with command line burning

Just an update on burning CD-TEXT with cdrecord...you need to include "-text" option for CD-TEXT.

Offline

Board footer

Powered by FluxBB