我们如何在heroku上安装FFMPEG for Ruby app?

时间:2021-05-14 20:41:25

I am trying to install FFMPEG for a Ruby app(Web framework- Sinatra) on Heroku. I have tried heroku-buildpack-multi (github.com/ddollar/heroku-buildpack-multi.git) plugin, but seems it's stopped working from Jan 01,2017 as it threw error with same message. I followed steps from this link https://elements.heroku.com/buildpacks/jonathanong/heroku-buildpack-ffmpeg

我正在尝试在Heroku上为Ruby应用程序(Web框架 - Sinatra)安装FFMPEG。我已经尝试过heroku-buildpack-multi(github.com/ddollar/heroku-buildpack-multi.git)插件,但似乎它从2017年1月1日起停止工作,因为它丢失了同样的消息。我按照这个链接的步骤https://elements.heroku.com/buildpacks/jonathanong/heroku-buildpack-ffmpeg

There is not much information regarding FFMPEG installation on Heroku. Can any one suggest some solution?

关于Heroku上的FFMPEG安装的信息不多。任何人都能提出一些解决方案吗

Attaching error from heroku

从heroku附加错误

1 个解决方案

#1


0  

I am finally able to install FFMPEG for ruby app on Heroku using different buildpacks. In case someone faces similar issue, just add following buildpacks using Heroku CLI
heroku buildpacks:set heroku/ruby
heroku buildpacks:add --index 1 https://github.com/kontentcore/heroku-buildpack-ffmpeg

我终于可以使用不同的buildpack在Heroku上为ruby app安装FFMPEG。如果有人遇到类似的问题,只需使用Heroku CLI heroku buildpacks添加以下buildpack:设置heroku / ruby​​ heroku buildpacks:add --index 1 https://github.com/kontentcore/heroku-buildpack-ffmpeg

#1


0  

I am finally able to install FFMPEG for ruby app on Heroku using different buildpacks. In case someone faces similar issue, just add following buildpacks using Heroku CLI
heroku buildpacks:set heroku/ruby
heroku buildpacks:add --index 1 https://github.com/kontentcore/heroku-buildpack-ffmpeg

我终于可以使用不同的buildpack在Heroku上为ruby app安装FFMPEG。如果有人遇到类似的问题,只需使用Heroku CLI heroku buildpacks添加以下buildpack:设置heroku / ruby​​ heroku buildpacks:add --index 1 https://github.com/kontentcore/heroku-buildpack-ffmpeg