Perfect install of ffmpeg on Ubuntu 8.04 Hardy

Finally I’ve managed to “find out” how to install ffmpeg converting tool with needed codecs that supports video conversation with sound.

Now days you can install ffmpeg as a php module directly from aptitute (synaptic or apt-get) so no compiling is needed. 

At command line just run:

sudo apt-get install php5-ffmpeg

Edit sources-list:

sudo nano /etc/apt/sources.list

And add the following line at the bottom of the file:

deb https://packages.medibuntu.org/ hardy free non-free

Retrieve then gpg keys:

wget -q https://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update

Install dependecies:

sudo apt-get install libavcodec1d libavformat1d libavutil1d libc6 libfreetype6 libimlib2 libsdl1.2debian libswscale1d libfaad0

I hope this tutorial helped you. 
If yes, please share with others – use social links below. 

Thank you.