recover corrupted WAV file

We had a big music poll/countdown over the weekend that I recorded from my amp using the Line in on my PC and Nero WAV editor.

All was working well until the HDD ran out of storage space.   We were at a wedding at the time so I couldn't have known that the pre-save buffer would blow out to 65GB.  I know that the 6hrs of audio would compress down to 2-3GB once I saved the file, but whilst Nero was recording, it stored the data in a file in the TEMP folder.

The program became unresponsive and the only option I had was to kill the process.  Because the C: was now full (0KB remaining) I had to move the temporary WAV file to one of the other hard drives and reboot the computer.

Now I have this WAV file that is 65GB and I cannot open it.  Not even with Nero WAV editor.
Is there any way I can perform a repair on the file or open it as a partial recording?

I don't care whether it contains the whole radio countdown or just a few hrs of it.
LVL 8
Reece DoddsAsked:
Who is Participating?
 
marsiliesConnect With a Mentor Commented:
I found another thread that suggests that the temp file you found doesn't have a header, so you may not need to factor for the offset.
http://forum.my.nero.com/index.php?showtopic=1131

Also, the default settings for Nero Wave Editor is to record in stereo 48000 Hz, 16 bit, so those should be the settings you use to try and import RAW.

As an aside, 65GB sounds awfully big, even for uncompressed audio. At the default settings, the temp file should've been around 4GB in size. Even changing the recording settings higher shouldn't have made a file that big. So there may be more going on with that file than just running out of hard drive space.
http://24bit.turtleside.com/pcm.wav.file.sizes.pdf

As Merete mentioned at the end of his post, you can try using the freeware tool GSpot to see if it can recognize the audio:
http://www.weethet.nl/english/video_which_codecs_gspot.php
http://www.headbands.com/gspot/
0
 
Chris HInfrastructure ManagerCommented:
You should be able to open in VLC.  Wav and AVI write indexes which help with seeking and timeline.  VLC should offer to rebuild or open the file prompting you to ignore the index warnings.

Also, look at this:
http://www.afterdawn.com/guides/archive/repair_broken_or_corrupt_avi_files.cfm

This program is for AVIs, but I think can repair .wav
0
 
marsiliesConnect With a Mentor Commented:
Are you sure it's a WAV file? Did it have the .wav extension?

WAV files are limited to 4GB in size due to header limitations. So files larger than that aren't going to be able to be opened as a WAV file:
http://en.wikipedia.org/wiki/WAV#Limitations

I found this thread where someone found a way to deal with a 5GB WAV file:
http://www.sawstudiouser.com/forums/showthread.php?t=5601
Audacity can import "raw" data. So I gave the 5GB file to it, set the offset to 44 bytes (length of wav header), set the frequency, bitrate, stereo...

Audacity is a free audio edit that can be downloaded here:
http://audacity.sourceforge.net/
0
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

 
MereteCommented:
From my own experience there is no fix for this.
The file was being written to when stopped.
There is also media player classic home cinema that will fix some aspects of a corrupted or bad header but this is different.
If the file is corrupted it's unfixable.
test first to determine if the .wav file Is damaged corrupted beyond repair
Locate the .wav file. Right-click it/
select Properties/Details tab
Check for information in the Details pane.
If information is missing, the file is corrupted.
wav details
Repair the .Wav File
Open your audio-editing software program.
Audacity go to file and Import " RAW"
Open the .wav file you want to repair as a "RAW" file.
Save the file in the .wav format.
Close the audio-editing software.
Play the .wav file to ensure that the repair and conversion was completed.
import raw audacity




You could try dropping it onto gspot or
0
 
Reece DoddsAuthor Commented:
yeah, it is definitely a WAV file.  The file name is audio876253.wav.  It is 65GB... possibly due to continual recording from 11.50am through to (hopefully about 11pm).
I noticed that when I was setting up for the recording and I did a few tests, that a 3min recording was about 22MB whilst writing the "temp" file, but once I stopped recording then saved it as an MP3, the file was brought down to about 3MB.

So, when I did my storage calculations, I said 1min=2MB (being generous), therefore I'd need about 1.35GB.  I neglected to think about the temporary WAV file...

I too found that Nero forum suggesting to try "SOX" so I'm running that now.
If that fails, I'll try VLC or Audacity.
0
 
Reece DoddsAuthor Commented:
Thanks guys.  Using the sox.exe command line tool to add header information (set the sampling rate and bit depth) allowed me to then open the file with Nero Wave Editor.

The bad news is... the audio actually stops at about 23 mins, which if I assume is 4GB, then that's about 6.15% of the 65GB.  Do the math and I've only got 23mins of 6.23Hrs recording.
Which would be about right considering it took 2hrs or so to fill 20GB and I realised I might run out of space so I moved a whole heap of media to a different drive to make room.

I wish I knew about the 4GB limit for .wav files.  Bummer!
0
 
marsiliesCommented:
Thanks for the points!

If you haven't given up on the file yet, you could try splitting it into 4GB chunks and running sox on each split file. You can use a tool like HJSplit to divide up the file:
http://www.hjsplit.org/
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.