yum -y install ffmpeg ffmpeg-devel mplayer mencoder flvtool2

When encoding mp3 for audio, the correct codec to use is libmp3lame.