I'm trying to get ffmpeg running on my server so I can use the PHP Video Toolkit successfully. I'm currently setting up my testing platform, which is a 32-bit Ubuntu 8.10 Intrepid Ibex Server.
Obviously, my first attempt was
apt-get install ffmpeg
But this pre-compiled version doesn't have libmp3lame or any AMR encoders/decoders and other codecs compiled in.
So I went down the "compiling from source" route. I grabbed the apt source and tried, got all the build-dep's for it and compiled. After an initial challenge (some constants not defined in the config.h), it still wouldn't build, problems relating to h263 encoding functions...
After much Googling with no solutions I tried compiling from the latest SVN/Git repos. But I just keep hitting errors. I can ./configure with all my options, but obviously certain dependencies need to be available (xvid, x264, libvorbis etc). Frustratingly I can't seem to get them to be recognised when "make-ing" these bleeding-edge revisions.
So my main question is: has anyone got ffmpeg working on Ubuntu? If so, how did you go about it?
I have tried following a number of tutorials. I can't post them all here yet (thanks to link limiting), but don't be surprised if you post a link to a tutorial and I've already given it a go.
I will be needing to replicate/adapt this method on my production server (which is a 64-bit Ubuntu 8.04 Hardy Server) so I can get this working there too!