Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Going from APE to FLAC (Exception: Indexes must be in chronological order) (Read 2154 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Going from APE to FLAC (Exception: Indexes must be in chronological order)

Hi all,

I've seen very old posts on this problem, and I've tried the solutions suggested therein, but to no avail.

I am trying to convert a single large APE file into multiple FLAC files - one per track.  so for this disc i have the APE, the CUE and the EAC log (though I'd note this reports v1.0 of EAC...)

When I try to get CUETools to split the APE up, I get a message: the indexes need to be in chronological order.  The original cue file is attached: Joseph Hayden ... - Copy.cue.

So one suggestion was to drop the Index 00 entries.  Tried that - the first index needs to point to the start of the file.  So the follow up suggestion was to edit the Track 1 index to point at 00:00:00.  Again no joy - same message: First index must start at the beginning of the file.  so I've attached the second cue as well.

Interestingly VLS is cool with any/all of these...

So I'm tired and frustrated right now, and probably missing something extremely obvious.  I hope someone is willing to have a look here and tell me what it is I'm doing wrong!

Other than that, pretty happy at present with the product!

Cheers,

GB


MOD Edit: Modified Topic Title (was: Going from APE to FLAC )

Re: Going from APE to FLAC (Exception: Indexes must be in chronological order)

Reply #1
The original CUE has a TAB character preceding the first INDEX 01 that needs to be replaced with spaces.
Code: [Select]
REM GENRE Classical
REM DATE 1979
REM DISCID 420C0106
REM COMMENT "ExactAudioCopy v1.0b3"
PERFORMER "Joseph Haydn"
TITLE "11 Piano Sonatas - Alfred Brendel (Disc 01)"
FILE "Joseph Haydn - 11 Piano Sonatas - Alfred Brendel (Disc 01).ape" WAVE
  TRACK 01 AUDIO
    TITLE "Piano Sonata in C minor Hob. XVI.20 - 1. Moderato"
    PERFORMER "Joseph Haydn"
    INDEX 00 00:00:00
INDEX 01 00:00:33
  TRACK 02 AUDIO
corrected:
Code: [Select]
REM GENRE Classical
REM DATE 1979
REM DISCID 420C0106
REM COMMENT "ExactAudioCopy v1.0b3"
PERFORMER "Joseph Haydn"
TITLE "11 Piano Sonatas - Alfred Brendel (Disc 01)"
FILE "Joseph Haydn - 11 Piano Sonatas - Alfred Brendel (Disc 01).ape" WAVE
  TRACK 01 AUDIO
    TITLE "Piano Sonata in C minor Hob. XVI.20 - 1. Moderato"
    PERFORMER "Joseph Haydn"
    INDEX 00 00:00:00
    INDEX 01 00:00:33
  TRACK 02 AUDIO

The modified CUE, the TAB character is still present (now in front of INDEX 00) and too much information was removed. INDEX 00 00:00:00 shows where the file begins but INDEX 01 00:00:33 is still needed to show where the track begins. All other Index 00 entries can be removed.
Code: [Select]
REM GENRE Classical
REM DATE 1979
REM DISCID 420C0106
REM COMMENT "ExactAudioCopy v1.0b3"
PERFORMER "Joseph Haydn"
TITLE "11 Piano Sonatas - Alfred Brendel (Disc 01)"
FILE "Joseph Haydn - 11 Piano Sonatas - Alfred Brendel (Disc 01).ape" WAVE
  TRACK 01 AUDIO
    TITLE "Piano Sonata in C minor Hob. XVI.20 - 1. Moderato"
    PERFORMER "Joseph Haydn"
INDEX 00 00:00:00
  TRACK 02 AUDIO
corrected:
Code: [Select]
REM GENRE Classical
REM DATE 1979
REM DISCID 420C0106
REM COMMENT "ExactAudioCopy v1.0b3"
PERFORMER "Joseph Haydn"
TITLE "11 Piano Sonatas - Alfred Brendel (Disc 01)"
FILE "Joseph Haydn - 11 Piano Sonatas - Alfred Brendel (Disc 01).ape" WAVE
  TRACK 01 AUDIO
    TITLE "Piano Sonata in C minor Hob. XVI.20 - 1. Moderato"
    PERFORMER "Joseph Haydn"
    INDEX 00 00:00:00
    INDEX 01 00:00:33
  TRACK 02 AUDIO
korth

Re: Going from APE to FLAC (Exception: Indexes must be in chronological order)

Reply #2
That works - I am so grateful.  That never occurred to me.

I had a very quick browse of the source code - certainly not detailed enough to pick that one up.

I wonder if there is a reason why the code doesn't treat the tab as white space (as is quite often done) or whther this is a change worth exploring!

My thanks

GB

 

Re: Going from APE to FLAC (Exception: Indexes must be in chronological order)

Reply #4
UPDATE: commit bf67b53 adds support for CUE sheets where a tab is used for indentation.
korth