Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools Display Modes
Old 05-18-2017, 01:45 AM   #1
airon
Human being with feelings
 
airon's Avatar
 
Join Date: Aug 2006
Location: Berlin
Posts: 11,817
Default 5.40 - RIFF chunk with more than...(SOLVED)

I tried to compress a WAV file (RF64 format produced by Reaper) with the commandline version of Wavpack 5.10 x64.

The output was:
"this .WAV file has over 16 MB of extra RIFF data, probably is corrupt!"


I tried to compress a WAVE64 file of this size and it went fine.

Interestingly, the WAV files at that size show a significant filesize increase in the RF64 format.

Could Reaper be producing bad RF64 WAV files ?

They import in to other applications fine, but here we have one that may be excepting only standard-compliant files and this may not be what Reaper produces.

The file is a 100 minute, 24-bit, 48kHz, 6-channel files.

Sidenote: I can't use WAVE64 because Protools cannot read that, but it can read the RF64 files.
__________________
Using Latch Preview (Video) - Faderport 16 setup for CSI 1.1 , CSI 3.10
Website
"My ego comes pre-shrunk" - Randy Thom

Last edited by airon; 05-18-2017 at 09:20 PM.
airon is offline   Reply With Quote
Old 05-18-2017, 01:53 AM   #2
airon
Human being with feelings
 
airon's Avatar
 
Join Date: Aug 2006
Location: Berlin
Posts: 11,817
Default

A comparison of WAVE64 to RF64 files produced with this test session (3kB filesize) shows the following:


6-channel, 24-bit, 48kHz, 2 hours length WAV file:

  • WAVE64 format WAV file
    6.075.000 kB
  • RF64 format WAV file
    6.107.137 kB


That's a 32.137 kB difference !
How can that be ?
__________________
Using Latch Preview (Video) - Faderport 16 setup for CSI 1.1 , CSI 3.10
Website
"My ego comes pre-shrunk" - Randy Thom
airon is offline   Reply With Quote
Old 05-18-2017, 07:06 AM   #3
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,721
Default

Thanks, looking into this!

Hmm, I just tested on macOS using your project, and forcing RF64 vs forcing wave64:

Code:
6220800690 May 18 10:14 Sine_2-hours_6ch_RF64.wav
6220800736 May 18 10:16 Sine_2-hours_6ch_wave64.wav
This is exactly what I'd expect. Windows results:
Code:
2017-05-18  10:29 AM     6,220,800,690 Sine_2-hours_6ch_RF64.wav

Last edited by Justin; 05-18-2017 at 07:30 AM.
Justin is offline   Reply With Quote
Old 05-18-2017, 07:26 AM   #4
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,721
Default

Is it possible that the RF64 file already existed and was larger, and perhaps wasnt truncated properly?
Justin is offline   Reply With Quote
Old 05-18-2017, 07:29 AM   #5
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,721
Default

Did you open the file in protools first? I think protools sometimes modifies .wav files on import... My money is on this.
Justin is offline   Reply With Quote
Old 05-18-2017, 09:54 AM   #6
airon
Human being with feelings
 
airon's Avatar
 
Join Date: Aug 2006
Location: Berlin
Posts: 11,817
Default

I'll rerun my test. It is a little weird.

-Edit-

And you're absolutely right.

6.220.800.690 bytes for the RF64 file at first.
6.253.709.184 bytes after importing it in to a Protools session.

Protools adds an identifier in one of the field of the BEXT chunk, but also bolts something that starts with "PacketStreamData" on to the file.

Great. Another thing to avoid it seems. I didn't realize it messed up files like that.

Thanks for checking.
__________________
Using Latch Preview (Video) - Faderport 16 setup for CSI 1.1 , CSI 3.10
Website
"My ego comes pre-shrunk" - Randy Thom

Last edited by airon; 05-18-2017 at 10:09 AM.
airon is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:50 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.