I get this error when trying to open a RIFF file (which, as I understand it, this is a WAV type) in python.
Failed to open file file.wav as a WAV due to: file does not start with RIFF id
When I test it with various tools that make me believe that it is a WAV / RIFF file.
$ file file.wav file.wav: MBWF/RF64 audio, stereo 96000 Hz $ file -i file.wav file.wav: audio/x-wav; charset=binary $ mediainfo file.wav General Complete name : file.wav Format : Wave Format profile : RF64 File size : 4.10 GiB Duration : 2h 7mn Overall bit rate mode : Constant Overall bit rate : 4 608 Kbps Audio Format : PCM Format settings, Endianness : Little Format settings, Sign : Signed Codec ID : 1 Duration : 2h 7mn Bit rate mode : Constant Bit rate : 4 608 Kbps Channel(s) : 2 channels Sampling rate : 96.0 KHz Bit depth : 24 bits Stream size : 4.10 GiB (100%)
Alex
source share