This text refer to http://fedora.linuxsir.org/main/src.spec.html
MPLAYER rpm can be downloaded here: http://rpmfusion.org/
========================================================== ==========
Four steps in total! <Br/> 1. Download the source RPM from: <br/> # wget http://download1.rpmfusion.org/free/fedora/releases/13/Everything/source/SRPMS/mplayer-1.0-0.116.20100424svn.fc13.src.rpm <br/> 2. Pre-installation, in fact, is to extract the package, this package is decompressed ~ /Rpmbulid. <br/> $ sudo rpm-IVH mplmplayer-1.0-0.116.20100424svn.fc13.src.rpm <br/> 3. use the installation script mplayer. spec automatically compiles the desired mplayer. rpm <br/> $ Cd ~ /Rpmbuild/specs/<br/> $ sudo rpmbuild-Ba mplayer. spec <br/> Note:-Ba build binary and source packages <br/> 4. the compiled rpm is in ~ /Rpmbuild/RPMS/i386. Now we will install it! <Br/> $ LS ~ /Rpmbuild/RPMS/i386/; Cd ~ /Rpmbuild/RPMS/i386/<br/> mencoder-1.0-0.116.20100424svn.fc13.i386.rpm <br/> mplayer-1.0-0.116.20100424svn.fc13.i386.rpm <br/> mplayer-common-1.0-0.116.20100424svn.fc13.i386.rpm <br/> mplayer-doc-1.0-0.116.20100424svn.fc13.i386.rpm <br/> mplayer-gui-1.0-0.116.20100424svn.fc13.i386.rpm <br/> mplayer-tools-1.0-0.116.20100424svn.fc13.i386.rpm <br/>/> $ sudo rpm-IVH mencoder-1.0-0.116.20100424svn.fc13.i386.rp M mplayer-1.0-0.116.20100424svn.fc13.i386.rpm mplayer-common-1.0-0.116.20100424svn.fc13.i386.rpm mplayer-doc-1.0-0.116.20100424svn.fc13.i386.rpm mplayer-gui-1.0-0.116.20100424svn.fc13.i386.rpm mplayer-tools-1.0-0.116.20100424svn.fc13.i386.rpm <br/> [Sudo] password for ahui: <br/> preparing... ######################################## ### [100%] <br/> 1: mplayer-common ################################## ######### [17%] <br/> 2: mplayer-Doc ##################################### ###### [33%] <br/> 3: mencoder ####################################### #### [50%] <br/> 4: mplayer ####################################### #### [67%] <br/> 5: mplayer-Gui ##################################### ###### [83%] <br/> 6: mplayer-tools ##################################### ###### [100%] <br/> ======================== = ====================< Br/> many dependency problems may occur during the installation process. Here I will explain my experience, for example, if you are prompted to depend on pulseaudio-libs-devel <br/> 1. use Yum install ***. We recommend that you first use this command to search for: Yum search *** <br/>. Search for the corresponding package through the network, for example, get *. rpm. We recommend that you use Yum to install the local RPM package, which will help you solve a lot of dependency problems: <br/> Yum localinstall VirtualBox-3.1-3.1.0_55467_fedora12-1.i686.rpm <br/> 2. 2. if the above command does not support GPG detection. <Br/> Yum localinstall VirtualBox-3.1-3.1.0_55467_fedora12-1.i686.rpm -- nogpgcheck <br/> 3. Sometimes we cannot find the corresponding package, such as no *. So. In this case, if you install certain rpm, this * is included *. so. then we will install this RPM directly. <br/> here are a few good places to search for RPM: <br/> http://rpm.pbone.net/http://fr2.rpmfind.net/Google <br/>
========================================================== ==========================================
The following content is for reference only:
1. You may encounter a problem where you cannot play a video.
Modify: vim ~ /Mplayer/gui. conf # Use text editing tools such as gedit and nano.
Find the related candidate and set it
Vo_driver = "x11"
2 cocould not open required directshow codec wmvdmod. dll
This is because wmv9dmod. dll is missing. I have provided this file in the package and copied it to the following directory:
Sudo mv wmv9dmod. dll/usr/lib/codecs/
3 others:
Sudo cp drv43260.dll drvc. dll/usr/lib/codecs/
Finally, if you think the default Interface of mplayer is poor, you can download other skins or use kmplayer to indirectly call MPLAYER:
Sudo Yum install kmplayer