sndfile-salvagesalvage audio data from WAV files longer than 4G

sndfile-salvage toolong.wav fixed64.wav

Audio files using the WAV file container are inherently limited to 4G of data size fields in the WAV header being stored as unsigned 32bit integers. Many applications have trouble with these WAV files that are more the 4G in size. sndfile-salvage rewrites the WAV file into a W64 file with the same audio content. This file is overwritten if it already exists.

The sndfile-salvage utility exits 0 on success, and >0 if an error occurs.

Erik de Castro Lopo <>

November 2, 2014 Linux 6.7.0-arch3-1