Skip to content

Commit

Permalink
Recommend official Heroku buildpack
Browse files Browse the repository at this point in the history
The heroku/heroku-buildpack-activestorage-preview buildpack is officially supported, and has builds of ffmpeg that dynamically link against libraries on the stack images, resulting in much smaller slug sizes.

Sort-of addresses jonathanong#71
  • Loading branch information
dzuelke committed Aug 22, 2023
1 parent 25e435c commit 747a710
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# :rotating_light: THIS BUILDPACK IS NO LONGER MAINTAINED :rotating_light:

This buildpack is [no longer maintained](https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest/issues/71#issuecomment-1687374864) by its original author.

# :rotating_light: USE [`heroku/heroku-buildpack-activestorage-preview`](https://github.com/heroku/heroku-buildpack-activestorage-preview) instead :rotating_light:

Heroku maintains an [official buildpack that installs `ffmpeg`](https://github.com/heroku/heroku-buildpack-activestorage-preview).

While its original purpose is to provide `ffmpeg`, as well as several PDF conversion programs, for users of Ruby on Rails, it can be used with any application and any programming language that requires the `ffmpeg` command-line program.

# heroku-buildpack-ffmpeg-latest

Push: [![Test](https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest/workflows/Test/badge.svg?branch=master&event=push)](https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest/actions?query=workflow%3ATest+event%3Apush+branch%3Amaster)
Expand Down
8 changes: 8 additions & 0 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ output() {
done
}

echo "WARNING: THIS BUILDPACK IS NO LONGER MAINTAINED"
echo "WARNING: USE OF OFFICIAL HEROKU BUILDPACK RECOMMENDED INSTEAD"
echo "" | output
echo "This buildpack is no longer maintained." | output
echo "You may use the following buildpack to install 'ffmpeg' in your app:" | output
echo "https://github.com/heroku/heroku-buildpack-activestorage-preview" | output
echo "" | output

header "Installing ffmpeg"

BUILD_DIR=${1:-}
Expand Down

0 comments on commit 747a710

Please sign in to comment.