heroku-buildpack-ffmpeg-latest icon indicating copy to clipboard operation
heroku-buildpack-ffmpeg-latest copied to clipboard

Read FFMPEG_DOWNLOAD_URL env var

Open nmfm opened this issue 3 years ago • 2 comments

The documentation mentions that we can set a custom download URL by setting the variable FFMPEG_DOWNLOAD_URL.

However, the config variable is being ignored, because the application config vars are passed to the buildpack as an argument, not set in the environment.

nmfm avatar Oct 27 '21 10:10 nmfm

Just wanted to confirm that:

heroku config:set FFMPEG_DOWNLOAD_URL=https://www.johnvansickle.com/ffmpeg/old-releases/ffmpeg-4.4.1-amd64-static.tar.xz

does not work as expected.

Still getting this when deploying the app:

remote:        Variable FFMPEG_DOWNLOAD_URL isn't set, using default value
remote:        Downloading https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-amd64-static.tar.xz

That's even though, if I heroku run bash then echo $FFMPEG_DOWNLOAD_URL, I can see the value did get set:

https://www.johnvansickle.com/ffmpeg/old-releases/ffmpeg-4.4.1-amd64-static.tar.xz

Until this is fixed, is there another way to set the ffmpeg version to be used by the buildpack?

fabswt avatar Jul 22 '22 07:07 fabswt

You could try using the buildpack from my fork (https://github.com/nmfm/heroku-buildpack-ffmpeg-latest), as a temporary fix until the issue is corrected in the official repo...

nmfm avatar Aug 13 '22 14:08 nmfm