Automated scripts for installation of ffmpeg and its most popular libraries from source under Ubuntu and a detailed wiki containing a lot of hints and tricks for ffmpeg.
Why do you think that https://github.com/libass/libass is a good alternative to ffmpeg