Monday, November 23, 2015

Install FFMPEG from source, Debian Jessie

Debian FFMPEG instalation 

One day, my server Debian is upgraded to Jessie. Nice name but FFMPEG packages and Media repos are missing. This is not something special but i will be enthusiastic to have this script few days ago. Here is a script to download and make, install FFMPEG on linux Debian system from source.

Debian FFMPEG instalation 

You need to install some prerequisites.

sudo apt-get -y install git make nasm pkg-config libx264-dev libxext-dev libxfixes-dev zlib1g-dev

Download FFMPEG from the website

 sudo wget -O ffmpeg-2.8.tar.bz2 ""

Unzip and remove if you like

sudo tar -xvf ffmpeg-2.8.tar.bz2
sudo rm -Rf ffmpeg-2.8.tar.bz2 
Run configuretion in source Folder 

./configure --enable-nonfree --enable-gpl --enable-libx264 --enable-x11grab --enable-zlib

Note here. -J2 depends on your number of processor cores. If you have 20 cores intel machine. Lets Run make -j20 

make -j2

Install and configure FFMPEG sudo make install sudo ldconfig -v

1 comment: