Install the video player smplayer on CentOS
I found a problem during usage today. The previously playable rmvb file cannot be played. I remember that there was a decoded rpm package that was not installed. This time I installed it, OK, and I can play it again.
-- 2013.7.22
CentOS comes with a totem player, but it has limited functions. In the past two days, we can't play a video of wmv. We finally installed SMPlayer. In fact, mplayer is also good, but the interface is not very fond of it, install rpmforge. Here are the installation methods: http://www.ienter.org/html/2013/07/87.html
After installing the third-party source, you can install SMPlayer on the supervisor.
# yum install smplayer
It is quite easy to install, but after installation, only the sound can be played and there is no image. This should be a decoding problem. Now the mplayer decoder is installed. Here
Http://www.mplayerhq.hu/MPlayer/releases/codecs/
Here we have mplayer-codecs and mplayer-codecs-extra. All of them have been downloaded and I don't know the differences between them. I only installed the first one, after using it for a while, I found that I could not play rmvb. I tried to install the second one and then I could play it back. So install it all.
# rpm -ivh mplayer-codecs-20061022-1.i386.rpm
After the installation is complete, play the video with SMPlayer. It's okay.
After the installation, there are two systems. One is the built-in totem, and the other is the SMPlayer, Which is useless. Delete the first one directly.
[root@ienter Downloads]# yum remove totemLoaded plugins: fastestmirror, refresh-packagekit, securitySetting up Remove ProcessResolving Dependencies--> Running transaction check---> Package totem.i686 0:2.28.6-2.el6 will be erased--> Finished Dependency ResolutionDependencies Resolved================================================================================ Package Arch Version Repository Size================================================================================Removing: totem i686 2.28.6-2.el6 @base 7.7 MTransaction Summary================================================================================Remove 1 Package(s)Installed size: 7.7 MIs this ok [y/N]: yDownloading Packages:Running rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning Transaction Erasing : totem-2.28.6-2.el6.i686 1/1 Verifying : totem-2.28.6-2.el6.i686 1/1 Removed: totem.i686 0:2.28.6-2.el6 Complete!
OK. After deletion, only SMPlayer is available. It looks good and can be used normally.
A small problem was found during later use, that is, you can drag the video directly to firefox to play the video, but now the video cannot be played successfully, and you can view the error message, should it be firefox or the totem plug-in be called, and totem is deleted, resulting in unavailability. Here, you can open the first choice of firefox, select an application, and change all actions using the totem plug-in to "use SMPlayer, there is also a small problem in the use process, that is, it does not play in the firefox page, but directly calls the SMPlayer player to play in the player.