How to Use SMplayer to play WMV files in CentOS
CentOS 6.6 is installed and you want to use it on the desktop! After installation, other office software is installed. However, a problem occurs during video playback.
The SMplayer installed in the yum configuration can play other video files, that is, the video file of the WMV. Only the sound has no interface ......!!
Find a lot of documents. It turns out that you need to install the decoder of the WMV Video file to play the video. Use this document to write this article.
1. SMplayer installation command
Yum-y install mplayer smplayer
Yum-y install mplayer-gui mencode
2. Install the WMV Decoder
Download the decoder of the WMV file first, the download link is as follows: http://www.mplayerhq.hu/MPlayer/releases/codecs/
Open the link above and select download: all-20110131.tar.bz2
After the download is complete, decompress the file to the/usr/lib/codecs directory, copy the file in the all-20110131 directory, or move it to the/usr/lib/codecs directory.
Ensure that the dll files are under/usr/lib/codecs.
Move all files in the current file to the upper-level Directory: mv *../
After the preceding steps, the WMV file cannot be normally played, and the security policy needs to be changed.
3. Change the file security policy under the codecs directory
Run the following command to change the security policy of all files in the/usr/lib/codecs directory:
Chcon-t textrel_shlib_t/usr/lib/codecs /*
In this way, the WMV Video file can be played through SMplayer.
For more SMPlayer tutorials, see the following:
Install SMPlayer 16.4 open source player in Ubuntu
Solve the Problem of SMPlayer Subtitles garbled in Ubuntu 14.04
Install SMplayer 0.6.10-PPA source on Ubuntu
Install and use Mplayer in CentOS 5.5
Install Mplayer in Ubuntu 8.04 to watch wonderful movies.
Linux player-install MPlayer and SMPlayer in RedHat
Install the video player SMPlayer 14.3.0 on Ubuntu and its derivative versions.
SMPlayer details: click here
SMPlayer: click here