After installing smplayer, Fedora19 encountered an error in & quot; Mplayer has finished unexpectedly. Exit code 127 & quot;

Source: Internet
Author: User

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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.