PDA

View Full Version : st5 question


mdshrk1
2015-10-20, 06:22 AM
When I ran st5 for a torrent, I got a possible truncated file. However, when I ran ffp, there was no error. What's up with that? It plays in foobar.

spidergawd
2015-10-20, 05:58 PM
Hard to say for sure, but sometimes when you check an ffp file, it simply verifies that the checksums in the ffp file match the checksums in the flac headers. To see if the files have become corrupt, you can run a flac "test" function "flac -t *.flac" which will basically re-compute the checksums and check if they match the checksums in the header. Generally speaking, the checksums in the ffp file should be the same as those in an st5 file, and it sounds like the software you used actually did a flac "test" type of check for the st5 and a simple comparison of the ffp file. Or something like that (even I'm having a hard time understanding the mumbo jumbo I've just typed, and I knew what I was thinking when I typed it).

mdshrk1
2015-10-20, 06:38 PM
:hmm:

mdshrk1
2015-10-20, 06:39 PM
:hmm:Gonna delete the track and up it incomplete.

spidergawd
2015-10-25, 12:42 PM
Perhaps an analogy/simile would help explain what I was trying to say. Checking flac fingerprints is like checking your fingerprints and saying "you really are you". It doesn't mean that you're healthy, any more than it means that the flac files have not been truncated or damaged in any other way. To test for that you need to take off the flac file's shoes, socks, and gloves and count its fingers and toes, check its blood pressure and do some blood work, turn its head and cough, etc. That's what flac's "test" mode (or st5) does, figuratively speaking.

When the flac is created, the software computes its checksums (fingerprints) and stores it in the file's header (special place for non-audio data). Checking an .ffp file is "usually" just comparing the fingerprints in the .ffp file with the fingerprints in the header. If they match, it just means that you have the correct files. It doesn't mean that they are healthy.

Running flac's "test" mode (or whatever you use for st5) re-computes the fingerprints, and then checks to see if the fingerprints of the current flac file match the fingerprints generated originally. If they match, everything is cool. If they don't, it means that something in the flac file has changed since it was created.

So it's entirely possible for a file to pass an ffp comparison and fail a true st5 test.