Skip to content
Install FFMPEG alongside your apps
Branch: master
Clone or download
Pull request Compare This branch is 1 commit ahead of Scalingo:master.
Latest commit 4708e9f Jan 14, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Update compile Jan 13, 2017
README.md

README.md

Buildpack for ffmpeg

This project is a Scalingo buildpack for using ffmpeg in your project.

It doesn't do anything else, you have to use it alongside another buildpack thanks to the mutli-buildpack.

This buildpack provides a static build of the 2.8 version of FFmpeg downloaded from https://www.ffmpeg.org/download.html

Usage

Setup the multi-buildpack

To use this buildpack, you should prepare .buildpacks file that contains this buildpack url and your real buildpack url.

$ cat .buildpacks
https://github.com/Scalingo/ffmpeg-buildpack.git
https://github.com/Scalingo/go-buildpack.git 

The first buildpack will install FFmpeg, the second will handle the deployment of your go application. For any other technology, go to http://doc.scalingo.com/buildpacks/

Setup your application configuration

$ scalingo env-set BUILDPACK_URL=https://github.com/Scalingo/multi-buildpack.git
$ git push scalingo master
...

You can verify installing ffmpeg by following command.

$ scalingo run "ffmpeg -version"

Need of ffprobe?

Define the following environment variable and we'll install the binary ffprobe alongside ffmpeg

WITH_FFPROBE=true

Do it through Scalingo's dashboard or with their command line tool:

scalingo env-set WITH_FFPROBE=true
You can’t perform that action at this time.