Reply
 
Thread Tools Display Modes
  #1   Report Post  
Jay Blanchard
 
Posts: n/a
Default corrupted wave files

Some audio (wave) files on my computer have suddenly been corrupted for no
apparent reason. When I try to play these I get an error "Invalid file type"
I can fix this by copying the header information from a non corrupted wave
file into a corrupted one. However I still get an error: "Unknown CODEC" ...
As far as I know it is impossible to fix this, however if anyone has any
ideas?


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/03


  #2   Report Post  
Len Moskowitz
 
Posts: n/a
Default corrupted wave files


Jay Blanchard wrote:

Some audio (wave) files on my computer have suddenly been corrupted for no
apparent reason. When I try to play these I get an error "Invalid file type"
I can fix this by copying the header information from a non corrupted wave
file into a corrupted one. However I still get an error: "Unknown CODEC" ...
As far as I know it is impossible to fix this, however if anyone has any
ideas?


You might try using Gidluck Mastering's WaveScript to salvage the file.

--
Len Moskowitz PDAudio, Binaural Mics, Cables, DPA, M-Audio
Core Sound http://www.stealthmicrophones.com
Teaneck, New Jersey USA http://www.core-sound.com
Tel: 201-801-0812, FAX: 201-801-0912
  #3   Report Post  
Len Moskowitz
 
Posts: n/a
Default corrupted wave files


Jay Blanchard wrote:

Some audio (wave) files on my computer have suddenly been corrupted for no
apparent reason. When I try to play these I get an error "Invalid file type"
I can fix this by copying the header information from a non corrupted wave
file into a corrupted one. However I still get an error: "Unknown CODEC" ...
As far as I know it is impossible to fix this, however if anyone has any
ideas?


You might try using Gidluck Mastering's WaveScript to salvage the file.

--
Len Moskowitz PDAudio, Binaural Mics, Cables, DPA, M-Audio
Core Sound http://www.stealthmicrophones.com
Teaneck, New Jersey USA http://www.core-sound.com
Tel: 201-801-0812, FAX: 201-801-0912
  #4   Report Post  
Jay Blanchard
 
Posts: n/a
Default corrupted wave files

Thanks for the help people!


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/03


  #5   Report Post  
Jay Blanchard
 
Posts: n/a
Default corrupted wave files

Thanks for the help people!


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/03




  #6   Report Post  
 
Posts: n/a
Default corrupted wave files

In rec.audio.tech Jay Blanchard wrote:
Some audio (wave) files on my computer have suddenly been corrupted for no
apparent reason. When I try to play these I get an error "Invalid file type"
I can fix this by copying the header information from a non corrupted wave
file into a corrupted one. However I still get an error: "Unknown CODEC" ...
As far as I know it is impossible to fix this, however if anyone has any
ideas?


Rename the file to .raw, then use SOX to convert to .wav (something like
$sox -c2 -w -s -r44100 file.raw file.wav
assuming 44.1, stereo, signed, 16 bit).

Then you will need to remove the click that has probably been introduced
by reading the header as audio, but that should be easy.

I consider sox to be an essential tool for hacking around with audio
file formats.


Regards, Dan.
--
** The email address *IS* valid, do NOT remove the spamblock
And on the evening of the first day the lord said...........
..... LX 1, GO!; and there was light.
  #7   Report Post  
 
Posts: n/a
Default corrupted wave files

In rec.audio.tech Jay Blanchard wrote:
Some audio (wave) files on my computer have suddenly been corrupted for no
apparent reason. When I try to play these I get an error "Invalid file type"
I can fix this by copying the header information from a non corrupted wave
file into a corrupted one. However I still get an error: "Unknown CODEC" ...
As far as I know it is impossible to fix this, however if anyone has any
ideas?


Rename the file to .raw, then use SOX to convert to .wav (something like
$sox -c2 -w -s -r44100 file.raw file.wav
assuming 44.1, stereo, signed, 16 bit).

Then you will need to remove the click that has probably been introduced
by reading the header as audio, but that should be easy.

I consider sox to be an essential tool for hacking around with audio
file formats.


Regards, Dan.
--
** The email address *IS* valid, do NOT remove the spamblock
And on the evening of the first day the lord said...........
..... LX 1, GO!; and there was light.
  #8   Report Post  
Neil Davis
 
Posts: n/a
Default corrupted wave files

Immediately you should run scandisk. If you find errors and it takes
forever, run it again. If you keep finding errors, your HD is going bad, or
you have some type of nasty virus.. Usually it is simply bad sectors. I
strongly urge caution and a complete backup. I have been through this
before... it can get ugly if you don't take steps and check out the health
of your drive. If it is going bad, the sooner you know the better...

Good luck: )

"Jay Blanchard" wrote in message
news
Some audio (wave) files on my computer have suddenly been corrupted for no
apparent reason. When I try to play these I get an error "Invalid file

type"
I can fix this by copying the header information from a non corrupted wave
file into a corrupted one. However I still get an error: "Unknown CODEC"

....
As far as I know it is impossible to fix this, however if anyone has any
ideas?


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/03




  #9   Report Post  
Neil Davis
 
Posts: n/a
Default corrupted wave files

Immediately you should run scandisk. If you find errors and it takes
forever, run it again. If you keep finding errors, your HD is going bad, or
you have some type of nasty virus.. Usually it is simply bad sectors. I
strongly urge caution and a complete backup. I have been through this
before... it can get ugly if you don't take steps and check out the health
of your drive. If it is going bad, the sooner you know the better...

Good luck: )

"Jay Blanchard" wrote in message
news
Some audio (wave) files on my computer have suddenly been corrupted for no
apparent reason. When I try to play these I get an error "Invalid file

type"
I can fix this by copying the header information from a non corrupted wave
file into a corrupted one. However I still get an error: "Unknown CODEC"

....
As far as I know it is impossible to fix this, however if anyone has any
ideas?


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/03




Reply
Thread Tools
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Corrupted wav files? plk General 0 April 19th 04 02:11 AM
Logic Audio: How do I keep audio (wav) files separate for separate projects? Squares Pro Audio 0 October 31st 03 05:47 PM
corrupted wave files Jay Blanchard General 3 October 24th 03 04:31 AM
Standing waves Eddie Runner Car Audio 2 July 16th 03 08:21 PM


All times are GMT +1. The time now is 08:07 AM.

Powered by: vBulletin
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 AudioBanter.com.
The comments are property of their posters.
 

About Us

"It's about Audio and hi-fi"