We have a build procedure for centOS 5 CentOS 5 Build FFmpeg with X264|CentOS 5 Build FFmpeg with X264