The Traders' Den  

  The Traders' Den > Where we go to learn ..... > Technobabble
 
Home Forums FAQ Register Members List

Notices

Technobabble Post your general Need for Help questions here.
Lossy or Lossless?
Moderators

Reply
 
Thread Tools
  #1  
Old 2005-04-19, 09:24 PM
irishcrazy2005's Avatar
irishcrazy2005 irishcrazy2005 is offline
Yeah, that's a zebra donkey
110.97 GB/130.20 GB/1.17
 
Join Date: Nov 2004
Location: Berkeley, CA
Wholefile md5s

Hey ya'll,
So I have been thinking about how much I really like the part of wholefiles md5s that allows me to ensure that all of the files are there. I also greatly enjoy the idea of st5 and ffp. Is there some way to incorporate something that will check to see if all files are present and still stick with individual checksums?

Phil
Reply With Quote Reply with Nested Quotes
  #2  
Old 2005-04-19, 09:55 PM
feralicious's Avatar
feralicious feralicious is offline
dare to discover
63.44 GB/133.91 GB/2.11
 
Join Date: Nov 2004
Location: occasionally
Re: Wholefile md5s

You can look at the ffp/st5 in txt mode and see the list of files.
__________________
feralicious goodies
Don't get even.
Get odd.

....
Reply With Quote Reply with Nested Quotes
  #3  
Old 2005-04-19, 10:27 PM
irishcrazy2005's Avatar
irishcrazy2005 irishcrazy2005 is offline
Yeah, that's a zebra donkey
110.97 GB/130.20 GB/1.17
 
Join Date: Nov 2004
Location: Berkeley, CA
Re: Wholefile md5s

Quote:
Originally Posted by feralicious
You can look at the ffp/st5 in txt mode and see the list of files.
Haha, yeah I know. I guess I was just looking for a lazier method than this. As a second question, if you download a FLAC set, load up the files into FLAC frontend, and hit test, what exactly is the frontend checking the files against? Is it just information in the header of the file?

-Phil
Reply With Quote Reply with Nested Quotes
  #4  
Old 2005-04-19, 11:01 PM
pmonk's Avatar
pmonk pmonk is offline
520.32 GB/630.74 GB/1.21
 
Join Date: Nov 2004
Re: Wholefile md5s

Test (same as -d except no decoded file is written). The exit codes are the same as in decode mode.

Decode (flac encodes by default). flac will exit with an exit code of 1 (and print a message, even in silent mode) if there were any errors during decoding, including when the MD5 checksum does not match the decoded output. Otherwise the exit code will be 0.
Reply With Quote Reply with Nested Quotes
  #5  
Old 2005-04-20, 12:16 AM
feralicious's Avatar
feralicious feralicious is offline
dare to discover
63.44 GB/133.91 GB/2.11
 
Join Date: Nov 2004
Location: occasionally
Re: Wholefile md5s

Quote:
Originally Posted by pmonk66
Test (same as -d except no decoded file is written). The exit codes are the same as in decode mode.

Decode (flac encodes by default). flac will exit with an exit code of 1 (and print a message, even in silent mode) if there were any errors during decoding, including when the MD5 checksum does not match the decoded output. Otherwise the exit code will be 0.
Huh?

I believe it's checking the flac fingerprints against the shntool md5/st5 to make sure that it's the same hash as the decoded file.
__________________
feralicious goodies
Don't get even.
Get odd.

....
Reply With Quote Reply with Nested Quotes
  #6  
Old 2005-04-20, 12:26 AM
uhclem
0.00 KB/0.00 KB/---
 
Re: Wholefile md5s

Quote:
Originally Posted by irishcrazy2005
As a second question, if you download a FLAC set, load up the files into FLAC frontend, and hit test, what exactly is the frontend checking the files against? Is it just information in the header of the file?
Yes
Reply With Quote Reply with Nested Quotes
  #7  
Old 2005-04-20, 04:16 AM
Five's Avatar
Five Five is offline
189.30 GB/594.78 GB/3.14
 
Join Date: Oct 2004
Location: Canada
Re: Wholefile md5s

if you're on PC grab TLH, it can check .ffp and .st5 (or either with .txt extensions, too) just as if it were an oldschool wholefile .md5. The only inconvenience is that you can't associate these files so they can be double-clicked and trigger the program (but will be able to someday in a future version). You must first open TLH then find the .ffp/.st5/.txt file you wish to test.

http://thor.prohosting.com/roh0205/
__________________
Checksums Demystified | ask for help in Technobabble

thetradersden.org | ttd recommended free software/freeware webring
shntool tlh eac foobar2000 spek audacity cdwave vlc

Quote:
Originally posted by oxymoron
Here you are in a place of permanent madness, be careful!
Reply With Quote Reply with Nested Quotes
  #8  
Old 2005-04-20, 06:30 AM
pmonk's Avatar
pmonk pmonk is offline
520.32 GB/630.74 GB/1.21
 
Join Date: Nov 2004
Re: Wholefile md5s

[QOUTE=pmonk]Test (same as -d except no decoded file is written). The exit codes are the same as in decode mode.

Decode (flac encodes by default). flac will exit with an exit code of 1 (and print a message, even in silent mode) if there were any errors during decoding, including when the MD5 checksum does not match the decoded output. Otherwise the exit code will be 0.[/quote]

Quote:
Originally Posted by feralicious
Huh?

I believe it's checking the flac fingerprints against the shntool md5/st5 to make sure that it's the same hash as the decoded file.
Thats what I was saying!
Reply With Quote Reply with Nested Quotes
  #9  
Old 2005-04-20, 05:20 PM
spiritinaphoto
0.00 KB/0.00 KB/---
 
Re: Wholefile md5s

Quote:
Originally Posted by pmonk66
[QOUTE=pmonk]Test (same as -d except no decoded file is written). The exit codes are the same as in decode mode.

Decode (flac encodes by default). flac will exit with an exit code of 1 (and print a message, even in silent mode) if there were any errors during decoding, including when the MD5 checksum does not match the decoded output. Otherwise the exit code will be 0.
But only against the checksums in the header of the file, not comparing the headers to the fingerprint text file--there is a huge difference between the two.

Oh yes, speaking of utilities that will compare the fingerprints in the text file to those in the headers of the file, the 'md5check' command included with etree's scripts will do this, although there isn't st5 support yet. I'm not certain if the etree scripts are Linux only, or if other operating systems are supported as well. Actually, etree's 'md5check' command is pretty damned slick--don't have to tell it what kind of files are in the directory--just point it to the directory and it'll check md5sums, compare fingerprints in headers to the text file, and test the FLAC files. It is by far the easiest method to check if a CD-R burned properly--just type "md5check /mnt/cdrom" (sans quotes of course) in the command line and watch the output.

I'm going to have to remember to finish typing my beginners' guide to Linux someday. Got off to a great start one evening, and never moved on from there.
Reply With Quote Reply with Nested Quotes
  #10  
Old 2005-04-20, 05:29 PM
pmonk's Avatar
pmonk pmonk is offline
520.32 GB/630.74 GB/1.21
 
Join Date: Nov 2004
Re: Wholefile md5s

The question was what does the test option in Flacfrontend test???
Reply With Quote Reply with Nested Quotes
  #11  
Old 2005-04-20, 08:54 PM
Five's Avatar
Five Five is offline
189.30 GB/594.78 GB/3.14
 
Join Date: Oct 2004
Location: Canada
Re: Wholefile md5s

As I understand it, FLAC frontend decompresses the FLAC file, generates a FFP and then compares it to the FFP contained in the header (if there's no errors before then).
__________________
Checksums Demystified | ask for help in Technobabble

thetradersden.org | ttd recommended free software/freeware webring
shntool tlh eac foobar2000 spek audacity cdwave vlc

Quote:
Originally posted by oxymoron
Here you are in a place of permanent madness, be careful!
Reply With Quote Reply with Nested Quotes
  #12  
Old 2005-04-21, 08:42 PM
jazzbo jazzbo is offline
18.28 GB/38.30 GB/2.09
 
Join Date: Nov 2004
Re: Wholefile md5s

Quote:
Originally Posted by mfsljunkie
Oh yes, speaking of utilities that will compare the fingerprints in the text file to those in the headers of the file, the 'md5check' command included with etree's scripts will do this, although there isn't st5 support yet. I'm not certain if the etree scripts are Linux only, or if other operating systems are supported as well.
Any system with perl installed should be able to run md5check and the code explictly makes some internal checks to work with Windows although I've never tried it.

Also, as a proof of concept a long time ago (back in the STG days) I patched md5check to check md5 files created by shntool. I've kept the patch up to date as Caleb as released new versions of md5check. Very easy to add support for the .st5 extension -- which I've just done -- if you're interested I could attach the script, or a patch file against the original script.
Reply With Quote Reply with Nested Quotes
  #13  
Old 2005-04-22, 01:58 PM
Five's Avatar
Five Five is offline
189.30 GB/594.78 GB/3.14
 
Join Date: Oct 2004
Location: Canada
Re: Wholefile md5s

I would love to have as much support for linux as possible here. maybe you could start a linux thread, jazzbo. I'm not sure if the linux users will even notice this post, but with linux in the title they'll all read it.
__________________
Checksums Demystified | ask for help in Technobabble

thetradersden.org | ttd recommended free software/freeware webring
shntool tlh eac foobar2000 spek audacity cdwave vlc

Quote:
Originally posted by oxymoron
Here you are in a place of permanent madness, be careful!
Reply With Quote Reply with Nested Quotes
  #14  
Old 2005-04-22, 07:05 PM
spiritinaphoto
0.00 KB/0.00 KB/---
 
Re: Wholefile md5s

Quote:
Originally Posted by jazzbo
Very easy to add support for the .st5 extension -- which I've just done -- if you're interested I could attach the script, or a patch file against the original script.
Oh yes, that'd be wonderful if you could attach the updated script.
Reply With Quote Reply with Nested Quotes
  #15  
Old 2005-04-23, 01:15 AM
jazzbo jazzbo is offline
18.28 GB/38.30 GB/2.09
 
Join Date: Nov 2004
Re: Wholefile md5s

Quote:
Originally Posted by mfsljunkie
Oh yes, that'd be wonderful if you could attach the updated script.
Okay, I've attached it. I had to rename it to a .txt file to attach it -- you can just rename it and change the permissions to make it executable.

I'd be interested to hear how it works for you.
Attached Files
File Type: txt md5check.txt
( 11.9 KB, 32 views)
 
Reply With Quote Reply with Nested Quotes
Reply

The Traders' Den > Where we go to learn ..... > Technobabble

Similar Threads
Thread Forum Replies Last Post
Whole file MD5s (afps) - Erich Technobabble 2 2005-01-17 08:29 AM
How to validate shntool md5s? - irishcrazy2005 Technobabble 10 2004-12-29 05:55 PM



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forums


All times are GMT -5. The time now is 05:41 PM.


Powered by: vBulletin, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004 - , TheTradersDen.org - All Rights Reserved - Hosted at QuickPacket