How to install FFmpeg and LAME on Mac OS X Leopard from source
(Thanks to Peter Boling for these instructions.)
To install FFmpeg, first we should install 7 media libraries to make our experience with FFmpeg smooth, 4 of which play nicely with the standard Linux installation process of ./configure, make, and sudo make install, and 3 libraries that don’t play as nicely, but still work if we install them correctly for Mac.