Post Reply 
Missing RIFF chunk
23-12-2016, 21:40
Post: #23
RE: Missing RIFF chunk
I tried this with my test file (wav/RF64, 5.9 GB). The foobar2000 server didn't send the original file contents to the renderer. Instead, it sent a RIFF header with a truncated length of about 1.6 GB. The length was truncated because the original length exceeded 4GB.

I think all the RF64 files that you have are larger than 2GB and smaller than 4GB. In this case, the RIFF stream sent to the renderer by foobar2000 should be the correct length and the renderer should play the file.

I think the simplest solution is for you to convert your RF64 files to RIFF files. The RIFF format can handle up to 4GB, so there is no good reason why the files were created as RF64. You need to use a converter that will write files larger than 2GB as RIFF files, not RF64 files. For example, I think ffmpeg does this.

This doesn't solve the problem of playing files larger than 4GB. Ths would require the renderer to be able to handle the RF64 format. Alternative, the server could transcode from RF64 to a format with unlimited length, such as L16. Transcoding from WAV to L16 is not currently supported by MinimServer/MinimStreamer but it might be possible for me to add this support in the future.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Missing RIFF chunk - leonard - 20-12-2016, 18:46
RE: Missing RIFF chunk - beckphotonik - 20-12-2016, 20:08
RE: Missing RIFF chunk - simoncn - 20-12-2016, 21:48
RE: Missing RIFF chunk - beckphotonik - 20-12-2016, 21:56
RE: Missing RIFF chunk - simoncn - 20-12-2016, 22:11
RE: Missing RIFF chunk - beckphotonik - 20-12-2016, 22:20
RE: Missing RIFF chunk - simoncn - 22-12-2016, 09:05
RE: Missing RIFF chunk - leonard - 20-12-2016, 20:20
RE: Missing RIFF chunk - simoncn - 20-12-2016, 21:51
RE: Missing RIFF chunk - simoncn - 20-12-2016, 21:43
RE: Missing RIFF chunk - leonard - 20-12-2016, 22:35
RE: Missing RIFF chunk - simoncn - 20-12-2016, 22:45
RE: Missing RIFF chunk - leonard - 20-12-2016, 23:39
RE: Missing RIFF chunk - simoncn - 21-12-2016, 08:04
RE: Missing RIFF chunk - leonard - 21-12-2016, 22:06
RE: Missing RIFF chunk - simoncn - 21-12-2016, 22:13
RE: Missing RIFF chunk - leonard - 21-12-2016, 22:37
RE: Missing RIFF chunk - simoncn - 21-12-2016, 22:40
RE: Missing RIFF chunk - simoncn - 22-12-2016, 09:00
RE: Missing RIFF chunk - leonard - 22-12-2016, 18:57
RE: Missing RIFF chunk - simoncn - 22-12-2016, 23:13
RE: Missing RIFF chunk - leonard - 23-12-2016, 03:17
RE: Missing RIFF chunk - simoncn - 23-12-2016 21:40
RE: Missing RIFF chunk - leonard - 27-12-2016, 23:38

Forum Jump:


User(s) browsing this thread: 1 Guest(s)