首页 > Linux/Unix > How to install mplayer in Fedora Core 12

How to install mplayer in Fedora Core 12

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?

  1. # add RPM Fusion repository with the rpm command  
  2. rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm  
  3. rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm  
# 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 download free and nonfree repositories and then install them from the local directory:

  1. rpm -Uvh rpmfusion-free-release-stable.noarch.rpm rpmfusion-nonfree-release-stable.noarch.rpm  
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-gui, xine or vlc installation.

  1. yum install mplayer-gui  
  2. yum install xine  
  3. yum install vlc  
yum install mplayer-gui
yum install xine
yum install vlc

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 xv, gl, ... (depends on your video hardware but in general, xv should work):

  1. mplayer-gui -> Preferences -> Video -> xv  
mplayer-gui -> Preferences -> Video -> xv

Cheers!

评论: 0 查看次数: 462
  • 首页
0 0/0 页
  • 首页
0 0/0 页
发表评论
用户名:
密 码: 游客发言不需要密码.
验证码: 验证码
内 容:
选 项:
虽然发表评论不用注册,但是为了保护您的发言权,建议您注册帐号.
字数限制 500 字 | HTML代码允许 关闭 | 评论可修改 关闭