#1 By: thanpolas, June 27th, 2014 13:53
I am rolling out an application that depends on node-fluent-ffmpeg which requires that ffmpeg is installed system wide.
I have an open issue at that repo with how they generally approach PaaS and SaaS with this system dependency and they prompted me to check their .travis.yml file which with the help of
sudo installs the ffmpeg library system wide...
How would i go about doing a similar operation on heroku environment?
#2 By: Jonathan Clem, June 27th, 2014 15:04
Your best place to start would probably be with an ffmpeg buildpack. You can use heroku-buildpack-multi to install multiple buildpacks: One for ffmpeg, and one for Node.
I won't link to an ffmpeg buildpack directly, because there are several and I haven't used or really looked at any of them. Googling "heroku ffmpeg buildpack" will turn up several results, though.
Using one of the ffmpeg buildpacks should result in ffmpeg being in your PATH and able to be used by the ffmpeg Node package you're using.
#3 By: thanpolas, June 28th, 2014 06:31
Thank you Jonathan!
That actually solved my problem and now I can happily extend my stay at Heroku!!
I have also documented the process on my practice repo.