fedora 16 安装mplayer

You will have to add RPM Fusion and Livna repositories if you want to install mplayer with tools like yum and PackageKit. Livna repository can be added with the following commands:

# install Livna repository with the yum command
yum install livna
# or add Livna directly with the rpm command (use --httpproxy for proxy settings)
rpm -ivh http: //rpm .livna.org /livna-release .rpm

I couldn't find proxy switch for yum command, but proxy settings can be written to the /etc/yum.conf file. If you sit behind proxy, please add few lines to the yum.conf

# add proxy settings for yum
proxy=http: //your .proxy.name:1234
proxy_username=your_domain\your_username
proxy_password=your_password

Fedora Core 9 with Livna repository were enough to install mplayer or vlc, because Livna contained them. Recently Livna merged with RPM Fusion and almost all rpm packages moved from Livna to the RPM Fusion. To install mplayer in Fedora Core 10, you will have to add RPM Fusion repository too. You can find detailed instruction for RPM Fusion installation on http://rpmfusion.org/Configuration and there you will find the following commands:

# 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, try with --httpproxy. If you still have problems, you can manually download freeand nonfree repositories to the local directory, and then start rpm like:

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

Now Fedora Core 10 should be able to install rpm packages from the RPM Fusion repository and Livna repository. Don't forget to add proxy settings to the /etc/yum.conf if needed.

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  

Cheers!

我一般都是装smplayer,是mplayer的前端,比mplayer-gui好用多了
yum install smplayer


# install RPM packages
yum install mplayer-gui
yum install xine
yum install vlc
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值