QUOTE(jcoalson @ Apr 21 2005, 12:03 PM)
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.gzJosh
I just happened across this thread, but coincidentally I just tried the tool that Josh mentioned above. In my case I am sure the files are corrupted due to a failing hard drive (that I am frantically trying to back up). In my case it is impossible to recover the exact original audio content, but my plan is to repair as best I can and to make note of the problem. My logs for one corrupted track are below:
=-=-=-=-=
Test:
flac 1.1.2, Copyright © 2000,2001,2002,2003,2004,2005 Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. Type `flac' for details.
Track03.flac: testing, 79% complete
Track03.flac: *** Got error code 0:FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC
Track03.flac: *** Got error code 2:FLAC__STREAM_DECODER_ERROR_STATUS_FRAME_CRC_MISMATCH
Track03.flac: ERROR while decoding data
state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC
-------------------------------------------------------------------------------
Recovery with affd:
F:\FlacRepair>flacdec -r -f wav -v Track03.flac
Track03.wav.00000 [44100Hz 2ch 16bit], fsn: 0
1682 [4608] -> 1684 [4608]
missing 1 frames
samples decoded: 7755264
Track03.wav.00001 [44100Hz 2ch 16bit], fsn: 1684
samples decoded: 1906848
-------------------------------------------------------------------------------
Lame-O repair attempts:
Track 3 wavs rejoined in Soundforge 8, pencil tool used to smooth splice transition, minor "glitch/pop" audible at 2:55.865
Track 3 Version 2 - Crossfade on .05 seconds: no audible "glitch", but slight "shortening" detectable in word "Millionaire".
Track 3 Version 3 - Crossfade on .01 seconds, still no audible "glitch", "shortening" less noticeable.
Track 3 Version 4 - Crossfade on .001 second - Best, still no "glitch", still slightly audible.