- root> wget http://ffmpeg.mplayerhq.hu/ffmpeg-checkout-snapshot.tar.bz2
- root> tar xf ffmpeg-checkout-snapshot.tar.bz2
- Copy /root/Downloads/ffmpeg-checkout-snapshot dir to /usr/local/src/ffmpeg
- Goto the /usr/local/scr/ffmpeg directory
- do: root> ./configure --enable-libmp3lame --enable-pthreads --enable-shared
- Somehow through different builds the configure script does change a bit, so
it can be that certain options ar renamed or removed.
- root> make
- root> make install
- After a successfull install copy the /usr/local/src/ffmpeg/libavcodec/mpegaudio.h
to /usr/local/include/ffmpeg/
I've had quite some problems lately with building this library. It seems that lots of work is going into the configure
script. Latest i've seen is that i had to out-comment some lines in the /usr/include/linux/videodev2.h to get it to compile
lines 436 and 438 needed to be out-commented...
If you have to do a rebuild first do a "make distclean" and than configure, make, make install.....