Order matters, you're gonna want to install yasm first then all the libs before ffmpeg/mplayer. If you currently have an mplayer or ffmpeg package installed from another source I highly suggest you remove it first. Many slackbuilds for ffmpeg/mplayer tend to have different libs/projects bundled together and/or a different filename and can conflict.