IPB

Welcome Guest ( Log In | Register )

Free utility to check all Wavpack files in a Directory., New Software Announcement
gl.tter
post Nov 21 2006, 20:09
Post #1





Group: Members
Posts: 48
Joined: 25-September 05
From: UK
Member No.: 24695



Updated - latest version: 1.0 (now with shell extension)

I've released a little standalone Windows utility that will check single Wavpack files, or all .wv files contained in a directory tree or drive for errors:
http://wavpack.gl.tter.org

Easy two-click operation. It writes the full paths of any bad files found to a text file for further processing. Useful when eg. like me you ripped 1500+ files with an overheating CPU, and had to track down the few corrupted ones.

Bug reports welcome (here or email).

This post has been edited by gl.tter: Dec 31 2006, 21:38


--------------------
Author of -Wavpack4Wavelab- and -CheckWavpackFiles-
Go to the top of the page
+Quote Post
 
Start new topic
Replies
Maglor
post Mar 23 2007, 14:57
Post #2





Group: Members
Posts: 24
Joined: 14-July 04
From: VN Gaia
Member No.: 15455



Hi all! smile.gif I've been reading a lot of posts lately about bad blocks or crc errors on wavpack files, and I can't find the solution to my problem, which is: recently I've bought a new external drive where I've passed all my rips still on folders, not rar's, and many of them have now been corrupted when they weren't before that.
So now what I want is to recover those files, because many of those CD's that I've ripped aren't with me anymore. So is there a little something like this that could recover those wavpack files?
I appreciate very much all the help! wink.gif
Go to the top of the page
+Quote Post
photographer
post Apr 2 2007, 21:38
Post #3





Group: Members
Posts: 17
Joined: 5-September 06
Member No.: 34855



Unfortunately I'm having a little difficulty. When I run CheckWavpackFiles_1.0 I get an error stating "# Couldn't read MD5 hash.". I use Easy CD DA to rip my audio to my hard drive. I've tried it with files that were ripped using both the latest and the previous WavPack .dll's.
Go to the top of the page
+Quote Post
gl.tter
post Apr 2 2007, 21:48
Post #4





Group: Members
Posts: 48
Joined: 25-September 05
From: UK
Member No.: 24695



QUOTE (photographer @ Apr 2 2007, 20:38) *
Unfortunately I'm having a little difficulty. When I run CheckWavpackFiles_1.0 I get an error stating "# Couldn't read MD5 hash.". I use Easy CD DA to rip my audio to my hard drive. I've tried it with files that were ripped using both the latest and the previous WavPack .dll's.


Never had that error on any of my files. It could be a bug in the way Easy CD encodes Wavpack files. I don't use EasyCD, anybody else able to test it?

Try ripping to .wav and encoding with the Wavpack utilities. If that works, send an email to the EasyCD guys.

EDIT: also try verifying a bad file with the Wavpack utils (switch -v IIRC).

This post has been edited by gl.tter: Apr 2 2007, 21:49


--------------------
Author of -Wavpack4Wavelab- and -CheckWavpackFiles-
Go to the top of the page
+Quote Post
photographer
post Apr 2 2007, 22:16
Post #5





Group: Members
Posts: 17
Joined: 5-September 06
Member No.: 34855



QUOTE (gl.tter @ Apr 2 2007, 15:48) *
QUOTE (photographer @ Apr 2 2007, 20:38) *

Unfortunately I'm having a little difficulty. When I run CheckWavpackFiles_1.0 I get an error stating "# Couldn't read MD5 hash.". I use Easy CD DA to rip my audio to my hard drive. I've tried it with files that were ripped using both the latest and the previous WavPack .dll's.


Never had that error on any of my files. It could be a bug in the way Easy CD encodes Wavpack files. I don't use EasyCD, anybody else able to test it?

Try ripping to .wav and encoding with the Wavpack utilities. If that works, send an email to the EasyCD guys.

EDIT: also try verifying a bad file with the Wavpack utils (switch -v IIRC).


Thanks for the prompt reply. I just installed WavPack 4.40 and Foobar 2000. Had it rip a single CD to a new directory and your utility verifies that all files are OK. I'll submit a bug report to the author of Easy CD-DA.

Thanks again. Good tool to have.
Go to the top of the page
+Quote Post
gl.tter
post Apr 2 2007, 23:35
Post #6





Group: Members
Posts: 48
Joined: 25-September 05
From: UK
Member No.: 24695



QUOTE (photographer @ Apr 2 2007, 21:16) *
Thanks for the prompt reply. I just installed WavPack 4.40 and Foobar 2000. Had it rip a single CD to a new directory and your utility verifies that all files are OK. I'll submit a bug report to the author of Easy CD-DA.


Cool, he's probably just writing the MD5 hash in slightly the wrong place (or maybe he's forgetting to write it altogether?).

It should be:

<pack all samples>
call WavpackStoreMD5Sum(...)
call WavpackFlushSamples()


(why do my new replies keep getting attached to my last reply??)

QUOTE (Maglor @ Mar 23 2007, 13:57) *
Hi all! smile.gif I've been reading a lot of posts lately about bad blocks or crc errors on wavpack files, and I can't find the solution to my problem, which is: recently I've bought a new external drive where I've passed all my rips still on folders, not rar's, and many of them have now been corrupted when they weren't before that.
So now what I want is to recover those files, because many of those CD's that I've ripped aren't with me anymore. So is there a little something like this that could recover those wavpack files?
I appreciate very much all the help! wink.gif


Maglor, it depends why the files are coming back corrupt. If there's a problem with the external drive's interface (USB?), then the files might actually be OK on the disc. If not, then the data really is corrupt and there's no getting it back.

Try connecting the external HD another way, or on another PC.

This post has been edited by gl.tter: Apr 2 2007, 23:34


--------------------
Author of -Wavpack4Wavelab- and -CheckWavpackFiles-
Go to the top of the page
+Quote Post
bryant
post Apr 3 2007, 05:02
Post #7


WavPack Developer


Group: Developer (Donating)
Posts: 1290
Joined: 3-January 02
From: San Francisco CA
Member No.: 900



QUOTE (gl.tter @ Apr 2 2007, 15:35) *
Cool, he's probably just writing the MD5 hash in slightly the wrong place (or maybe he's forgetting to write it altogether?).

It should be:

<pack all samples>
call WavpackStoreMD5Sum(...)
call WavpackFlushSamples()

That will work fine but my documentation says:

CODE
  1. get a context and set block output function with WavpackOpenFileOutput()
  2. set the data format and specify modes with WavpackSetConfiguration()
  3. optionally write a RIFF header with WavpackAddWrapper()
  4. allocate buffers and prepare for packing with WavpackPackInit()
  5. actually compress audio and write blocks with WavpackPackSamples()
  6. flush final samples into blocks with WavpackFlushSamples()
  7. optionally write MD5 sum with WavpackStoreMD5Sum()
  8. optionally write RIFF trailer with WavpackAddWrapper()
  9. optionally append metadata tag with functions in next section
  10. optionally update number of samples with WavpackUpdateNumSamples()
  11. close the context with WavpackCloseFile()

which is actually wrong because the MD5 sum will not get written! There should be an additional step at 8.5 to call WavpackFlushSamples() again. Doh! sad.gif

Maybe a registered user should show this post to the author of Easy CD Extractor...

David


QUOTE (gl.tter @ Apr 2 2007, 15:35) *
(why do my new replies keep getting attached to my last reply??)

It's a feature so you can easily do this. smile.gif
Go to the top of the page
+Quote Post
gl.tter
post Apr 3 2007, 12:37
Post #8





Group: Members
Posts: 48
Joined: 25-September 05
From: UK
Member No.: 24695



QUOTE (bryant @ Apr 3 2007, 04:02) *
That will work fine but my documentation says:
<snip>


The function name is confusing - people might easily assume that it's only required after packing the samples.

How about requiring the call only once (as you said it works anyway), and calling it 'FlushStream' or 'FlushData' instead?

QUOTE
It's a feature so you can easily do this. smile.gif


Is that sarcasm or true? smile.gif If it's a feature, how do I turn it off?


--------------------
Author of -Wavpack4Wavelab- and -CheckWavpackFiles-
Go to the top of the page
+Quote Post

Posts in this topic
- gl.tter   Free utility to check all Wavpack files in a Directory.   Nov 21 2006, 20:09
- - Remedial Sound   Handy little app! I just scanned a few album ...   Nov 21 2006, 20:22
|- - gl.tter   QUOTE (Remedial Sound @ Nov 21 2006, 20:2...   Nov 21 2006, 20:31
|- - guruboolez   That's great. I crossed my fingers and hoped t...   Nov 21 2006, 20:51
|- - jaybeee   QUOTE (guruboolez @ Nov 21 2006, 19:51) T...   Nov 23 2006, 11:30
- - ssjkakaroto   Thanks gl.tter. Synthetic Soul did something simil...   Nov 21 2006, 20:25
- - DARcode   Nice handy little proggy, pretty useful, many than...   Nov 21 2006, 21:47
|- - gl.tter   QUOTE (DARcode @ Nov 21 2006, 21:47) Nice...   Nov 21 2006, 22:59
- - Synthetic Soul   QUOTE (ssjkakaroto @ Nov 21 2006, 19:25) ...   Nov 22 2006, 08:35
|- - gl.tter   QUOTE (Synthetic Soul @ Nov 22 2006, 08:3...   Nov 22 2006, 15:19
- - DrazardX   Wow. This is really nice. I'm obviously not ...   Nov 23 2006, 10:22
- - guruboolez   flactester: http://www.vuplayer.com/other.php   Nov 23 2006, 12:39
|- - jaybeee   QUOTE (guruboolez @ Nov 23 2006, 11:39) f...   Nov 23 2006, 13:31
|- - gl.tter   If the program crashes as soon as you run it, you...   Nov 24 2006, 01:10
|- - gl.tter   New version uploaded. See the site for changes: ...   Nov 25 2006, 20:42
- - DARcode   Thank you. Have you noticed than even when it rea...   Nov 28 2006, 03:10
|- - gl.tter   QUOTE (DARcode @ Nov 28 2006, 03:10) Than...   Nov 28 2006, 15:08
|- - DARcode   QUOTE (gl.tter @ Nov 28 2006, 16:08) QUOT...   Nov 28 2006, 20:29
|- - gl.tter   QUOTE (DARcode @ Nov 28 2006, 20:29) Wow,...   Nov 28 2006, 20:57
- - askoff   Does anyone else have problems with this utility g...   Nov 29 2006, 14:33
|- - DARcode   QUOTE (askoff @ Nov 29 2006, 15:33) Does ...   Nov 29 2006, 15:21
|- - gl.tter   QUOTE (askoff @ Nov 29 2006, 14:33) Does ...   Nov 29 2006, 16:06
|- - askoff   QUOTE (gl.tter @ Nov 29 2006, 17:06) Any ...   Nov 29 2006, 19:32
- - askoff   It took more than couple of days for me to test wi...   Dec 13 2006, 10:39
|- - disintegrated   Hi gl.tter, is Win98 SE supported by CheckWavpac...   Dec 13 2006, 12:08
|- - gl.tter   QUOTE (disintegrated @ Dec 13 2006, 12:08...   Dec 13 2006, 18:02
|- - disintegrated   QUOTE (gl.tter @ Dec 13 2006, 18:02) QUOT...   Dec 13 2006, 19:04
||- - gl.tter   QUOTE (disintegrated @ Dec 13 2006, 19:04...   Dec 13 2006, 21:23
||- - gl.tter   New version uploaded (see 1st post). The files no...   Dec 13 2006, 21:47
|- - collector   QUOTE (gl.tter @ Dec 13 2006, 09:02) QUOT...   Jan 12 2007, 15:37
- - disintegrated   QUOTE (gl.tter @ Dec 13 2006, 21:23) QUOT...   Dec 15 2006, 21:44
|- - gl.tter   QUOTE (disintegrated @ Dec 15 2006, 21:44...   Dec 15 2006, 23:18
|- - gl.tter   0.97b RC1 released. Now includes the new Wavpack ...   Dec 18 2006, 22:41
- - satorippoi   Hey, gl.tter, just wanted to let you know that you...   Dec 23 2006, 01:14
|- - gl.tter   QUOTE (satorippoi @ Dec 23 2006, 01:14) H...   Dec 26 2006, 01:43
- - ssjkakaroto   Hi gl.tter, can you add non-ascii support to your ...   Dec 26 2006, 02:16
|- - gl.tter   QUOTE (ssjkakaroto @ Dec 26 2006, 02:16) ...   Dec 26 2006, 04:10
- - ssjkakaroto   Thanks a lot gl.tter, that'll work for me sinc...   Dec 26 2006, 16:02
- - gl.tter   Managed to squeeze 1.0 in the last few hours of ...   Dec 31 2006, 21:40
- - xequence   Very very usefull program, thanks alot   Feb 24 2007, 02:49
- - Maglor   Hi all! I've been reading a lot of posts...   Mar 23 2007, 14:57
|- - photographer   Unfortunately I'm having a little difficulty. ...   Apr 2 2007, 21:38
|- - gl.tter   QUOTE (photographer @ Apr 2 2007, 20:38) ...   Apr 2 2007, 21:48
|- - photographer   QUOTE (gl.tter @ Apr 2 2007, 15:48) QUOTE...   Apr 2 2007, 22:16
|- - gl.tter   QUOTE (photographer @ Apr 2 2007, 21:16) ...   Apr 2 2007, 23:35
|- - bryant   QUOTE (gl.tter @ Apr 2 2007, 15:35) Cool,...   Apr 3 2007, 05:02
|- - gl.tter   QUOTE (bryant @ Apr 3 2007, 04:02) That w...   Apr 3 2007, 12:37
|- - bryant   QUOTE (gl.tter @ Apr 3 2007, 04:37) QUOTE...   Apr 4 2007, 04:22
|- - gl.tter   QUOTE (bryant @ Apr 4 2007, 03:22) Well, ...   Apr 5 2007, 13:43
|- - photographer   QUOTE (bryant @ Apr 3 2007, 22:22) QUOTE ...   Apr 18 2007, 23:34
- - photographer   Gentlemen, The author of the software has made th...   Apr 3 2007, 18:52
- - sn0wman   hello, i am curious about one thing. it is written...   Apr 5 2007, 11:46
|- - gl.tter   QUOTE (sn0wman @ Apr 5 2007, 10:46) <s...   Jun 5 2007, 19:48
- - SnTholiday   Hi, Is the shell ext meant to work with Vista? I ...   Mar 19 2008, 20:28
- - gl.tter   QUOTE (SnTholiday @ Mar 19 2008, 19:28) I...   Mar 20 2008, 10:32
- - SnTholiday   I've tried several times to get the shell ext ...   Mar 21 2008, 04:29
- - gl.tter   QUOTE (SnTholiday @ Mar 21 2008, 03:29) I...   Mar 21 2008, 08:40
- - SnTholiday   No, it does not work in Vista's Explorer. Sinc...   Mar 22 2008, 00:19
- - gl.tter   QUOTE (SnTholiday @ Mar 21 2008, 23:19) N...   Mar 22 2008, 07:28
- - gl.tter   I've released a new 2.0 version (currently in ...   Aug 9 2008, 11:47


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: 30th July 2014 - 07:28