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: 602
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
BruRob
post Feb 6 2005, 14:56
Post #2





Group: Members
Posts: 25
Joined: 22-July 03
Member No.: 7929



Your third line reads: FILE "Nearness of You- The Ballad Book.wav" WAVE

Should it be: FILE "Nearness of You- The Ballad Book.flac" FLAC
Go to the top of the page
+Quote Post
smz
post Feb 6 2005, 15:23
Post #3





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



QUOTE (BruRob @ Feb 6 2005, 03:56 PM)
Your third line reads: FILE "Nearness of You- The Ballad Book.wav" WAVE

Should it be: FILE "Nearness of You- The Ballad Book.flac" FLAC
*


No, it really doesn't matter. In the past I've made plenty of tests with that and it gives you exactly the same result, bit perfect, in both cases. I've tried to change it even this time, just in case it wasn't more the case with FLAC 1.1.2, but I got the same error. crying.gif

Edit: In any case it should be:

FILE "Nearness of You- The Ballad Book.flac" WAVE (not FLAC)

This post has been edited by smz: Feb 6 2005, 15:24


--------------------
Sergio
Revox B150 + (JBL 4301B | Sennheiser HD430)
Go to the top of the page
+Quote Post
smz
post Feb 6 2005, 20:11
Post #4





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



Sorry to bump this post, but I think I have some (VERY STRANGE) news.

The problem is not the cuesheet.

If I try to embed that cuesheet to another FLAC there is no problem at all.

The problem is in the WAV file, but I really can't understand what's going on.

The file is a 2 channel, 44100Hz, 16bit, PCM file.
It's size is 639,117,832 bytes.
It's length is 60 minutes and 23 seconds

If I FLAC it without cuesheet everything is OK.

If I FLAC it with *ANY* cuesheet I get the error.

Even if I decode the FLACed original to a new WAV and then I try to reFLAC the new WAV with the cuesheet embedded I get the error.

I'm really puzzled... blink.gif


Sergio


--------------------
Sergio
Revox B150 + (JBL 4301B | Sennheiser HD430)
Go to the top of the page
+Quote Post
jcoalson
post Feb 7 2005, 05:28
Post #5


FLAC Developer


Group: Developer
Posts: 1526
Joined: 27-February 02
Member No.: 1408



I probably cannot tell anything without having the files (WAV and FLAC).

Josh
Go to the top of the page
+Quote Post
smz
post Feb 7 2005, 12:32
Post #6





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



QUOTE (jcoalson @ Feb 7 2005, 06:28 AM)
I probably cannot tell anything without having the files (WAV and FLAC).
*


I know, but it will not be very practical to e-mail a 610MB attachment to you...

There are alternatives:

1) the FLAC file will be enough because from that you can decode a WAV that will have the problem. This will reduce the amount of data needed from 609 to 310 MB. I can share it for you on E-Mule or I can FTP it to a server of your choice. With a bit more of work I can setup an FTP server on my PC from where you can download.

2) I can try to enucleate the RIFF header from the WAV file, stick it to a "generic" WAV file (possibly all zero samples), and see if the problem persist.

3) I can give you remote desktop or VNC access to my PC.

4) I can send you a CD by snail-mail.

5) I can act as a "longa manus" of you and do whatever you ask me to on my PC

6) whatever else comes to your mind...


Many thanks in advance.


Sergio


--------------------
Sergio
Revox B150 + (JBL 4301B | Sennheiser HD430)
Go to the top of the page
+Quote Post
lexor
post Feb 7 2005, 13:44
Post #7





Group: Members
Posts: 216
Joined: 20-July 03
Member No.: 7896



QUOTE (smz @ Feb 7 2005, 03:32 AM)
QUOTE (jcoalson @ Feb 7 2005, 06:28 AM)
I probably cannot tell anything without having the files (WAV and FLAC).
*

I know, but it will not be very practical to e-mail a 610MB attachment to you...
*


try and see if you can cut a part of the wav and then encode it with that cue sheet into flac. if it fails (with that error) then you can upload ~5mb into the forum's upload section. that way it's manageble size, and still has the problem you have with the biggie.

This post has been edited by lexor: Feb 7 2005, 13:44


--------------------
The Plan Within Plans
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: 22nd December 2014 - 10:14