Problem with cue and toc file

Help
2007-02-03
2013-04-30
  • Ken Arromdee
    Ken Arromdee
    2007-02-03

    I have the following cue file:

    FILE "track01.iso" BINARY
      TRACK 01 MODE1/2048
          INDEX 01 00:00:00
          POSTGAP 00:02:00

    FILE "track02.mp3" WAVE
      TRACK 02 AUDIO
        PREGAP 00:02:00
        INDEX 01 00:00:00

    Using cue2toc (from cdrdao 1.2.2) creates this toc file:

    // Generated by cue2toc 0.2
    // Report bugs to <dermatsch@gmx.de>
    CD_ROM

    TRACK MODE1
        DATAFILE "track01.iso"
        ZERO 00:02:00

    TRACK AUDIO
        PREGAP 00:02:00
        AUDIOFILE "track02.mp3" 00:00:00

    These produce basically the same errors:
    ERROR: ud_burn.cue:10: START 00:02:00 behind or at track end.
    ERROR: ud_burn.toc:10: START 00:02:00 behind or at track end.

    I can "fix" this by changing the last line of the toc file to AUDIOFILE "track02.mp3" 0 0:04:00, but it seems that something's wrong here.  Please help....  I'm pretty certain the cue file is valid.

     
    • Ken Arromdee
      Ken Arromdee
      2007-02-03

      Ignore this, having two index listings at 00:00:00 isn't valid...

       
    • Ken Arromdee
      Ken Arromdee
      2007-02-03

      Or maybe it is.  It turns out that the index is the offset from the start of the *file*, not the start of the CD.  This has multiple FILEs, so the second INDEX 01 is okay.  Besides, if I change the INDEX to be at some number higher than 00:00:00, I get the same error.

      I really don't know why the file is giving me an error, and I just keep stumbling around trying to figure it out.  Can anyone help?  Is this in fact a bad cue sheet or is it a cdrdao/cue2toc bug?

       
      • Denis Leroy
        Denis Leroy
        2007-02-03

        can you verify that cdrdao is compiled with mp3 support ?

         
    • Ken Arromdee
      Ken Arromdee
      2007-02-08

      Yes, I can verify this.  In fact, as I've noted, I can fix the toc file by adding a "00:04:00" at the end of the last line, at which point it burns successfully.