I have been having an issue where FFmpeg is not detected by another module and asks for it to be added to PATH. I have tried to do this but the module is always removed from path immediately afterward. I have also tried to use the environment variables but this has no effect on the bug either. Is there any other way to make sure that a module is always accessible?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
Is FFmpeg installed on a Droplet? If this is the case, depending on where FFmpeg is installed at, you can add it to your path by running the following:
export PATH="/path/to/FFmpeg-bin:$PATH"
Make sure to change the /path/to/FFmpeg-bin so that it matches the location where you’ve installed FFmpeg at. You can also add that line to your ~/.bashrc file so that it is executed every time you login to your server.
Also, this might depend on how you invoke the ffpmeg binary, are you running it directly or are you invoking it via a script?
Hope that this helps!
Best,
Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.