Last active
August 20, 2016 13:19
-
-
Save hexvolt/ac95f7a50b6f3a7b5dca27de5145e3b2 to your computer and use it in GitHub Desktop.
Compile and install ffmpeg on Rapberry (Jessie)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Get the dependencies: | |
sudo apt-get update | |
sudo apt-get -y install autoconf automake build-essential libass-dev libfreetype6-dev libtheora-dev libtool libvorbis-dev pkg-config texinfo texi2html zlib1g-dev libmp3lame-dev libx264-dev yasm git sudo apt-get install libopus-dev | |
mkdir ~/ffmpeg_sources | |
2. Get and install libvpx (required to make ffmpeg support .webm format) | |
cd ~/ffpeg_sources | |
git clone https://github.com/webmproject/libvpx.git | |
cd libvpx | |
./confnigure --disable-examples --disable-unit-tests | |
make | |
sudo make install | |
make clean | |
3. Get and install ffmpeg | |
Preferable to build ffpmeg from the sources in order to compile it specifically for ARMv7 Raspberry platform | |
cd ~/ffmpeg_sources | |
git clone git://source.ffmpeg.org/ffmpeg.git | |
cd ffmpeg | |
./configure --enable-libfreetype --enable-gpl --enable-nonfree --enable-libx264 --enable-libass --enable-libmp3lame --enable-libtheora --enable-libopus --enable-libvorbis --enable-libvpx --bindir="/usr/local/bin" | |
make | |
sudo make install | |
make clean | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment