Recently, when I used the fedora system, I could have used its own player because I needed a player. But I wanted to find a better player, so I browsed it online, I found a player named "smplayer". I wanted to install it on my Fedora19 system because I had a good rating in the linux community.
Because the Fedora system lacks the relevant source of the software after default installation, it cannot be installed even if common "yum install smplayer" is used. Therefore, we need to install the necessary source in the county.
I. install the Fedora source address (because I directly use the root user to log on to the system, the following commands can be executed directly. If not, run su-and then enter the password)
Rpm-ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
Rpm-ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
(In fact, the second command may not be needed, but I thought it was useless to use the second command because of the last problem, so I finally used it .)
2. Install smplayer and execute the command
Yum install smplayer
After the above installation is complete, enter smplayer on the terminal to start the software normally. However, when you start playing an audio or video file, "player has finished unexpectedly will appear. exit code 127 "error. I looked at the prompt in the terminal and found this error prompt.
"Debug: MplayerProcess: parseLine: '/usr/bin/mplayer: symbol lookup error:/lib/libavcodec. so.54: undefined symbol: vpx_codec_vp9_dx_algo '". I searched the internet and found that the vpx library was missing. So I installed the Library first and executed the following command:
Yum install libvpx
Of course, you can also use the rpm-qa | grep vpx command to check whether the library is installed in the system. I first used this command to check whether the system has been installed, however, the version is lower than what I want to install using the yum command, which may be a version problem. Therefore, I use the yum command above to install the latest version directly.
After the installation, check with rpm-qa | grep vpx, now is the libvpx-1.3.0-4 version, higher than the original system default installation. now, you can enter smplayer in the terminal to open the software and play the file. You can see that the player is ready for use!