I have been trying to deploy my app through Github with automatic update. I’ve run into a problem where if I try to use my app it will error out with FFmpegNotFound (One of the packages I’m using requires it). I have tried to add it to the environment variables as well as manually adding it both with ‘export’ on Bash and in ‘~/.bashrc’ but neither seem to work. Also anything I do is reset every time the system rebuilds so I’m wondering if there’s anything I can do that will fix this issue and be permanent.
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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello,
If you are talking about a Droplet rather than App platform, you can use the full system path. Once you are inside your Droplet type in :
As for an App platform, this might not be the prettiest solution but I managed to do this with a
run_command
and downloading ffmpeg manually and adding it to the path in line.You can probably do this in a script
setup.sh
or similar but for simplicties sake I did it with the sample-php app and inline with the command that starts it.Here was my
run_command
:The instructions on how to install I found here: https://gist.github.com/jmsaavedra/62bbcd20d40bcddf27ac
and I had to modify them because the link presented in the gist 404’ed. I found the links to download ffmpeg from: https://ffmpeg.org/download.html
Which when you click the static binaries it redirects you to https://johnvansickle.com/ffmpeg/.