Solved

recover corrupted WAV file

Posted on 2013-01-30
7
2,418 Views
Last Modified: 2013-01-31
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.
0
Comment
Question by:Reece Dodds
7 Comments
 
LVL 16

Expert Comment

by:choward16980
Comment Utility
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
 
LVL 19

Assisted Solution

by:marsilies
marsilies earned 500 total points
Comment Utility
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
 
LVL 69

Expert Comment

by:Merete
Comment Utility
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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 19

Accepted Solution

by:
marsilies earned 500 total points
Comment Utility
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
 
LVL 7

Author Comment

by:Reece Dodds
Comment Utility
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
 
LVL 7

Author Closing Comment

by:Reece Dodds
Comment Utility
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
 
LVL 19

Expert Comment

by:marsilies
Comment Utility
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

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Many programs have tried to outwit PowerPoint in terms of technology and skill. These programs, however, still lack several characteristics that PowerPoint has possessed from the start. Here's why PowerPoint replacements won't entirely work for desi…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
This video will give a brief orientation and organization of Logic Pro X, and how to access different work spaces quickly with keyboard shortcuts.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now