How to install ffmpeg and imagemagick in idx project?

I’ve had several installs in various ways but to no avail