转载http://www.redips.net/linux/yum-install-mplayer-fedora12/
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?
- # 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:
- 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.
- 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):
- mplayer-gui -> Preferences -> Video -> xv
Cheers!
我一般都是装smplayer,是mplayer的前端,比mplayer-gui好用多了
yum install smplayer