1. Install RPMForge: http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

2. That’ll give you access to a repo to install ffmpeg

3. Then

yum install ffmpeg.i386

and

yum install ffmpeg-devel.i386