

Sudo checkinstall -pkgname=libvpx -pkgversion="$(date +%Y%m%d%H%M)-git" -backup=no -default -deldoc=yesįinally, it’s time to download, compile and install ffmpeg. Sudo checkinstall -pkgname=lame-ffmpeg -pkgversion="3.98.4" -backup=no -default -deldoc=yesĪnother interesting encoding to be installed is the VP8 video. X264 enables for encoding video streams into the H.264/MPEG-4 AVC. Remember that, the option -j3 depends the numbers of cores or processors from your computer. Sudo checkinstall -pkgname=x264 -default -pkgversion="3:$(./version.sh | awk -F'' '/POINT/')" -backup=no -deldoc=yes In this post we will compile the latest ffmpeg and x264 version, so let’s donwload x264 from git and compile it. The command above will remove the libmp3lame-dev to avoid conflict and install the dependencies to compile ffmpeg and to enable the encoding. Sudo apt-get install quilt libsdl1.2-dev libogg-dev libvorbis-dev liba52-dev libdts-dev libimlib2-dev texi2html libraw1394-dev libdc1394-22-dev libtheora-dev libgsm1-dev libxvidcore-dev libfaac-dev libfaad-dev build-essential git-core checkinstall yasm texi2html libopencore-amrnb-dev libopencore-amrwb-dev libtheora-dev libvorbis-dev libx11-dev libxfixes-dev zlib1g-dev nasm Sudo apt-get remove libmp3lame-dev ffmpeg So, to enable them, we need to compile it When you installed it from repository, it does not come with some encodes enabled like x264, vorbis and between others. and encoding formats like MPEG, DivX, MPEG4, etc. It provide support for most existing file formats like AVI, MPEG, OGG, etc. Today we will see a excellent software that permit us to manipulate audio and videos files.įFmpeg is a free software that permit us to record, convert and stream audio and video. Here is the list of the FFmpeg basic command options used with FFmpeg command-line tool.Hello folks.

sudo apt-get updateĪfter successfully install FFmpeg, let’s check the version installed on the system. This will also install many packages for the dependencies. Step 2 – Install FFmpeg on UbuntuĪfter enabling the PPA, Lets exec below commands to install ffmpeg on Ubuntu system. This PPA contains packages for Ubuntu 18.04 (Bionic) and 16.04 LTS (Xenial) only. sudo add-apt-repository ppa:jonathonf/ffmpeg-4 Execute below command to add FFmpeg PPA on Ubuntu system. To install the latest version, you need to configure PPA on your system. Step 1 – Setup FFmpeg PPAįFmpeg 4 is the latest available version for installation on Ubuntu. This tutorial will help you to install FFmpeg on Ubuntu 18.04 LTS & 16.04 LTS systems with easy steps. FFmpeg includes libavcodec audio/video codec library in it. It’s also useful to convert multimedia files between various formats. FFmpeg is a cross-platform solution for streaming audio and video as well as recording and conversion.
