IPB

Welcome Guest ( Log In | Register )

FLAC Stream Decoder Error, FLAC__STREAM_DECODER_ERROR_STATUS_LOST_S
Zennon
post Jan 16 2005, 03:01
Post #1





Group: Members
Posts: 11
Joined: 16-January 05
Member No.: 19091



I'm in the process of backing up 500 CD-DA discs in FLAC format (using EAC). I ran a shell script to test (flac.exe -t; flac version 1.1.1) the 4000 FLAC files on my hard drive so far and found that flac.exe reported errors for 36 files. All errors are the same:

<filename>: *** Got error code 0:FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC

The files decompress fine, but now I'm not sure if I got the exact WAVs back. What does this error message mean, and how severe is the error? Moreover, is there a way to avoid it when compressing WAVs to FLAC in EAC?

This post has been edited by Zennon: Jan 17 2005, 00:10
Go to the top of the page
+Quote Post
 
Start new topic
Replies
jcoalson
post Jan 24 2005, 01:22
Post #2


FLAC Developer


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



OK, found the problem. it is a decoder bug that is exposed when there is an id3 tag at the end of the file AND the last frame of the audio stream has a certain blocksize. integrity of the audio is not affected but the sync error is annoying. no need to re-encode either.

it's fixed in CVS and will be in the next release.

Josh
Go to the top of the page
+Quote Post
80k
post Jan 24 2005, 07:33
Post #3





Group: Members
Posts: 29
Joined: 1-January 05
Member No.: 18745



QUOTE (jcoalson @ Jan 23 2005, 04:22 PM)
OK, found the problem.  it is a decoder bug that is exposed when there is an id3 tag at the end of the file AND the last frame of the audio stream has a certain blocksize.  integrity of the audio is not affected but the sync error is annoying.  no need to re-encode either.

it's fixed in CVS and will be in the next release.

Josh
*


interesting. yea it has happened to me a bunch, and i just decoded and reencoded (which stripped the id3 tag, i guess). i did it because foobar always pops up a message and i wanted it to go away smile.gif

so a fix would be to set EAC to not "add ID3 tag", huh? in fact, the ID3 tag really does nothing and has no place/purpose in a flac file, cuz it uses a different tagging system?
Go to the top of the page
+Quote Post
Zennon
post Jan 26 2005, 01:33
Post #4





Group: Members
Posts: 11
Joined: 16-January 05
Member No.: 19091



Josh, many thanks for sorting this out. Glad to hear I don't have to re-rip/re-encode.

Cheers,
Zennon
Go to the top of the page
+Quote Post
KingTubba
post Apr 20 2005, 16:18
Post #5





Group: Members
Posts: 5
Joined: 20-April 05
Member No.: 21579



I was wondering if you could help me out. I have a bunch of flacs (with no access to the original sources) that I encoded but give the LOST_SYNC error when verified. The strange thing is they will play fine in Media Monkey if a non LOST_SYNC file is played first (?). Anyway, is there anyway to fix the files? flac -d doesn't work. It gives the same error, and if you tell decode through errors is says something about the source file being to big for a single wav chunk. Note: Yes, these were originally encoded with an id3 tag, silly of me...

Any ideas on how to fix the files? I do have a 4MB sample (its an intro to a "song") that I could email over if anyone needs to see it. Feel free to reply here or email me at maps1@nesurf.com.
Go to the top of the page
+Quote Post
jcoalson
post Apr 20 2005, 17:49
Post #6


FLAC Developer


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



QUOTE (KingTubba @ Apr 20 2005, 10:18 AM)
I was wondering if you could help me out. I have a bunch of flacs (with no access to the original sources) that I encoded but give the LOST_SYNC error when verified. The strange thing is they will play fine in Media Monkey if a non LOST_SYNC file is played first (?). Anyway, is there anyway to fix the files? flac -d doesn't work. It gives the same error, and if you tell decode through errors is says something about the source file being to big for a single wav chunk. Note: Yes, these were originally encoded with an id3 tag, silly of me...

Any ideas on how to fix the files? I do have a 4MB sample (its an intro to a "song") that I could email over if anyone needs to see it. Feel free to reply here or email me at maps1@nesurf.com.

if the lost sync is at the end of the file it could be tags but I'd have to see the file. I'll email you for the sample.

as for the chinese docs... good idea but someone will have to volunteer for the translation. our russian version of the FLAC site has fallen out of date too for lack of maintenance.

and yes, now that vorbis comment adoption has increased it's probably time for more stern wording on the site. I'm hesitant to pull support altogether because id3v2 is being used in some products for album art.

Josh
Go to the top of the page
+Quote Post

Posts in this topic
- Zennon   FLAC Stream Decoder Error   Jan 16 2005, 03:01
- - jcoalson   if a file tests fine and the md5sum is non-zero (d...   Jan 16 2005, 05:56
|- - Zennon   Josh, thanks for your reply. It's always a del...   Jan 17 2005, 13:56
|- - jcoalson   QUOTE (Zennon @ Jan 17 2005, 07:56 AM)So the ...   Jan 17 2005, 23:14
|- - Zennon   QUOTE (jcoalson @ Jan 17 2005, 02:14 PM)QUOTE...   Jan 17 2005, 23:32
|- - Zennon   Yes, the error that I get is a decoder error. What...   Jan 17 2005, 23:37
- - jcoalson   the best way is if you can host it somewhere acces...   Jan 18 2005, 01:02
|- - Zennon   OK, I will upload a buggy FLAC tonight. Not sure ...   Jan 18 2005, 01:22
- - 80k   I had an interesting situation with the same error...   Jan 18 2005, 06:33
|- - jcoalson   QUOTE (80k @ Jan 18 2005, 12:33 AM)... any id...   Jan 18 2005, 06:39
- - jcoalson   I looked at your files quickly... the sync error s...   Jan 20 2005, 01:35
|- - Zennon   Thanks Josh, that's good news. I guess now I d...   Jan 20 2005, 03:48
- - jcoalson   OK, found the problem. it is a decoder bug that i...   Jan 24 2005, 01:22
|- - 80k   QUOTE (jcoalson @ Jan 23 2005, 04:22 PM)OK, f...   Jan 24 2005, 07:33
|- - jcoalson   QUOTE (80k @ Jan 24 2005, 01:33 AM)so a fix w...   Jan 24 2005, 09:01
|- - Zennon   Josh, many thanks for sorting this out. Glad to he...   Jan 26 2005, 01:33
|- - KingTubba   I was wondering if you could help me out. I have a...   Apr 20 2005, 16:18
|- - jcoalson   QUOTE (KingTubba @ Apr 20 2005, 10:18 AM)I wa...   Apr 20 2005, 17:49
|- - jcoalson   QUOTE (KingTubba @ Apr 20 2005, 10:18 AM)I wa...   Apr 21 2005, 01:45
|- - KingTubba   QUOTE (jcoalson @ Apr 20 2005, 08:45 PM)got t...   Apr 21 2005, 15:13
|- - jcoalson   QUOTE (KingTubba @ Apr 21 2005, 09:13 AM)So n...   Apr 21 2005, 18:03
|- - guygee   QUOTE (jcoalson @ Apr 21 2005, 12:03 PM)no, t...   Apr 1 2006, 16:16
|- - guygee   QUOTE (guygee @ Apr 1 2006, 10:16 AM)--------...   Apr 1 2006, 17:00
- - kjoonlee   How about using an ID3 editor to just chop the ID3...   Apr 20 2005, 16:46
|- - guest0101   QUOTE (kjoonlee @ Apr 20 2005, 08:46 AM)How a...   Apr 20 2005, 16:57
- - kjoonlee   Well, have you tried Case's Tag?   Apr 20 2005, 17:26
- - Synthetic Soul   QUOTE (kjoonlee @ Apr 20 2005, 05:26 PM)Well,...   Apr 20 2005, 22:07
|- - kjoonlee   QUOTE (Synthetic Soul @ Apr 21 2005, 06:07 AM...   Apr 21 2005, 03:33
|- - Deep_Elem   QUOTE (Synthetic Soul @ Apr 20 2005)I believe...   Apr 21 2005, 05:46
- - KingTubba   Thanks for the help. I'll check out affd. Keep...   Apr 21 2005, 18:09
- - mad_arab   I have the same problem. 3 songs out of 7 albums g...   May 2 2005, 11:11
- - KingTubba   Still have those files... ...still haven't fou...   Feb 17 2006, 22:35
- - KingTubba   CORRECTION: flacdec was able to recover each one o...   Feb 24 2006, 14:37
- - jcoalson   ok, I just checked in a fix for -F that will allow...   Jun 14 2006, 02:46
|- - axisjack   [quote name='jcoalson' date='Jun 13 20...   Sep 2 2006, 10:54
- - jcoalson   hopefully some time this month. most of the new m...   Sep 5 2006, 20:50
|- - towolf   QUOTE (jcoalson @ Sep 5 2006, 21:50) hope...   Oct 1 2006, 16:08
- - jcoalson   sorry, code is too different. there will be a bet...   Oct 2 2006, 05:23
- - xmixahlx   affd was updated to 0.1.1 (last year, actually) ht...   Oct 5 2006, 09:08
- - viktor   hi, i have several flac files on my laptop hdd. s...   May 19 2007, 02:56
- - viktor   i think ive realised the source of the problem. on...   May 20 2007, 08:53
|- - jcoalson   QUOTE (viktor @ May 20 2007, 02:53) offto...   May 20 2007, 16:56
- - viktor   QUOTE (jcoalson @ May 20 2007, 16:56) QUO...   May 20 2007, 21:15
- - Roobar   Hey viktor... I don't want to jump over your p...   May 21 2007, 01:34
- - viktor   QUOTE (Roobar @ May 21 2007, 01:34) Hey v...   May 21 2007, 19:55
|- - Roobar   QUOTE (viktor @ May 22 2007, 04:55) anywa...   May 23 2007, 03:22
- - viktor   hmm i think its not that serious.. once you locate...   May 23 2007, 08:45
- - tenfoot   Hello: I've got a similar problem to that des...   Jan 6 2012, 04:38
- - tenfoot   I've uploaded the flac in question to hotfile:...   Jan 6 2012, 04:51
- - Porcus   Destroyed beyond repair. Try to .zip it, and you w...   Jan 6 2012, 12:35
- - tenfoot   QUOTE (Porcus @ Jan 6 2012, 03:35) Destro...   Jan 6 2012, 20:25
- - Porcus   QUOTE (tenfoot @ Jan 6 2012, 20:25) Still...   Jan 7 2012, 01:55


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 September 2014 - 07:06