FFmpeg Buildpack

Purpose of This Buildpack

You may need to have the binary ffmpeg installed alongside your application, this buildpack will fit this need.

Set up This Buildpack for Your Application

This buildpack won’t work alone, you need to combine it with the buildpack of the technology you are using. To achieve that you need to make use of the Multi Buildpack.

You have to write a .buildpacks file with the reference to this buildpack and the one you want to use:


Add this file to your git repository:

git add .buildpacks
git commit -m "Setup .buildpacks to install ffmpeg alongside the application on Scalingo"

Deploy Your Application

git push scalingo master

Check Everything Is Working

$ scalingo run 'ffmpeg -version'

ffmpeg version 2.8-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.9.3 (Debian 4.9.3-4)
configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --enable-frei0r --enable-libfribidi --cc=gcc-4.9
libavutil      54. 31.100 / 54. 31.100
libavcodec     56. 60.100 / 56. 60.100
libavformat    56. 40.101 / 56. 40.101
libavdevice    56.  4.100 / 56.  4.100
libavfilter     5. 40.101 /  5. 40.101
libswscale      3.  1.101 /  3.  1.101
libswresample   1.  2.101 /  1.  2.101
libpostproc    53.  3.100 / 53.  3.100

You should see ffmpeg output.

Install ffprobe

If you also need to install the binary ffprobe, add the environment variable WITH_FFPROBE=true to your application and redeploy it.

mode_edit Suggest edits