IPB

Welcome Guest ( Log In | Register )

FLAC Checksum off
FOO_ME
post Jun 24 2006, 11:01
Post #1





Group: Members
Posts: 20
Joined: 12-June 06
From: San Diego and VA
Member No.: 31751



I'm sorry if this has previously been asked, but I was unable to find anything pertaining to it.

I encoded a WAV into FLAC and calculated the MD5 for each and converted it back. Both WAV files had the same checksum, but when I did --show-md5sum it gave me a compltely different value, that value didnt match the FLAC or the WAV.

If the result of the --show-md5sum is supposed to be different what is that hash calculated from?

Thanks,
Pete
Go to the top of the page
+Quote Post
 
Start new topic
Replies
disintegrated
post Jun 24 2006, 12:45
Post #2





Group: Members
Posts: 8
Joined: 11-April 06
Member No.: 29404



http://flac.sourceforge.net/documentation.html says:
"Also included in the STREAMINFO block is the MD5 signature of the unencoded audio data."

So
--show-md5sum (.flac) != md5 (.wav)
but:
--show-md5sum (.flac) == md5 (.raw)

.raw is audio data only.. no headers, no riff chunks..
(.raw = .wav - nonAudioData)

on my machine, flac.exe decodes to .raw via
flac -d --force-raw-format --sign=signed --endian=little <flac-file>
Go to the top of the page
+Quote Post

Posts in this topic


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: 20th April 2014 - 20:12