First download rpmforg. Download the corresponding version, that is, the corresponding centos version, and the 32-bit and 64-bit versions. The address is as follows:
Http://wiki.centos.org/AdditionalResources/Repositories/RPMForge
Or http://pkgs.repoforge.org/rpmforge-release/
I downloaded: rpmforge-release-0.5.3-1.el6.rf.i686.rpm, install
# Rpm-IVH rpmforge-release-0.5.3-1.el6.rf.i686.rpm
After installing the third-party source, you can install smplayer on the supervisor.
# Yum-y install smplayer
Then install the mplayer decoder. Otherwise, only the sound can be played and no image is displayed.
Http://www.mplayerhq.hu/MPlayer/releases/codecs/
Here mplayer-codecs and mplayer-codecs-extra are provided. Download them all and install them all.
# Rpm-IVH mplayer-codecs-20061022-1.i386.rpm
# Rpm-IVH mplayer-codecs-extra-20061022-1.i386.rpm
After the installation is complete, you can use smplayer to play the video.