IPB

Welcome Guest ( Log In | Register )

Flac Doesn't Let Me Embed This Cuesheet, What's wrong with it?
smz
post Feb 6 2005, 13:43
Post #1





Group: Members
Posts: 597
Joined: 15-February 04
From: Venezia, Italia
Member No.: 12025



Flac (1.1.2) doesn't let me embed the follwing cuesheet

CODE
PERFORMER "Performer Name"
TITLE "Album Title"
FILE "mytestfile.wav" WAVE
 TRACK 01 AUDIO
   TITLE "Track01 Title"
   PERFORMER "Performer Name"
   INDEX 01 00:00:00

   ...

with this error:

CODE
ERROR initializing encoder
state= FLAC_STREAM_ENCODER_INVALID_METADATA


Is this a bug or there is something wrong with my cuesheet that I can't spot?

Cheers

Sergio


Edit: spelling. If also a mod could fix the topic title... thanks! (Done, thanks to the mod!)

Edit2: removed great part of the cuesheet as the problem was not with it (see subsequent posts), to make the thread more readable.

Edit3: Modified cuesheet example so that RIAA doesn't sue me, in case I die...

This post has been edited by smz: Feb 9 2005, 02:34


--------------------
Sergio
Revox B150 + (JBL 4301B | Sennheiser HD430)
Go to the top of the page
+Quote Post
 
Start new topic
Replies
Synthetic Soul
post Feb 8 2005, 13:21
Post #2





Group: Super Moderator
Posts: 4887
Joined: 12-August 04
From: Exeter, UK
Member No.: 16217



I just tested your WAVE and CUE and got the same result.

However, I then tried the CUE with a WAVE I have kicking about, and still got the same result/error.

I tried it with another WAVE with another CUE and it worked fine. I tried the new CUE with my "bad" WAVE and it didn't work. I have therefore concluded that it is the WAVE files (as I think we knew).

I have just converted a small MP3 I had kicking about to WAV using foobar, and got the same error. If I convert the file to FLAC and then back again to WAVE I still get the error, so I have uploaded it to my webspace (I can't upload to HA as it is a Zuton's track at 37 seconds). Please feel free to download, convert to WAVE and try adding a cuesheet using FLAC --cuesheet=<x> untitled.wav. Please delete after testing though.

I used METAFLAC to add the cuesheet using --import-cuesheet-from and it seems to have worked (I'm not familiar with METAFLAC or FLAC). If I do METAFLAC --list I get:

CODE
METADATA block #0
type: 0 (STREAMINFO)
is last: false
length: 34
minumum blocksize: 4608 samples
maximum blocksize: 4608 samples
minimum framesize: 3261 bytes
maximum framesize: 11467 bytes
sample_rate: 44100 Hz
channels: 2
bits-per-sample: 16
total samples: 1668096
MD5 signature: 875b837e0fcf8df4f5a8f97292d97d6a
METADATA block #1
type: 3 (SEEKTABLE)
is last: false
length: 90
seek points: 5
point 0: sample_number=0, stream_offset=0, frame_samples=4608
point 1: sample_number=552960, stream_offset=892787, frame_samples=4608
point 2: sample_number=880128, stream_offset=1585974, frame_samples=4608
point 3: sample_number=1110528, stream_offset=2085320, frame_samples=4608
point 4: sample_number=1764000, stream_offset=0, frame_samples=0
METADATA block #2
type: 4 (VORBIS_COMMENT)
is last: false
length: 40
vendor string: reference libFLAC 1.1.2 20050205
comments: 0
METADATA block #3
type: 5 (CUESHEET)
is last: false
length: 576
media catalog number:
lead-in: 88200
is CD: true
number of tracks: 4
track[0]
offset: 0
number: 1
ISRC:
type: AUDIO
pre-emphasis: false
number of index points: 1
index[0]
offset: 0
number: 1
track[1]
offset: 882000
number: 2
ISRC:
type: AUDIO
pre-emphasis: false
number of index points: 1
index[0]
offset: 0
number: 1
track[2]
offset: 1764000
number: 3
ISRC:
type: AUDIO
pre-emphasis: false
number of index points: 1
index[0]
offset: 0
number: 1
track[3]
offset: 1668096
number: 170 (LEAD-OUT)
METADATA block #4
type: 1 (PADDING)
is last: true
length: 3480


Edit: link to FLAC file removed

This post has been edited by Synthetic Soul: Feb 10 2005, 15:51


--------------------
I'm on a horse.
Go to the top of the page
+Quote Post

Posts in this topic
- smz   Flac Doesn't Let Me Embed This Cuesheet   Feb 6 2005, 13:43
- - BruRob   Your third line reads: FILE "Nearness of You-...   Feb 6 2005, 14:56
|- - smz   QUOTE (BruRob @ Feb 6 2005, 03:56 PM)Your thi...   Feb 6 2005, 15:23
|- - smz   Sorry to bump this post, but I think I have some (...   Feb 6 2005, 20:11
|- - jcoalson   I probably cannot tell anything without having the...   Feb 7 2005, 05:28
|- - smz   QUOTE (jcoalson @ Feb 7 2005, 06:28 AM)I prob...   Feb 7 2005, 12:32
|- - lexor   QUOTE (smz @ Feb 7 2005, 03:32 AM)QUOTE (jcoa...   Feb 7 2005, 13:44
|- - smz   QUOTE (lexor @ Feb 7 2005, 02:44 PM)try and s...   Feb 7 2005, 14:16
|- - smz   Does anybody knows a tool to validate the structur...   Feb 8 2005, 12:04
|- - rjamorim   QUOTE (smz @ Feb 8 2005, 09:04 AM)Does anybod...   Feb 8 2005, 13:21
- - Synthetic Soul   I just tested your WAVE and CUE and got the same r...   Feb 8 2005, 13:21
- - Synthetic Soul   QUOTE (rjamorim @ Feb 8 2005, 12:21 PM)QUOTE ...   Feb 8 2005, 13:33
- - jcoalson   I see the problem, but I'm not sure what to do...   Feb 8 2005, 19:04
|- - smz   Josh, thank-you for analyzing the problem. Here a...   Feb 9 2005, 02:26
- - Synthetic Soul   QUOTE (smz @ Feb 9 2005, 01:26 AM)QUOTE (jcoa...   Feb 9 2005, 11:23
- - kjoonlee   IMHO the assumption(s) that flac and metaflac make...   Feb 9 2005, 15:22
|- - smz   QUOTE (kjoonlee @ Feb 9 2005, 03:22 PM)... Th...   Feb 9 2005, 15:41
|- - rjamorim   QUOTE (kjoonlee @ Feb 9 2005, 12:22 PM)One vo...   Feb 9 2005, 18:04
- - jcoalson   the majority of cuesheet use is via cuesheets ripp...   Feb 9 2005, 18:56
|- - rjamorim   QUOTE (jcoalson @ Feb 9 2005, 03:56 PM)the ma...   Feb 9 2005, 19:01
- - kjoonlee   The cuesheet format screams out "CD-DA"....   Feb 10 2005, 12:51
|- - smz   QUOTE (kjoonlee @ Feb 10 2005, 12:51 PM)The c...   Feb 10 2005, 13:17
|- - rjamorim   QUOTE (smz @ Feb 10 2005, 10:17 AM)Correct. W...   Feb 12 2005, 03:24
|- - smz   QUOTE (rjamorim @ Feb 12 2005, 03:24 AM)QUOTE...   Feb 12 2005, 03:38
|- - rjamorim   QUOTE (smz @ Feb 12 2005, 12:38 AM)I didn...   Feb 12 2005, 17:11
- - m0rbidini   I agree with rjamorim and smz. FLAC is making assu...   Feb 10 2005, 13:18
- - m0rbidini   Er, correction. I wrote: QUOTE Cue sheets don...   Feb 10 2005, 13:25
- - Synthetic Soul   QUOTE (m0rbidini @ Feb 10 2005, 12:25 PM)...   Feb 10 2005, 13:46
- - jcoalson   how is the cuesheet duration specified if there is...   Feb 10 2005, 16:24
- - Synthetic Soul   Point taken. You could ascertain whether the last...   Feb 10 2005, 16:30
- - m0rbidini   Meh, I had it "more or less right" the f...   Feb 11 2005, 15:09
- - Synthetic Soul   Actually, on re-reading, I think you said it just ...   Feb 11 2005, 15:23
|- - smz   I would like to make with you all a sanity check o...   Feb 12 2005, 01:23
|- - smz   One more consideration: If foobar2000 easly accep...   Feb 12 2005, 02:16
|- - rjamorim   ...   Feb 12 2005, 03:28
- - jcoalson   following up, this is changed in CVS, output now l...   Aug 24 2005, 01:27
- - Synthetic Soul   Thanks Josh. As you say, it's up to the user ...   Aug 24 2005, 09:40


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th April 2014 - 11:55