FLAC Stream Decoder Error, FLAC__STREAM_DECODER_ERROR_STATUS_LOST_S |
FLAC Stream Decoder Error, FLAC__STREAM_DECODER_ERROR_STATUS_LOST_S |
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 |
|
|
|
![]() |
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 |
|
|
|
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 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? |
|
|
|
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 |
|
|
|
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. |
|
|
|
Apr 21 2005, 01:45
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. got the file. it's corrupted. I can see in a hex editor that there are big blocks of zeroes where the middle of the id3v2 tag and beginning of the FLAC stream should be. flac -dF is currently not able to decode through errors like this. Josh |
|
|
|
Apr 21 2005, 15:13
Post
#7
|
|
|
Group: Members Posts: 5 Joined: 20-April 05 Member No.: 21579 |
QUOTE (jcoalson @ Apr 20 2005, 08:45 PM) got the file. it's corrupted. I can see in a hex editor that there are big blocks of zeroes where the middle of the id3v2 tag and beginning of the FLAC stream should be. flac -dF is currently not able to decode through errors like this. Josh So no way to fix it yet? No flac repair tools out there yet huh? Will using Case's Tag as stated above have any effect? By the way, I repeat, the files play and sound great in Media Monkey (if I play a song that does not have this problem first), so I'm a little confused by your statement that the begining of the FLAC stream has a bunch of zeros in it... P.S. I forgot to mention, that if there is a way to repari the file I do not mind loosing any of the tags as there are a plenty of programs that will be able to retag them from their filename/directory struction. This post has been edited by KingTubba: Apr 21 2005, 17:55 |
|
|
|
Apr 21 2005, 18:03
Post
#8
|
|
|
FLAC Developer Group: Developer Posts: 1526 Joined: 27-February 02 Member No.: 1408 |
QUOTE (KingTubba @ Apr 21 2005, 09:13 AM) So no way to fix it yet? No flac repair tools out there yet huh? no, the damage is too severe. it is possible to recover frames on a frame-by-frame basis totally ignoring the metadata but I still have to add that functionality to -F. another FLAC developer has written a frame decoder that includes recovery but I haven't tried it. it may work for your files: http://phoenix.inf.upol.cz/~lichvarm/affd/affd-0.1.0.tar.gz QUOTE (KingTubba @ Apr 21 2005, 09:13 AM) Will using Case's Tag as stated above have any effect? not on this file I don't think. even the id3v2 tag is corrupted. QUOTE (KingTubba @ Apr 21 2005, 09:13 AM) By the way, I repeat, the files play and sound great in Media Monkey (if I play a song that does not have this problem first), so I'm a little confused by your statement that the begining of the FLAC stream has a bunch of zeros in it... can't explain that. Josh |
|
|
|
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 QUOTE (80k @ Jan 24 2005, 01:33 AM)so a fix w... Jan 24 2005, 09:01
jcoalson QUOTE (KingTubba @ Apr 20 2005, 10:18 AM)I wa... Apr 20 2005, 17:49
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![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 05:47 |