You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The WAV file
A wav file which cannot be played by Media Player but interestingly on uploading it can be played on Chrome and Discord, when imported to Unity, I get this error,
Errors during import of AudioClip Assets/Weapons1.wav:
FSBTool ERROR: The format of the source file is invalid, see output for details.
FSBTool ERROR: Internal error from FMOD sub-system.
I tried ffprobe on the wav file and I got the following,
[wav @ 000002096b740900] Packet corrupt (stream = 0, dts = NOPTS).
[wav @ 000002096b740900] Estimating duration from bitrate, this may be inaccurate
Input #0, wav, from 'Adamant Sniper Rifle_shoot.wav':
Duration: 00:00:01.62, bitrate: 705 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 1 channels, s16, 705 kb/s]
Is there any tool to fix the wav file so that fmod can import it or any setting that would allow fmod to import the file?
The text was updated successfully, but these errors were encountered:
ffmpeg should be able to trivially repair it, something along the lines of ffmpeg -i Weapons1.wav Weapons1_fixed.wav should re-encode it. That said, ideally this wouldn't happen at all, but it's very strange in general because the wav writing code should be tried-and-tested from libraries designed for it - it's not my own implementation.
The WAV file
A wav file which cannot be played by Media Player but interestingly on uploading it can be played on Chrome and Discord, when imported to Unity, I get this error,
I tried ffprobe on the wav file and I got the following,
Is there any tool to fix the wav file so that fmod can import it or any setting that would allow fmod to import the file?
The text was updated successfully, but these errors were encountered: