MinimServer Forum
Missing RIFF chunk - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: Support (/forumdisplay.php?fid=4)
+--- Thread: Missing RIFF chunk (/showthread.php?tid=3720)

Pages: 1 2 3


RE: Missing RIFF chunk - simoncn - 20-12-2016 22:45

(20-12-2016 22:35)leonard Wrote:  Simon, that's great for Macs, but I am on Windows 10. My missing RIFF chunk message is on files that are greater than 2 GB. Anything smaller there is no problem. Here is from the last log file:

Error: missing RIFF chunk at start of WAV file Before the Flood (VPI).wav (length 6466140700)
Error: missing RIFF chunk at start of WAV file Candy-O (VPI).wav (length 2537571436)
Error: missing RIFF chunk at start of WAV file Glass Houses (VPI).wav (length 2424981314)
Error: missing RIFF chunk at start of WAV file Jazz Samba (VPI).wav (length 3108826804)
Error: missing RIFF chunk at start of WAV file Little Feat (VPI).wav (length 2326466046)
Error: missing RIFF chunk at start of WAV file Setting Sons (VPI).wav (length 2560004534)
Error: missing RIFF chunk at start of WAV file The Genius Sings the Blues (VPI).wav (length 2384093934)
Error: missing RIFF chunk at start of WAV file The SHF Band (VPI).wav (length 2687209220)
MinimServer[LensLawns] is running

If I knew what it was looking for I might be able to provide it. I'd prefer to not have to split these files because there are so many of them. Thanks.

I don't think your problem is the same as beckphotonik's.

Can you use a hex editor to look at the first four characters in one of these large files? I use Free Hex Editor Neo which is available from this site.


RE: Missing RIFF chunk - leonard - 20-12-2016 23:39

I just got caught up on the thread.

I hex edited and lo and behold the files start with RF64 not RIFF.

RF64ÿÿÿÿWAVEds64

What should I do. Change all of them with the hex editor? That fixes it, but all the files are that way, so it's either break them up or Hex Edit.


RE: Missing RIFF chunk - simoncn - 21-12-2016 08:04

(20-12-2016 23:39)leonard Wrote:  I just got caught up on the thread.

I hex edited and lo and behold the files start with RF64 not RIFF.

RF64ÿÿÿÿWAVEds64

What should I do. Change all of them with the hex editor? That fixes it, but all the files are that way, so it's either break them up or Hex Edit.

This is the vital clue. Many thanks. The RF64 indicates that the file is in a different format than standard WAV. This format is intended for files larger than 4GB and it isn't currently supported by MinimServer. What software did you use to create these files?

You should not change the header from RF64 to RIFF because the RF64 format has other differences from a normal WAV file and the edited file is unlikely to work correctly.

I would like to change MinimServer to support these RF64 files directly. To do this, I need to find a way to create them myself for testing purposes.


RE: Missing RIFF chunk - leonard - 21-12-2016 22:06

I used Samplitude Pro X2 and Reaper v5.30/x64. Reaper is cheapware but very good for creating music files. It does RF64. Samplitude is a full on mixing suite which is what IO use to de-noise and edit the digital file. I changed a bunch, the player plays them and all the software seems to work ok, although MS file explorer thinks they are all 1 hour 2 minutes.

I'll wait for further instructions,


RE: Missing RIFF chunk - simoncn - 21-12-2016 22:13

After trying various converter programs, I was able to create a suitable file using ffmpeg. I should be able to post an update soon with WAV/RF64 support included.

Which UPnP renderer do you use to play WAV files? Do you know whether this renderer supports WAV/RF64?


RE: Missing RIFF chunk - leonard - 21-12-2016 22:37

I use the Pioneer Elite N50. It plays all of those files using Windows Media Server.


RE: Missing RIFF chunk - simoncn - 21-12-2016 22:40

Thanks for the quick reply. I should be able to post the update tomorrow.


RE: Missing RIFF chunk - simoncn - 22-12-2016 09:00

This support is now available in update 95.


RE: Missing RIFF chunk - simoncn - 22-12-2016 09:05

(20-12-2016 22:11)simoncn Wrote:  You have convinced me to change the MinimServer scanning rules to ignore any files whose names start with "._". Until this change is available, you can put ._* in the excludePattern property. You will never be able to get rid of them because Mac OS will create new ._ files to take their place. Sad

This change is now available in update 95.


RE: Missing RIFF chunk - leonard - 22-12-2016 18:57

Simon, thank you for the very fast fix. The errors are gone from the log now and I have changed all the files back to RF64.The Windows Media Server has always dealt with these file without any problem. MinimServer now sees all the files properly, but when I play a file with the renderer it says invalid file format. I use a smartphone app to play. I can use the front panel in the same manner and it behaves the same. What information can I send to you so you can look at this? Leonard

btw, JRiver and ASSET have the same problem. Should I create a small file to send to you?