I'm developing plugins, and I stumbled upon a bug that makes Reaper freeze when using the ffmpeg renderer combined with a certain use of the VST2 interface.
Steps to reproduce:
- build the attached JUCE project on MacOS (tested on Catalina and Windows 10)
- make a new session with 1 track and 1 empty clip on it
- insert the attached plugin on the track
- render with the ffmpeg backend
- Reaper shows the render window but hangs indefinitely (see attached screenshot)
The plugin works in playback and with all other rendering backends.
The plugin does nothing to the audio at all; what it does is change its declared latency in "prepareToPlay()". There are 2 successive calls to set the latency, to make sure that it will be effectively changed, and not just kept the same between playback and render. Another way to make it hang is to change the latency depending on the buffer size; since it is likely to change between playback and render, it will effectively have the same effect.
RE: VST2 crashes Reaper with ffmpeg rendering backend
First post here as well!
I had pretty much the same experience last night when trying to do a video export in Reaper with only one VST2 plug-in (Slate Digital's FG-X mastering processor) in my session. I found the hanging maddening until I discovered this thread. Thanks mqtthiqs for the assist, and to Cockos for correcting whatever issue is at fault!
This important bug is still pending. Maybe some dev could try the dummy plugin proposed by mqtthiqs ?
In my case, the problem appear with any rendering backend.