Re: [Flac] Re: FLAC: ERROR, MD5 signature mismatch

2007-07-26 Thread Harry Sack

2007/7/25, Josh Coalson [EMAIL PROTECTED]:


--- Harry Sack [EMAIL PROTECTED] wrote:
 2007/7/25, Harry Sack [EMAIL PROTECTED]:
 
  Hi
 
  I have downloaded a FLAC file somewhere and when trying to decode
 it to
  WAV it gives the error message: ERROR, MD5 signature mismatch
  So my question is now: are FLAC files that give the error message
 above
  still decodable to WAV (and how can you do this, because flac.exe
 doesn't
  want to decode the file), even if there is a MD5 signature
 mismatch, or is
  this not possible at all?

if that is the only error given even when decoded with -F, then
it got all the samples back.  they are also highly likely to be
the same samples that were encoded.  most likely they were encoded
on a machine with bad hardware (bad ram, aggressive overclocking),
less likely is that the file was corrupted or tampered with.





But how is it possible then the FLAC encoder allows files which have a bad
resulting MD5 to be encoded? Is it because of the bad ram, ... this
incorrect MD5 is not detected during encoding?

Can you also give me an example of an error message that would occur when
the file is corrupted?
___
Flac mailing list
Flac@xiph.org
http://lists.xiph.org/mailman/listinfo/flac


[Flac] Re: FLAC: ERROR, MD5 signature mismatch

2007-07-25 Thread Harry Sack

2007/7/25, Harry Sack [EMAIL PROTECTED]:


Hi

I have downloaded a FLAC file somewhere and when trying to decode it to
WAV it gives the error message: ERROR, MD5 signature mismatch
So my question is now: are FLAC files that give the error message above
still decodable to WAV (and how can you do this, because flac.exe doesn't
want to decode the file), even if there is a MD5 signature mismatch, or is
this not possible at all?




An additional question: what happens if you re-encode a FLAC file, that
gives the error message 'ERROR, MD5 signature mismatch' while trying to
decode to WAV, to another FLAC file using a later version of the FLAC
encoder? I tried this and it seems to work, but I'm wondering if the audio
data is still the same in the new file as in the old file?  Or what happens
in the re-encode process when such a input FLAC file is re-encoded to
another FLAC file?

thx in advance!

thx


___
Flac mailing list
Flac@xiph.org
http://lists.xiph.org/mailman/listinfo/flac


[Flac] Re: FLAC: ERROR, MD5 signature mismatch

2007-07-25 Thread Harry Sack

2007/7/25, Harry Sack [EMAIL PROTECTED]:




2007/7/25, Harry Sack [EMAIL PROTECTED]:

 Hi

 I have downloaded a FLAC file somewhere and when trying to decode it to
 WAV it gives the error message: ERROR, MD5 signature mismatch
 So my question is now: are FLAC files that give the error message above
 still decodable to WAV (and how can you do this, because flac.exedoesn't want 
to decode the file), even if there is a MD5 signature mismatch,
 or is this not possible at all?



An additional question: what happens if you re-encode a FLAC file, that
gives the error message 'ERROR, MD5 signature mismatch' while trying to
decode to WAV, to another FLAC file using a later version of the FLAC
encoder? I tried this and it seems to work, but I'm wondering if the audio
data is still the same in the new file as in the old file?  Or what happens
in the re-encode process when such a input FLAC file is re-encoded to
another FLAC file?




Here is the metaflac --list of the input and output FLAC file, the input
file is the file that gives the 'ERROR, MD5 signature mismatch' error when
decoding to WAV. The output file is the newly re-encoded FLAC file when
using the input file as an input to the FLAC encoder:

metaflac --list input_file.flac
METADATA block #0
 type: 0 (STREAMINFO)
 is last: false
 length: 34
 minimum blocksize: 1152 samples
 maximum blocksize: 1152 samples
 minimum framesize: 0 bytes
 maximum framesize: 4768 bytes
 sample_rate: 44100 Hz
 channels: 2
 bits-per-sample: 16
 total samples: 20527080
 MD5 signature: 5f00690064003d005000200020002000
METADATA block #1
 type: 4 (VORBIS_COMMENT)
 is last: false
 length: 287
 vendor string: Flake SVN
 comments: 11
   comment[0]: TITLE=Dido (Armin Van Buuren's Universal Religion Mix)
   comment[1]: ARTIST=Aria
   comment[2]: ALBUM ARTIST=DJ Tiƫsto
   comment[3]: ALBUM=Summerbreeze
   comment[4]: GENRE=General Trance
   comment[5]: DATE=2000
   comment[6]: DISCNUMBER=1/1
   comment[7]: PUBLISHER=Nettwerk
   comment[8]: COMMENT=Ripped by Winamp
   comment[9]: TRACKNUMBER=1
   comment[10]: ENCODED-BY=Winamp 5.34
METADATA block #2
 type: 1 (PADDING)
 is last: true
 length: 3826




**

metaflac --list output_file.flac
METADATA block #0
 type: 0 (STREAMINFO)
 is last: false
 length: 34
 minimum blocksize: 4096 samples
 maximum blocksize: 4096 samples
 minimum framesize: 14 bytes
 maximum framesize: 14043 bytes
 sample_rate: 44100 Hz
 channels: 2
 bits-per-sample: 16
 total samples: 20527080
 MD5 signature: 4478d07a5f9acaae35cdef1f1753c764
METADATA block #1
 type: 3 (SEEKTABLE)
 is last: false
 length: 846
 seek points: 47
   point 0: sample_number=0, stream_offset=0, frame_samples=4096
   point 1: sample_number=438272, stream_offset=1010333, frame_samples=4096
   point 2: sample_number=880640, stream_offset=2027118, frame_samples=4096
   point 3: sample_number=1318912, stream_offset=3048483,
frame_samples=4096
   point 4: sample_number=1761280, stream_offset=4067062,
frame_samples=4096
   point 5: sample_number=2203648, stream_offset=5063693,
frame_samples=4096
   point 6: sample_number=2641920, stream_offset=6081493,
frame_samples=4096
   point 7: sample_number=3084288, stream_offset=7139986,
frame_samples=4096
   point 8: sample_number=3526656, stream_offset=8223226,
frame_samples=4096
   point 9: sample_number=3964928, stream_offset=9324016,
frame_samples=4096
   point 10: sample_number=4407296, stream_offset=10366547,
frame_samples=4096
   point 11: sample_number=4849664, stream_offset=11436008,
frame_samples=4096
   point 12: sample_number=5287936, stream_offset=12491977,
frame_samples=4096
   point 13: sample_number=5730304, stream_offset=13715044,
frame_samples=4096
   point 14: sample_number=6172672, stream_offset=14963345,
frame_samples=4096
   point 15: sample_number=6610944, stream_offset=16294043,
frame_samples=4096
   point 16: sample_number=7053312, stream_offset=17663068,
frame_samples=4096
   point 17: sample_number=7495680, stream_offset=19027520,
frame_samples=4096
   point 18: sample_number=7933952, stream_offset=20380473,
frame_samples=4096
   point 19: sample_number=8376320, stream_offset=21739699,
frame_samples=4096
   point 20: sample_number=8818688, stream_offset=23101828,
frame_samples=4096
   point 21: sample_number=9256960, stream_offset=24461617,
frame_samples=4096
   point 22: sample_number=9699328, stream_offset=25856237,
frame_samples=4096
   point 23: sample_number=10141696, stream_offset=27254435,
frame_samples=4096
   point 24: sample_number=10579968, stream_offset=28648219,
frame_samples=4096
   point 25: sample_number=11022336, stream_offset=30041445,
frame_samples=4096
   point 26: sample_number=11464704, stream_offset=31425625,
frame_samples=4096
   point 27: sample_number=11902976, stream_offset=32813313,
frame_samples=4096
   point 28: sample_number=12345344, stream_offset=34237869,
frame_samples=4096
   point 29: sample_number=12787712,