Become a Site Supporter and Never see Ads again!

Author Topic: Zero byte .wav file - how to restore?  (Read 21035 times)

0 Members and 1 Guest are viewing this topic.

Offline rigpimp

  • Trade Count: (14)
  • Needs to get out more...
  • *****
  • Posts: 3222
  • Gender: Male
  • Jarts don't kill people!
Re: Zero byte .wav file - how to restore?
« Reply #15 on: December 13, 2021, 04:51:16 PM »
If there is a file on the card back it up and host it for others to try. 
If there is no file on the card then try Recuva. https://www.ccleaner.com/recuva
Mics: Schoeps MK 5 MP, Schoeps MK 8 MP, Schoeps MK 41 MP, KCY 250/5 > PFA
Pre/A>D/P48: Sonosax SX/M2, Sonosax SX/M2-LS, E.A.A. PSP-2, Baby Nbox, Neumann BS48i-2 (for sale)
Recorders: Sound Devices Mixpre-6ii, Sony PCM-A10
Playback: Jolida 1501 Hybrid > McIntosh MX 130 > Von Schweikert VR-4 JR, or Little Dot MK III > Sennheiser HD700
http://archive.org/bookmarks/kskreider
https://www.concertarchives.org/kskreider
https://archive.org/details/thespps

Offline daspyknows

  • Complaint Dept.
  • Trade Count: (1)
  • Needs to get out more...
  • *****
  • Posts: 10028
  • Gender: Male
  • Don't ask, don't tell, don't get get caught
Re: Zero byte .wav file - how to restore?
« Reply #16 on: December 13, 2021, 05:02:57 PM »
Tried Recuva and shows 0 byte file but nothing more.  Only files on the card are the other Wav files.  Not finding anything hidden.

Offline rigpimp

  • Trade Count: (14)
  • Needs to get out more...
  • *****
  • Posts: 3222
  • Gender: Male
  • Jarts don't kill people!
Re: Zero byte .wav file - how to restore?
« Reply #17 on: December 13, 2021, 05:18:40 PM »
Tried Recuva and shows 0 byte file but nothing more.  Only files on the card are the other Wav files.  Not finding anything hidden.

Sounds like the recorder errored out while recording, most likely shortly after starting.  Boo, hiss.
Mics: Schoeps MK 5 MP, Schoeps MK 8 MP, Schoeps MK 41 MP, KCY 250/5 > PFA
Pre/A>D/P48: Sonosax SX/M2, Sonosax SX/M2-LS, E.A.A. PSP-2, Baby Nbox, Neumann BS48i-2 (for sale)
Recorders: Sound Devices Mixpre-6ii, Sony PCM-A10
Playback: Jolida 1501 Hybrid > McIntosh MX 130 > Von Schweikert VR-4 JR, or Little Dot MK III > Sennheiser HD700
http://archive.org/bookmarks/kskreider
https://www.concertarchives.org/kskreider
https://archive.org/details/thespps

Offline daspyknows

  • Complaint Dept.
  • Trade Count: (1)
  • Needs to get out more...
  • *****
  • Posts: 10028
  • Gender: Male
  • Don't ask, don't tell, don't get get caught
Re: Zero byte .wav file - how to restore?
« Reply #18 on: December 13, 2021, 05:23:53 PM »
I checked about 45 minutes into the set and the red record light was on and 20 minutes later it ended with red light flashing and a file error message.  Couldn't do anything but turn off recorder by removing batteries. 

Offline if_then_else

  • Trade Count: (0)
  • Taperssection Member
  • ***
  • Posts: 497
Re: Zero byte .wav file - how to restore?
« Reply #19 on: December 14, 2021, 02:05:47 AM »
Can you create an img file of your SD card (e.g. using a low level copy tool like dd on Linux/UNIX) and send me the file along with the information about the original bit depth, sample rate and the number of channels? I've tried out a couple of different tools on Linux and Windows recently and chances are that at least one of them might work.

Offline daspyknows

  • Complaint Dept.
  • Trade Count: (1)
  • Needs to get out more...
  • *****
  • Posts: 10028
  • Gender: Male
  • Don't ask, don't tell, don't get get caught
Re: Zero byte .wav file - how to restore?
« Reply #20 on: December 14, 2021, 02:47:20 AM »
Can you create an img file of your SD card (e.g. using a low level copy tool like dd on Linux/UNIX) and send me the file along with the information about the original bit depth, sample rate and the number of channels? I've tried out a couple of different tools on Linux and Windows recently and chances are that at least one of them might work.

Sure.  Thx.  Will do that tomorrow.

Offline if_then_else

  • Trade Count: (0)
  • Taperssection Member
  • ***
  • Posts: 497
Re: Zero byte .wav file - how to restore?
« Reply #21 on: December 15, 2021, 10:58:59 AM »
@daspy:

After having fixed the PCM-WAV header, it seems that after 4'55'' there is data corruption.

In other words, playback isn't stalling (as originally suspected by me) but the recorder appears to have recorded the same sample multiple times to the SD card. Which would explain why the file is so big (4.2 GiB).

It's exactly the same picture when I try to load the RAW file into Samplitude.

Cf. the screenshots below. Do you still want me to send you the WAV or FLAC file with the fixed header even though the problem is a lot more fundamental?

Offline daspyknows

  • Complaint Dept.
  • Trade Count: (1)
  • Needs to get out more...
  • *****
  • Posts: 10028
  • Gender: Male
  • Don't ask, don't tell, don't get get caught
Re: Zero byte .wav file - how to restore?
« Reply #22 on: March 22, 2025, 03:20:51 PM »
It happened again at Railroad Earth at Brooklyn Bowl.  I have cloned the SD card but since I am on the road I will use other recorder and card.
.   
I reordered opener using new card.  No issues.  At end of first set I tried to stop recorder and instead it went into pause and only way to stop it was to pull batteries.  2nd set ran fine.  I have cloned card to a new SD card so they match.  Just need to figure best way to do this or ask for help from a volunteer.  Anyone feel confident?.

Offline ero3030

  • Trade Count: (59)
  • Taperssection All-Star
  • ****
  • Posts: 1660
  • Gender: Male
Re: Zero byte .wav file - how to restore?
« Reply #23 on: March 22, 2025, 09:29:49 PM »
Yep, when the video talked about using VLC player, I took a left turn and opened the recovered file in CD Wave, instead.

Saved it as a 24 bit 48kHz .wav perfectly.

Thanks for the help, I'm bookmarking this.





OH, and apologies our engineer last night.  I guess 0 byte files happen on Behringer equipment, whether you are careful or not.

Learned something today.

TS rules.  :cheers:
Very slick. Marking this. Thax
needin some fishhead music!

" known for f**king up a good weekend on a Thursday nite "

Offline Scooter123

  • "I am not an alcoholic. I am a drunk. Drunks don't go to meetings."
  • Trade Count: (9)
  • Needs to get out more...
  • *****
  • Posts: 3955
Re: Zero byte .wav file - how to restore?
« Reply #24 on: March 23, 2025, 11:11:01 AM »
I wonder if Spy's problem is a defective DR2d or a defective card.  Sounds more like a recorder issue. 
Regards,
Scooter123

mk41 > N Box  > Sony M-10
mk4 > N Box > Sony M-10

Offline daspyknows

  • Complaint Dept.
  • Trade Count: (1)
  • Needs to get out more...
  • *****
  • Posts: 10028
  • Gender: Male
  • Don't ask, don't tell, don't get get caught
Re: Zero byte .wav file - how to restore?
« Reply #25 on: March 24, 2025, 12:54:16 PM »
Maybe.  Both will be retired.  Not having luck with the clone of the card but still have the card in recorder.  Guess I need to keep trying once home.

Offline rigpimp

  • Trade Count: (14)
  • Needs to get out more...
  • *****
  • Posts: 3222
  • Gender: Male
  • Jarts don't kill people!
Re: Zero byte .wav file - how to restore?
« Reply #26 on: April 02, 2025, 01:32:06 AM »
I recently used AI to create a windows batch file tool that repairs FLAC headers. I'm sure it's easy to make one to fix the wav file too. Can you hightail the image file to me?
Mics: Schoeps MK 5 MP, Schoeps MK 8 MP, Schoeps MK 41 MP, KCY 250/5 > PFA
Pre/A>D/P48: Sonosax SX/M2, Sonosax SX/M2-LS, E.A.A. PSP-2, Baby Nbox, Neumann BS48i-2 (for sale)
Recorders: Sound Devices Mixpre-6ii, Sony PCM-A10
Playback: Jolida 1501 Hybrid > McIntosh MX 130 > Von Schweikert VR-4 JR, or Little Dot MK III > Sennheiser HD700
http://archive.org/bookmarks/kskreider
https://www.concertarchives.org/kskreider
https://archive.org/details/thespps

Offline daspyknows

  • Complaint Dept.
  • Trade Count: (1)
  • Needs to get out more...
  • *****
  • Posts: 10028
  • Gender: Male
  • Don't ask, don't tell, don't get get caught
Re: Zero byte .wav file - how to restore?
« Reply #27 on: April 02, 2025, 10:21:36 AM »
I recently used AI to create a windows batch file tool that repairs FLAC headers. I'm sure it's easy to make one to fix the wav file too. Can you hightail the image file to me?

will do

Offline rigpimp

  • Trade Count: (14)
  • Needs to get out more...
  • *****
  • Posts: 3222
  • Gender: Male
  • Jarts don't kill people!
Re: Zero byte .wav file - how to restore?
« Reply #28 on: April 04, 2025, 08:03:20 PM »
I recently used AI to create a windows batch file tool that repairs FLAC headers. I'm sure it's easy to make one to fix the wav file too. Can you hightail the image file to me?

will do

I took some time to whack at this file. I threw AI at it and developed a batch file to run it through several levels of repair using FFMPEG, but nothing worked.

I thought there was a tool here somewhere that Gordon Gidluck posted that repaired 0-byte files, which I thought I shared on FB, but it was a file-splitting command instead. You used to type in how many channels, bit depth and sample rate and it would append -fixed at the end of the repaired file. I will go dig and see what I can come up with.
Mics: Schoeps MK 5 MP, Schoeps MK 8 MP, Schoeps MK 41 MP, KCY 250/5 > PFA
Pre/A>D/P48: Sonosax SX/M2, Sonosax SX/M2-LS, E.A.A. PSP-2, Baby Nbox, Neumann BS48i-2 (for sale)
Recorders: Sound Devices Mixpre-6ii, Sony PCM-A10
Playback: Jolida 1501 Hybrid > McIntosh MX 130 > Von Schweikert VR-4 JR, or Little Dot MK III > Sennheiser HD700
http://archive.org/bookmarks/kskreider
https://www.concertarchives.org/kskreider
https://archive.org/details/thespps

Offline vanark

  • TDS
  • Trade Count: (29)
  • Needs to get out more...
  • *****
  • Posts: 8795
  • If you ain't right, you better get right!
    • The Mudboy Grotto - North Mississippi Allstar fan site
Re: Zero byte .wav file - how to restore?
« Reply #29 on: April 05, 2025, 10:22:03 AM »
I thought there was a tool here somewhere that Gordon Gidluck posted that repaired 0-byte files, which I thought I shared on FB, but it was a file-splitting command instead. You used to type in how many channels, bit depth and sample rate and it would append -fixed at the end of the repaired file. I will go dig and see what I can come up with.

I think this is what you are referencing - fixwav.

https://spaces.hightail.com/receive/GgFYcheDWp
If you have a problem relating to the Live Music Archive (http://www.archive.org/details/etree) please send an e-mail to us admins at LMA(AT)archive(DOT)org or post in the LMA thread here and we'll get on it.

Link to LMA Recordings

Link to Team Dirty South Recordings on the LMA

Mics: Microtech Gefell M21 (with Nbob actives) | Church Audio CA-11 (cards) (with CA UBB)
Pres: babynbox
Recorders: Tascam DR-60D | Tascam DR-40 | Sony PCM-A10 | Edirol R-4

 

RSS | Mobile
Page created in 0.063 seconds with 43 queries.
© 2002-2025 Taperssection.com
Powered by SMF