How to install mplayer in Fedora Core

来源:互联网 发布:墨灿游戏 知乎 编辑:程序博客网 时间:2024/05/16 14:17

Before mplayer-gui installation in Fedora Core 12, you will have to add RPM Fusion repositories. After that, yum will resolve all dependencies and mplayer will be installed in a minute.

How to add RPM Fusion repositories?

# add RPM Fusion repository with the rpm command
rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

If you have proxy problems, please use --httpproxy switch in rpm command. If you still have problems, you can manually downloadfree and nonfree repositories and then install them from the local directory:

rpm -Uvh rpmfusion-free-release-stable.noarch.rpm rpmfusion-nonfree-release-stable.noarch.rpm

Detailed information about configuring RPM Fusion repositories can be found at http://rpmfusion.org/Configuration page. Finally, Fedora Core 12 is ready for mplayer-guixine or vlc installation.

yuminstallmplayer-gui
yuminstallxine
yuminstallvlc

And small issue before the end. Instead of playing AVI, mplayer gave me the following message:

Error opening/initializing the selected video_out (-vo) device

The solution was to change output video device in mplayer-gui to xvgl, ... (depends on your video hardware but in general, xv should work):

mplayer-gui -> Preferences -> Video -> xv

Cheers!

原创粉丝点击