The ffmpeg tool is a command line program that can be used to encode from one of many dozen codecs/formats into a similar number of other formats.

The libraries from the project are available for developers to use in their own programs to provide video codecs, formats, devices, filters, scaling, and post-processing.

Done Building dependency tree Reading state information... This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.

ubuntu updating ffmpeg codecs-16

The output is where you specify the filename that the converted video will go into.

Usually the extension of the filename (.mkv, .mp4, .avi, etc) will allow the program to determine what format the file will be written as, however if it is ambiguious or you want to use format that isn't tied to that file extension, you can use "-f" and the format name.

I found on the web that this PPA https://launchpad.net/~jon-severinsson/ archive/ffmpeg is the "official" one to install ffmpeg

I added the PPA to the with the command sudo apt-get install ffmpeg Reading package lists...

I would like to find out the easiest and safest way to install open CV.

I prepared a script one for each different distribution, included debian, and so I need to modify it accordingly.

You can simply download a Linux build of ffmpeg (just download, extract, and execute; no installing needed) or follow a step-by-step guide to compile ffmpeg.

Ok, my original problem is that I need to install open CV and as you know it requires ffmpeg.

Please find the download file for version $version at" echo " and update this script" exit 1 fi echo "Installing Open CV $, ffmpeg and zlib" mkdir Open CV cd Open CV echo "Removing any pre-installed ffmpeg and x264" sudo apt-get remove ffmpeg x264 libx264-dev echo "Installing Dependenices ffmpeg, codecs and zlib" if [ $(cat /etc/*-release | grep "DISTRIB_CODENAME=" | cut -d "=" -f2) == 'trusty' ]; then sudo add-apt-repository 'deb trusty main' && sudo add-apt-repository 'deb saucy main' && sudo apt-get update fi sudo apt-get install libopencv-dev build-essential checkinstall cmake pkg-config yasm libtiff4-dev libjpeg-dev libjasper-dev libavcodec-dev libavformat-dev libswscale-dev libdc1394-22-dev libxine-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libv4l-dev python-dev python-numpy libtbb-dev libqt4-dev libgtk2.0-dev libfaac-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libtheora-dev libvorbis-dev libxvidcore-dev x264 v4l-utils ffmpeg unzip zlib1g-dev echo "Downloading Open CV" $version wget -O $downloadfile echo "Installing Open CV" $version echo $downloadfile | grep ".zip" if [ $?