front › Forums › Busy Software Development and Hacking › dev › How to install ffmpeg in Debian 8 Jessie
- This topic has 0 replies, 1 voice, and was last updated 6 years ago by Kate.
- AuthorPosts
- 2019-01-20 at 11:52 #546KateKeymaster
How to install ffmpeg package in Debian 8 Jessie?
Option 1
Install ffmpeg from deb-multimedia.org
To install ffmpeg, edit /etc/apt/sources.list and add the appropriate line for your distribution as listed here:
http://www.deb-multimedia.org/
To add debian testing, either manually edit the file or run..
Example for debian testing only:
sudo echo deb http://www.deb-multimedia.org testing main non-free \
>>/etc/apt/sources.list
After adding the line for deb-multimedia, update the package, add the keyring, and install ffmpeg.
sudo apt-get update
sudo apt-get install deb-multimedia-keyring
sudo apt-get update
sudo apt-get install ffmpeg
You will have to install the keyring as an unauthenticated package using this method.Option 2
Install ffmpeg from source
Alternatively, you can install from source. This is how to create a .deb file using checkinstall which can then be uninstalled again. Install these packages, yasm or nasm is needed for ffmpeg specifically, the others are generally useful for building packages:sudo apt-get install yasm nasm \ build-essential automake autoconf \ libtool pkg-config libcurl4-openssl-dev \ intltool libxml2-dev libgtk2.0-dev \ libnotify-dev libglib2.0-dev libevent-dev \ checkinstall
Next, clone the ffmpeg package or download the latest snapshot:
git clone git://git.videolan.org/ffmpeg.git
or
wget https://www.ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
tar jxvf ffmpeg-snapshot.tar.bz2
Compile ffmpeg:
cd ffmpeg
./configure --prefix=/usr
time make -j 8
cat RELEASE
sudo checkinstall
Most of the checkinstall defaults are fine, but a version number is required. The current version is displayed by “cat RELEASE”. This should create a deb file in the current directory.
Finally, install the deb file you made using dpkg:
sudo dpkg --install ffmpeg_*.deb
- AuthorPosts
- You must be logged in to reply to this topic.