Hello! Inspired by the VCV Recorder module, I’m hoping to use ffmpeg to save and load audio files in my modules. I’m currently using dr_wav, which is fine, but I’d like to switch to a new library. However, I’m having some trouble understanding how to include FFmpeg in my project.
Next step, put those folders in place. I’ve downloaded the source for FFmpeg and have everything unzipped and untarred. But where do I put the files? Sorry, I know this is a very basic question. I tried searching these forums with terms like, “installing C++ libraries” but nothing turned up. Thanks!!
You have to build the library. Take a look at VCV Recorder‘s Makefile how to do it. I hardly know anything about FFmpeg so I can’t help you with the build options…
If (as I suspect) you’re on Windows you don’t need to build FFMPEG, you can just install the libraries (and coincidentally the useful command line tools) for FFMPEG
Using ffmpeg for WAV encoding is ridiculously overpowered. Even using ffmpeg for general audio encoding/decoding is overpowered. Use something like libsndfile instead. Think smart, not hard.